aboutsummaryrefslogtreecommitdiffstats
path: root/include/swaybar
diff options
context:
space:
mode:
authorLibravatar Ian Fan <ianfan0@gmail.com>2018-12-07 12:39:35 +0000
committerLibravatar Ian Fan <ianfan0@gmail.com>2018-12-31 20:40:18 +0000
commit6becde024680503100c94702ed7d1fbf4d01576e (patch)
treeac261da8b9b0bde710ad819021ddfe542014d968 /include/swaybar
parentswaybar: implement tray rendering (diff)
downloadsway-6becde024680503100c94702ed7d1fbf4d01576e.tar.gz
sway-6becde024680503100c94702ed7d1fbf4d01576e.tar.zst
sway-6becde024680503100c94702ed7d1fbf4d01576e.zip
swaybar: implement mouse events for tray
Diffstat (limited to 'include/swaybar')
-rw-r--r--include/swaybar/bar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/swaybar/bar.h b/include/swaybar/bar.h
index ef27012d..ad942242 100644
--- a/include/swaybar/bar.h
+++ b/include/swaybar/bar.h
@@ -70,6 +70,8 @@ struct swaybar_output {
70 struct pool_buffer *current_buffer; 70 struct pool_buffer *current_buffer;
71 bool dirty; 71 bool dirty;
72 bool frame_scheduled; 72 bool frame_scheduled;
73
74 uint32_t output_height, output_width, output_x, output_y;
73}; 75};
74 76
75struct swaybar_workspace { 77struct swaybar_workspace {