[MPlayer-cvslog] r35781 - in trunk/gui/wm: ws.c ws.h

ib subversion at mplayerhq.hu
Fri Jan 18 18:24:55 CET 2013


Author: ib
Date: Fri Jan 18 18:24:54 2013
New Revision: 35781

Log:
Don't unnecessarily restrict property mask to 8 bits.

The corresponding wsWindow structure member already is type int.

Modified:
   trunk/gui/wm/ws.c
   trunk/gui/wm/ws.h

Modified: trunk/gui/wm/ws.c
==============================================================================
--- trunk/gui/wm/ws.c	Fri Jan 18 18:09:03 2013	(r35780)
+++ trunk/gui/wm/ws.c	Fri Jan 18 18:24:54 2013	(r35781)
@@ -832,7 +832,7 @@ Window LeaderWindow;
 //   c     : mouse cursor visible
 //   p     : properties - "decoration", visible titlebar, etc ...
 // ----------------------------------------------------------------------------------------------
-void wsWindowCreate(wsWindow *win, int x, int y, int w, int h, unsigned char p, int c, char *label)
+void wsWindowCreate(wsWindow *win, int x, int y, int w, int h, int p, int c, char *label)
 {
     int depth;
 

Modified: trunk/gui/wm/ws.h
==============================================================================
--- trunk/gui/wm/ws.h	Fri Jan 18 18:09:03 2013	(r35780)
+++ trunk/gui/wm/ws.h	Fri Jan 18 18:24:54 2013	(r35781)
@@ -178,7 +178,7 @@ void wsMouseAutohide(void);
 void wsEvent(XEvent *event);
 void wsEvents(void);
 
-void wsWindowCreate(wsWindow *win, int x, int y, int w, int h, unsigned char p, int c, char *label);
+void wsWindowCreate(wsWindow *win, int x, int y, int w, int h, int p, int c, char *label);
 void wsWindowDestroy(wsWindow *win);
 void wsWindowMove(wsWindow *win, Bool abs, int x, int y);
 void wsWindowMoveWithin(wsWindow *win, Bool abs, int x, int y);


More information about the MPlayer-cvslog mailing list