summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 498029d..91ec293 100644
--- a/src/main.c
+++ b/src/main.c
@@ -68,8 +68,6 @@ int ignore_badwindow = 0;
char **myargv;
-XGCValues gv;
-
struct rp_key prefix_key;
struct modifier_info rp_modifier_info;
@@ -517,6 +515,8 @@ init_rat_cursor (screen_info *s)
static void
init_screen (screen_info *s, int screen_num)
{
+ XGCValues gv;
+
/* Select on some events on the root window, if this fails, then
there is already a WM running and the X Error handler will catch
it, terminating ratpoison. */