mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 01:45:58 +01:00
parent
76610d9fb0
commit
682865632f
1 changed files with 10 additions and 7 deletions
|
@ -153,13 +153,16 @@ static bool lookupParentExists(SP<CXWaylandSurface> XSURF, SP<CXWaylandSurface>
|
||||||
}
|
}
|
||||||
|
|
||||||
void CXWM::readProp(SP<CXWaylandSurface> XSURF, uint32_t atom, xcb_get_property_reply_t* reply) {
|
void CXWM::readProp(SP<CXWaylandSurface> XSURF, uint32_t atom, xcb_get_property_reply_t* reply) {
|
||||||
std::string propName = std::format("{}?", atom);
|
std::string propName;
|
||||||
for (auto& ha : HYPRATOMS) {
|
if (Debug::trace) {
|
||||||
if (ha.second != atom)
|
propName = std::format("{}?", atom);
|
||||||
continue;
|
for (auto& ha : HYPRATOMS) {
|
||||||
|
if (ha.second != atom)
|
||||||
|
continue;
|
||||||
|
|
||||||
propName = ha.first;
|
propName = ha.first;
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (atom == XCB_ATOM_WM_CLASS) {
|
if (atom == XCB_ATOM_WM_CLASS) {
|
||||||
|
@ -536,7 +539,7 @@ bool CXWM::handleSelectionPropertyNotify(xcb_property_notify_event_t* e) {
|
||||||
|
|
||||||
// Debug::log(ERR, "[xwm] FIXME: CXWM::handleSelectionPropertyNotify stub");
|
// Debug::log(ERR, "[xwm] FIXME: CXWM::handleSelectionPropertyNotify stub");
|
||||||
|
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CXWM::handleSelectionRequest(xcb_selection_request_event_t* e) {
|
void CXWM::handleSelectionRequest(xcb_selection_request_event_t* e) {
|
||||||
|
|
Loading…
Reference in a new issue