diff --git a/CMakeLists.txt b/CMakeLists.txt index 4514336a..d93fae0e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,7 +48,6 @@ set(AWE_SRCS ${SOURCE_DIR}/mousegrabber.c ${SOURCE_DIR}/property.c ${SOURCE_DIR}/root.c - ${SOURCE_DIR}/screen.c ${SOURCE_DIR}/selection.c ${SOURCE_DIR}/spawn.c ${SOURCE_DIR}/stack.c @@ -71,6 +70,7 @@ set(AWE_SRCS ${SOURCE_DIR}/objects/drawable.c ${SOURCE_DIR}/objects/drawin.c ${SOURCE_DIR}/objects/key.c + ${SOURCE_DIR}/objects/screen.c ${SOURCE_DIR}/objects/tag.c ${SOURCE_DIR}/objects/timer.c ${SOURCE_DIR}/objects/window.c) diff --git a/awesome.c b/awesome.c index cb131e99..33ec50cf 100644 --- a/awesome.c +++ b/awesome.c @@ -39,13 +39,13 @@ #include "awesome.h" #include "spawn.h" #include "objects/client.h" +#include "objects/screen.h" #include "xwindow.h" #include "ewmh.h" #include "dbus.h" #include "systray.h" #include "event.h" #include "property.h" -#include "screen.h" #include "luaa.h" #include "common/version.h" #include "common/atoms.h" diff --git a/banning.c b/banning.c index c2075863..00e16541 100644 --- a/banning.c +++ b/banning.c @@ -20,8 +20,8 @@ */ #include "banning.h" +#include "objects/screen.h" #include "objects/tag.h" -#include "screen.h" /** Reban windows following current selected tags. * \param screen The screen to arrange. diff --git a/draw.c b/draw.c index 1a0e4d8f..f38e7781 100644 --- a/draw.c +++ b/draw.c @@ -32,8 +32,7 @@ #include #include "globalconf.h" -#include "screen.h" - +#include "objects/screen.h" #include "common/xutil.h" /** Convert text from any charset to UTF-8 using iconv. diff --git a/event.c b/event.c index 0592c3b5..27ff0479 100644 --- a/event.c +++ b/event.c @@ -39,7 +39,7 @@ #include "mousegrabber.h" #include "luaa.h" #include "systray.h" -#include "screen.h" +#include "objects/screen.h" #include "common/atoms.h" #include "common/xutil.h" diff --git a/ewmh.c b/ewmh.c index 817957db..042cf08c 100644 --- a/ewmh.c +++ b/ewmh.c @@ -26,9 +26,9 @@ #include #include "ewmh.h" -#include "objects/tag.h" -#include "screen.h" #include "objects/client.h" +#include "objects/screen.h" +#include "objects/tag.h" #include "luaa.h" #include "common/atoms.h" #include "common/buffer.h" diff --git a/luaa.c b/luaa.c index 8def66c7..a19fbf0d 100644 --- a/luaa.c +++ b/luaa.c @@ -40,7 +40,7 @@ #include "objects/client.h" #include "objects/drawin.h" #include "objects/drawable.h" -#include "screen.h" +#include "objects/screen.h" #include "event.h" #include "property.h" #include "selection.h" diff --git a/mouse.c b/mouse.c index 8caf05da..5bb7bfa1 100644 --- a/mouse.c +++ b/mouse.c @@ -20,7 +20,7 @@ */ #include "mouse.h" -#include "screen.h" +#include "objects/screen.h" #include "objects/client.h" #include "globalconf.h" #include "objects/drawin.h" diff --git a/objects/client.c b/objects/client.c index 0dda6a6f..8f639fb8 100644 --- a/objects/client.c +++ b/objects/client.c @@ -24,8 +24,8 @@ #include #include "objects/tag.h" +#include "objects/screen.h" #include "ewmh.h" -#include "screen.h" #include "systray.h" #include "property.h" #include "spawn.h" diff --git a/objects/drawin.c b/objects/drawin.c index 28ed1594..22fc3966 100644 --- a/objects/drawin.c +++ b/objects/drawin.c @@ -20,10 +20,9 @@ * */ -#include "screen.h" #include "drawin.h" #include "objects/client.h" -#include "screen.h" +#include "objects/screen.h" #include "xwindow.h" #include "luaa.h" #include "ewmh.h" diff --git a/screen.c b/objects/screen.c similarity index 99% rename from screen.c rename to objects/screen.c index b5716267..029a92ad 100644 --- a/screen.c +++ b/objects/screen.c @@ -25,11 +25,11 @@ #include #include -#include "screen.h" -#include "ewmh.h" +#include "objects/screen.h" #include "objects/tag.h" #include "objects/client.h" #include "objects/drawin.h" +#include "ewmh.h" #include "luaa.h" #include "common/xutil.h" diff --git a/screen.h b/objects/screen.h similarity index 100% rename from screen.h rename to objects/screen.h diff --git a/objects/window.c b/objects/window.c index 7e81bf23..8184dbd7 100644 --- a/objects/window.c +++ b/objects/window.c @@ -22,8 +22,8 @@ #include "luaa.h" #include "xwindow.h" #include "ewmh.h" -#include "screen.h" #include "property.h" +#include "objects/screen.h" #include "objects/window.h" #include "common/atoms.h" #include "common/luaobject.h" diff --git a/property.c b/property.c index 13c340ee..9b3d2649 100644 --- a/property.c +++ b/property.c @@ -21,11 +21,11 @@ #include -#include "screen.h" #include "property.h" -#include "objects/client.h" #include "ewmh.h" +#include "objects/client.h" #include "objects/drawin.h" +#include "objects/screen.h" #include "xwindow.h" #include "luaa.h" #include "common/atoms.h" diff --git a/spawn.c b/spawn.c index 01e255cc..d5e39396 100644 --- a/spawn.c +++ b/spawn.c @@ -27,7 +27,6 @@ #include #include "spawn.h" -#include "screen.h" #include "luaa.h" #include "event.h" diff --git a/stack.c b/stack.c index 42f25abd..3f21509f 100644 --- a/stack.c +++ b/stack.c @@ -20,7 +20,6 @@ */ #include "ewmh.h" -#include "screen.h" #include "stack.h" #include "objects/client.h" #include "objects/drawin.h" diff --git a/systray.c b/systray.c index 22a98c9e..e4824b5f 100644 --- a/systray.c +++ b/systray.c @@ -24,7 +24,6 @@ #include #include "luaa.h" -#include "screen.h" #include "systray.h" #include "xwindow.h" #include "common/array.h"