diff Gui/wm/ws.c @ 4465:b013d01d9968

small bugfixes, and kill other warning
author pontscho
date Fri, 01 Feb 2002 16:34:22 +0000
parents a97f908988ed
children 3b1721b9e211
line wrap: on
line diff
--- a/Gui/wm/ws.c	Fri Feb 01 13:45:06 2002 +0000
+++ b/Gui/wm/ws.c	Fri Feb 01 16:34:22 2002 +0000
@@ -42,8 +42,8 @@
 
 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 @@
 
 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;