From 45bfc1d1c575bfc96f977c3ea84d6b1549420464 Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Sun, 29 Sep 2013 13:22:59 +0200 Subject: [PATCH] wmaker: Removed variable for X Context that is not used --- src/event.c | 2 -- src/main.c | 3 --- src/startup.c | 4 ---- src/workspace.c | 1 - 4 files changed, 10 deletions(-) diff --git a/src/event.c b/src/event.c index c4e8a8a7..b11df236 100644 --- a/src/event.c +++ b/src/event.c @@ -77,8 +77,6 @@ #include "switchmenu.h" /******** Global Variables **********/ -extern XContext wVEdgeContext; - extern WShortKey wKeyBindings[WKBD_LAST]; extern int wScreenCount; diff --git a/src/main.c b/src/main.c index 28536ea8..58623891 100644 --- a/src/main.c +++ b/src/main.c @@ -90,9 +90,6 @@ WDDomain *WDWindowMaker = NULL; WDDomain *WDWindowAttributes = NULL; WDDomain *WDRootMenu = NULL; -/* XContexts */ -XContext wVEdgeContext; - #ifdef SHAPE Bool wShapeSupported; int wShapeEventBase; diff --git a/src/startup.c b/src/startup.c index 56213e16..712d3f70 100644 --- a/src/startup.c +++ b/src/startup.c @@ -101,9 +101,6 @@ extern Bool wXkbSupported; extern int wXkbEventBase; #endif -/* contexts */ -extern XContext wVEdgeContext; - #ifndef HAVE_INOTIFY /* special flags */ extern char WDelayedActionSet; @@ -472,7 +469,6 @@ void StartUp(Bool defaultScreenOnly) w_global.context.client_win = XUniqueContext(); w_global.context.app_win = XUniqueContext(); w_global.context.stack = XUniqueContext(); - wVEdgeContext = XUniqueContext(); /* _XA_VERSION = XInternAtom(dpy, "VERSION", False); */ diff --git a/src/workspace.c b/src/workspace.c index bb75d6be..0b3d3d0f 100644 --- a/src/workspace.c +++ b/src/workspace.c @@ -60,7 +60,6 @@ #define WORKSPACE_NAME_DISPLAY_PADDING 32 extern int ignore_wks_change; -extern XContext wVEdgeContext; extern WShortKey wKeyBindings[WKBD_LAST]; static WMPropList *dWorkspaces = NULL;