diff options
author | 2015-12-19 16:24:51 +0100 | |
---|---|---|
committer | 2015-12-19 16:33:58 +0100 | |
commit | bc9b93f597fed421739e4d36379c288084504971 (patch) | |
tree | af201185678cc8bc5441181ea88d08694d020f8e /wayland | |
parent | Merge pull request #364 from cyberhuman/master (diff) | |
download | sway-bc9b93f597fed421739e4d36379c288084504971.tar.gz sway-bc9b93f597fed421739e4d36379c288084504971.tar.zst sway-bc9b93f597fed421739e4d36379c288084504971.zip |
swaybar: use select instead of busyloop
Use of busyloop caused high cpu usage for sway because swaybar had to be
redrawn all the time. By using select instead the bar only has to be
redrawn when the status_command changes (i.e. every second) or when the
workspaces are updated.
Fix #345
Diffstat (limited to 'wayland')
0 files changed, 0 insertions, 0 deletions