diff options
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/action.c | 1 | ||||
| -rw-r--r-- | openbox/menuframe.c | 2 | ||||
| -rw-r--r-- | openbox/stacking.c | 3 |
3 files changed, 4 insertions, 2 deletions
diff --git a/openbox/action.c b/openbox/action.c index 05a9e640..c0195dd8 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -29,6 +29,7 @@ #include "grab.h" #include "keyboard.h" #include "event.h" +#include "dock.h" #include "config.h" #include "mainloop.h" diff --git a/openbox/menuframe.c b/openbox/menuframe.c index 120f4c38..62a68ae9 100644 --- a/openbox/menuframe.c +++ b/openbox/menuframe.c @@ -23,6 +23,7 @@ #include "screen.h" #include "grab.h" #include "openbox.h" +#include "mainloop.h" #include "config.h" #include "render/theme.h" @@ -189,7 +190,6 @@ void menu_frame_move(ObMenuFrame *self, gint x, gint y) void menu_frame_move_on_screen(ObMenuFrame *self) { Rect *a = NULL; - guint i; gint dx = 0, dy = 0; gint pos, half; diff --git a/openbox/stacking.c b/openbox/stacking.c index 714d2a1c..bedc10c8 100644 --- a/openbox/stacking.c +++ b/openbox/stacking.c @@ -56,11 +56,12 @@ void stacking_set_list() static void do_restack(GList *wins, GList *before) { - GList *it, *next; + GList *it; Window *win; gint i; #ifdef DEBUG + GList *next; /* pls only restack stuff in the same layer at a time */ for (it = wins; it; it = next) { next = g_list_next(it); |
