diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-01 16:34:22 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-01 16:34:22 +0000 |
commit | c6a2fbb7c1e457659d90496aa4c511bd7894e50e (patch) | |
tree | 725f4d68aadac99cc9e36ebf51ff723e78178f35 /Gui/wm | |
parent | ca0aea4c2d982e19ec3dc5f86178a83e4ac17e37 (diff) | |
download | mpv-c6a2fbb7c1e457659d90496aa4c511bd7894e50e.tar.bz2 mpv-c6a2fbb7c1e457659d90496aa4c511bd7894e50e.tar.xz |
small bugfixes, and kill other warning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4466 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/wm')
-rw-r--r-- | Gui/wm/ws.c | 6 | ||||
-rw-r--r-- | Gui/wm/ws.h | 4 |
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; |