summaryrefslogtreecommitdiffstats
path: root/Gui/wm
diff options
context:
space:
mode:
Diffstat (limited to 'Gui/wm')
-rw-r--r--Gui/wm/ws.c6
-rw-r--r--Gui/wm/ws.h4
2 files changed, 6 insertions, 4 deletions
diff --git a/Gui/wm/ws.c b/Gui/wm/ws.c
index b269447ed6..c373508841 100644
--- a/Gui/wm/ws.c
+++ b/Gui/wm/ws.c
@@ -42,8 +42,8 @@ typedef struct
Atom wsMotifHints;
-unsigned int wsMaxX = 0; // Screen width.
-unsigned int wsMaxY = 0; // Screen height.
+int wsMaxX = 0; // Screen width.
+int wsMaxY = 0; // Screen height.
Display * wsDisplay;
int wsScreen;
@@ -103,11 +103,13 @@ inline int wsSearch( Window win );
void wsWindowDecoration( wsTWindow * win,long d )
{
+#if 0
MotifWmHints *hints = &wsMotifWmHints;
Atom type;
int format;
unsigned long nitems;
unsigned long bytes_after;
+#endif
wsMotifHints=XInternAtom( wsDisplay,"_MOTIF_WM_HINTS",0 );
if ( wsMotifHints == None ) return;
diff --git a/Gui/wm/ws.h b/Gui/wm/ws.h
index 27d99c41ab..ddbb3ea683 100644
--- a/Gui/wm/ws.h
+++ b/Gui/wm/ws.h
@@ -161,8 +161,8 @@ typedef struct
XColor wsColor;
} wsTWindow;
-extern unsigned int wsMaxX;
-extern unsigned int wsMaxY;
+extern int wsMaxX;
+extern int wsMaxY;
extern Display * wsDisplay;
extern int wsScreen;