[Mplayer-cvslog] CVS: main/Gui/wm ws.c,1.29,1.30 ws.h,1.9,1.10

Zoltan Ponekker pontscho at mplayer.dev.hu
Fri Feb 1 17:34:24 CET 2002


Update of /cvsroot/mplayer/main/Gui/wm
In directory mplayer:/var/tmp.root/cvs-serv5800/wm

Modified Files:
	ws.c ws.h 
Log Message:
small bugfixes, and kill other warning

Index: ws.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/wm/ws.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- ws.c	29 Jan 2002 20:39:48 -0000	1.29
+++ ws.c	1 Feb 2002 16:34:22 -0000	1.30
@@ -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;

Index: ws.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/wm/ws.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ws.h	12 Nov 2001 15:16:13 -0000	1.9
+++ ws.h	1 Feb 2002 16:34:22 -0000	1.10
@@ -161,8 +161,8 @@
  XColor               wsColor;
 } wsTWindow;
 
-extern unsigned int         wsMaxX;
-extern unsigned int         wsMaxY;
+extern int                  wsMaxX;
+extern int                  wsMaxY;
 
 extern Display            * wsDisplay;
 extern int                  wsScreen;




More information about the MPlayer-cvslog mailing list