summaryrefslogtreecommitdiffstats
path: root/swaybar/main.c
diff options
context:
space:
mode:
authorLibravatar Ian Fan <ianfan0@gmail.com>2018-09-12 08:28:28 +0100
committerLibravatar Ian Fan <ianfan0@gmail.com>2018-09-12 08:28:28 +0100
commit2eaef802061836dd83bbf753174fcb8488b2d8cd (patch)
tree33fcd285cc70a6cea257b1f3b6d24121d340a270 /swaybar/main.c
parentMerge pull request #2620 from ianyfan/commands (diff)
downloadsway-2eaef802061836dd83bbf753174fcb8488b2d8cd.tar.gz
sway-2eaef802061836dd83bbf753174fcb8488b2d8cd.tar.zst
sway-2eaef802061836dd83bbf753174fcb8488b2d8cd.zip
i3bar: count references to blocks
This prevents blocks from being destroyed before their hotspots are destroyed, in case it is used for a pending click event that fires between the bar receiving a new status, which destroys the block, and the bar rendering the new status, which destroys the hotspot; this problem can be easily produced by scrolling on a block that immediately causes a new status to be sent, with multiple outputs
Diffstat (limited to 'swaybar/main.c')
0 files changed, 0 insertions, 0 deletions