From 360488ec18de3564ef29b5aad6d27ffbbb8995df Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sun, 16 Sep 2007 17:29:40 +0200 Subject: [PATCH] move netatom localy --- awesome.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/awesome.c b/awesome.c index 8c30c0876..d8968cc05 100644 --- a/awesome.c +++ b/awesome.c @@ -45,9 +45,6 @@ Client *sel = NULL; Client *stack = NULL; DC *dc; -enum { NetSupported, NetWMName, NetLast }; /* EWMH atoms */ -Atom netatom[NetWMName]; - /* static */ static int (*xerrorxlib) (Display *, XErrorEvent *); @@ -268,6 +265,8 @@ main(int argc, char *argv[]) awesome_config *awesomeconf; int shape_event, randr_event_base; int screen; + enum { NetSupported, NetWMName, NetLast }; /* EWMH atoms */ + Atom netatom[NetLast]; if(argc == 2 && !strcmp("-v", argv[1])) eprint("awesome-" VERSION " © 2007 Julien Danjou\n");