aboutsummaryrefslogtreecommitdiff
path: root/lumina-wm-INCOMPLETE/LWindow.h
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2016-04-25 11:22:07 -0400
committerKen Moore <moorekou@gmail.com>2016-04-25 11:22:07 -0400
commitba9680dae066300fcd8675894a9521b54ff0a126 (patch)
tree29f276185ee950b2d7c4be48b2e189778b86504e /lumina-wm-INCOMPLETE/LWindow.h
parentCommit a few random changes on my dev system - just to sync up with the repo. (diff)
parentGet some more of the new WM functional. Still not ready to be used by the fai... (diff)
downloadlumina-ba9680dae066300fcd8675894a9521b54ff0a126.tar.gz
lumina-ba9680dae066300fcd8675894a9521b54ff0a126.tar.bz2
lumina-ba9680dae066300fcd8675894a9521b54ff0a126.zip
Merge branch 'master' of github.com:pcbsd/lumina
Diffstat (limited to 'lumina-wm-INCOMPLETE/LWindow.h')
-rw-r--r--lumina-wm-INCOMPLETE/LWindow.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lumina-wm-INCOMPLETE/LWindow.h b/lumina-wm-INCOMPLETE/LWindow.h
index d2495467..ceefca83 100644
--- a/lumina-wm-INCOMPLETE/LWindow.h
+++ b/lumina-wm-INCOMPLETE/LWindow.h
@@ -80,9 +80,9 @@ private:
WId CID;
LWindowFrame *FID;
bool needsFrame(QList<LXCB::WINDOWTYPE> list){
- if(list.isEmpty()){ return true; } //assume a normal window (fallback)
+ if(list.isEmpty()){ return !LWM::SYSTEM->WM_ICCCM_GetClass(CID).contains("Lumina-DE"); } //assume a normal window (fallback)
return !(list.contains(LXCB::T_DESKTOP) || list.contains(LXCB::T_DOCK) || list.contains(LXCB::T_TOOLBAR) \
- || list.contains(LXCB::T_UTILITY) || list.contains(LXCB::T_SPLASH) || list.contains(LXCB::T_DROPDOWN_MENU) \
+ || list.contains(LXCB::T_SPLASH) || list.contains(LXCB::T_DROPDOWN_MENU) \
|| list.contains(LXCB::T_TOOLTIP) || list.contains(LXCB::T_POPUP_MENU) || list.contains(LXCB::T_TOOLTIP) \
|| list.contains(LXCB::T_COMBO) || list.contains(LXCB::T_DND) );
}
@@ -111,4 +111,4 @@ public:
LWindowFrame* frame(){ return FID; }
};
-#endif \ No newline at end of file
+#endif
bgstack15