aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Calvin Lee <cyrus296@gmail.com>2017-10-31 12:42:08 -0600
committerLibravatar Calvin Lee <cyrus296@gmail.com>2017-12-29 12:11:51 -0700
commit5c8dc9cb73be8b3fde25475dbc3e5f931f73f642 (patch)
tree31f4530c20519dc052afa45e35192a1b3e2998df /include
parentReply in case of object path item (diff)
downloadsway-5c8dc9cb73be8b3fde25475dbc3e5f931f73f642.tar.gz
sway-5c8dc9cb73be8b3fde25475dbc3e5f931f73f642.tar.zst
sway-5c8dc9cb73be8b3fde25475dbc3e5f931f73f642.zip
Correct context menu placement if bar is bottom
Originally the context menu would draw at the top of the screen, which is incorrect.
Diffstat (limited to 'include')
-rw-r--r--include/swaybar/bar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/swaybar/bar.h b/include/swaybar/bar.h
index 50d36e76..6f2a7083 100644
--- a/include/swaybar/bar.h
+++ b/include/swaybar/bar.h
@@ -21,6 +21,7 @@ struct bar {
21struct output { 21struct output {
22 struct window *window; 22 struct window *window;
23 struct registry *registry; 23 struct registry *registry;
24 struct output_state *state;
24 list_t *workspaces; 25 list_t *workspaces;
25#ifdef ENABLE_TRAY 26#ifdef ENABLE_TRAY
26 list_t *items; 27 list_t *items;