changeset 35679:23183b261ca9

Remove unused structure member wGCV. Additionally, change parameters to XCreateGC() call, because no XGCValues are actually being set.
author ib
date Thu, 17 Jan 2013 18:01:06 +0000
parents 2261c68180a7
children eca669983e9a
files gui/wm/ws.c gui/wm/ws.h
diffstat 2 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gui/wm/ws.c	Thu Jan 17 17:41:44 2013 +0000
+++ b/gui/wm/ws.c	Thu Jan 17 18:01:06 2013 +0000
@@ -946,8 +946,8 @@
     XSetWMIconName(wsDisplay, win->WindowID, &wsTextProperty);
 
     win->wGC = XCreateGC(wsDisplay, win->WindowID,
-                         GCForeground | GCBackground,
-                         &win->wGCV);
+                         0,
+                         NULL);
 
     win->Visible = wsNo;
     win->Focused = wsNo;
--- a/gui/wm/ws.h	Thu Jan 17 17:41:44 2013 +0000
+++ b/gui/wm/ws.h	Thu Jan 17 18:01:06 2013 +0000
@@ -148,7 +148,6 @@
     unsigned short int *ImageDataw;
     unsigned int *ImageDatadw;
     GC wGC;
-    XGCValues wGCV;
     unsigned long WindowMask;
     XVisualInfo VisualInfo;
     XSetWindowAttributes WindowAttrib;