comparison 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
comparison
equal deleted inserted replaced
4464:89369725b561 4465:b013d01d9968
40 unsigned long status; 40 unsigned long status;
41 } MotifWmHints; 41 } MotifWmHints;
42 42
43 Atom wsMotifHints; 43 Atom wsMotifHints;
44 44
45 unsigned int wsMaxX = 0; // Screen width. 45 int wsMaxX = 0; // Screen width.
46 unsigned int wsMaxY = 0; // Screen height. 46 int wsMaxY = 0; // Screen height.
47 47
48 Display * wsDisplay; 48 Display * wsDisplay;
49 int wsScreen; 49 int wsScreen;
50 Window wsRootWin; 50 Window wsRootWin;
51 XEvent wsEvent; 51 XEvent wsEvent;
101 101
102 #define MWM_TEAROFF_WINDOW (1L<<0) 102 #define MWM_TEAROFF_WINDOW (1L<<0)
103 103
104 void wsWindowDecoration( wsTWindow * win,long d ) 104 void wsWindowDecoration( wsTWindow * win,long d )
105 { 105 {
106 #if 0
106 MotifWmHints *hints = &wsMotifWmHints; 107 MotifWmHints *hints = &wsMotifWmHints;
107 Atom type; 108 Atom type;
108 int format; 109 int format;
109 unsigned long nitems; 110 unsigned long nitems;
110 unsigned long bytes_after; 111 unsigned long bytes_after;
112 #endif
111 113
112 wsMotifHints=XInternAtom( wsDisplay,"_MOTIF_WM_HINTS",0 ); 114 wsMotifHints=XInternAtom( wsDisplay,"_MOTIF_WM_HINTS",0 );
113 if ( wsMotifHints == None ) return; 115 if ( wsMotifHints == None ) return;
114 116
115 #if 1 117 #if 1