Correct context menu placement if bar is bottom

Originally the context menu would draw at the top of the screen, which
is incorrect.
This commit is contained in:
Calvin Lee 2017-10-31 12:42:08 -06:00
parent 2f1eb30c38
commit 5c8dc9cb73
3 changed files with 8 additions and 1 deletions

View file

@ -21,6 +21,7 @@ struct bar {
struct output {
struct window *window;
struct registry *registry;
struct output_state *state;
list_t *workspaces;
#ifdef ENABLE_TRAY
list_t *items;