aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LuminaX11.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/core/libLumina/LuminaX11.cpp')
-rw-r--r--src-qt5/core/libLumina/LuminaX11.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src-qt5/core/libLumina/LuminaX11.cpp b/src-qt5/core/libLumina/LuminaX11.cpp
index e9eb4b7c..7c4d1b45 100644
--- a/src-qt5/core/libLumina/LuminaX11.cpp
+++ b/src-qt5/core/libLumina/LuminaX11.cpp
@@ -1831,6 +1831,7 @@ int LXCB::WM_Get_Desktop(WId win){
void LXCB::WM_Set_Desktop(WId win, int num){
//use -1 to set it for all desktops
+ if(num<0){ num = 0; } //TEMPORARY FIX - Fluxbox does not like negative numbers any more?
xcb_ewmh_set_wm_desktop(&EWMH, win, (num<0 ? 0xFFFFFFFF : qAbs(num) ) );
}
bgstack15