ecere/gui/drivers/XInterface: Enabling detecting state changes without nativeDecorations
authorJerome St-Louis <jerome@ecere.com>
Sat, 8 Feb 2014 14:15:54 +0000 (21:15 +0700)
committerJerome St-Louis <jerome@ecere.com>
Sun, 9 Feb 2014 03:39:29 +0000 (10:39 +0700)
ecere/src/gui/drivers/XInterface.ec

index 29d4547..8f85117 100644 (file)
@@ -1858,7 +1858,7 @@ class XInterface : Interface
                   while(XCheckIfEvent(xGlobalDisplay, (XEvent *)thisEvent, (void *)ConfigureNotifyChecker, (void *)window.windowHandle));
                   //if(event->x - desktopX != window.position.x || event->y - desktopY != window.position.y || event->width != window.size.w || event->height != window.size.h)
 
-                  if(window.nativeDecorations)
+                  if(atomsSupported[_net_wm_state]) //window.nativeDecorations)
                   {
                      int format;
                      unsigned long len, fill;