changeset 35687:6996700b8d1f

Don't unnecessarily restrict property mask to 8 bits. The corresponding wsWindow structure member already is type int.
author ib
date Fri, 18 Jan 2013 17:24:54 +0000
parents e56df184e118
children 6fd886ce32b9
files gui/wm/ws.c gui/wm/ws.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gui/wm/ws.c	Fri Jan 18 17:09:03 2013 +0000
+++ b/gui/wm/ws.c	Fri Jan 18 17:24:54 2013 +0000
@@ -832,7 +832,7 @@
 //   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;
 
--- a/gui/wm/ws.h	Fri Jan 18 17:09:03 2013 +0000
+++ b/gui/wm/ws.h	Fri Jan 18 17:24:54 2013 +0000
@@ -178,7 +178,7 @@
 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);