waybar/src
ItsDrike 90f206f92a
Fix crash on quickly switching workspaces
The hyprland/window widget had an assertion ensuring that the output
from hyprctl matched the currently selected workspace id. However this
assertion fails if workspaces are switched too quickly, causing the
selected workspace to differ in id from the one in hyprctl, failing this
assertion which then crashes the entire program.

This fix simply changes this assertion into an if statement, and if a
mismatch is found, empty string is returned as the window name.
2022-10-18 18:36:00 +02:00
..
modules Fix crash on quickly switching workspaces 2022-10-18 18:36:00 +02:00
util utils: add sanitize_str to encode '&' etc. 2022-10-17 00:31:19 +02:00
AButton.cpp modules: Set style-context on button 2022-10-12 10:25:30 +02:00
AIconLabel.cpp refactor: disable icon by default 2022-03-10 09:48:50 +01:00
ALabel.cpp refactor: lint 2022-04-06 08:37:19 +02:00
AModule.cpp refactor: lint 2022-04-06 08:37:19 +02:00
bar.cpp fix: vertical bar not anchored when width is set 2022-05-25 16:09:21 +02:00
client.cpp fix: adapt to fmt 9.0.0 breaking changes 2022-07-13 22:36:32 -07:00
config.cpp Update config.cpp 2022-09-07 10:33:57 +02:00
factory.cpp Merge pull request #1701 from Dordovel/master 2022-10-18 09:01:00 +02:00
group.cpp refactor: lint 2022-04-06 08:37:19 +02:00
main.cpp refactor: lint 2022-04-06 08:37:19 +02:00