basic working

This commit is contained in:
2025-12-18 21:10:04 +08:00
parent dbb755c976
commit 170b161e30

View File

@@ -122,10 +122,10 @@ bool FdoSelectionManager::nativeEventFilter(const QByteArray &eventType, void *m
}
}
} else if (responseType == XCB_UNMAP_NOTIFY) {
const auto unmappedWId = reinterpret_cast<xcb_unmap_notify_event_t *>(ev)->window;
if (m_proxies.contains(unmappedWId)) {
undock(unmappedWId);
}
// const auto unmappedWId = reinterpret_cast<xcb_unmap_notify_event_t *>(ev)->window;
// if (m_proxies.contains(unmappedWId)) {
// undock(unmappedWId);
// }
} else if (responseType == XCB_DESTROY_NOTIFY) {
const auto destroyedWId = reinterpret_cast<xcb_destroy_notify_event_t *>(ev)->window;
if (m_proxies.contains(destroyedWId)) {