aboutsummaryrefslogtreecommitdiff
path: root/libLumina/LuminaX11.cpp
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-11-23 08:27:54 -0500
committerKen Moore <moorekou@gmail.com>2015-11-23 08:27:54 -0500
commitb3eeb75b78ad7c1597e6557f0da7097400fc8fe3 (patch)
treeed32ad9c0f60960c95ad027d813f56771a7687ce /libLumina/LuminaX11.cpp
parentFix a typo in the backend variable name for custom panel colors. (diff)
parentFix up the window minimization routines and the window margins for the embedd... (diff)
downloadlumina-b3eeb75b78ad7c1597e6557f0da7097400fc8fe3.tar.gz
lumina-b3eeb75b78ad7c1597e6557f0da7097400fc8fe3.tar.bz2
lumina-b3eeb75b78ad7c1597e6557f0da7097400fc8fe3.zip
Merge branch 'master' of github.com:pcbsd/lumina
Diffstat (limited to 'libLumina/LuminaX11.cpp')
-rw-r--r--libLumina/LuminaX11.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libLumina/LuminaX11.cpp b/libLumina/LuminaX11.cpp
index 6cbc670d..fea15a8f 100644
--- a/libLumina/LuminaX11.cpp
+++ b/libLumina/LuminaX11.cpp
@@ -1170,6 +1170,7 @@ bool LXCB::WM_ManageWindow(WId win, bool needsmap){
XCB_EVENT_MASK_STRUCTURE_NOTIFY | \
XCB_EVENT_MASK_FOCUS_CHANGE)
//return whether the window is/should be managed
+ if(WM_ICCCM_GetClass(win).isEmpty() ){ return false; }
xcb_get_window_attributes_cookie_t cookie = xcb_get_window_attributes(QX11Info::connection(), win);
xcb_get_window_attributes_reply_t *attr = xcb_get_window_attributes_reply(QX11Info::connection(), cookie, NULL);
if(attr == 0){ return false; } //could not get attributes of window
bgstack15