sway-patched-tray-menu/sway
Ryan Dwyer 50f3a7ff5c Fix infinite loop when focusing sticky containers via workspace command
In a multi-output setup, if a sticky container is on one output and
focus is on the other output, and you run (eg) `workspace 1` to focus
the workspace containing the sticky container, an infinite loop would
occur. It would loop infinitely because it would remove the sticky
container from the workspace, add it back to the same workspace, and
then decrement the iterator variable.

The fix just wraps the loop in a workspace comparison.
2018-08-07 23:32:25 +10:00
..
commands Merge branch 'master' into workspace-move-to-output 2018-08-06 11:47:00 -04:00
config Reset signal mask after fork 2018-08-02 21:31:34 +10:00
desktop Handle views created after decoration mode is sent for xdg-shell-v6 2018-08-06 15:28:33 +01:00
input Fix crash when moving cursor over a fullscreen split container 2018-08-03 18:08:20 +10:00
tree Fix infinite loop when focusing sticky containers via workspace command 2018-08-07 23:32:25 +10:00
base64.c Rework get_clipboard implementation 2017-07-07 21:51:34 +02:00
commands.c Write to swaynag pipe fd directly on config errors 2018-08-03 10:37:35 -04:00
config.c Remove swaynag_clone and use memcpy 2018-08-03 10:40:09 -04:00
criteria.c commands: better type for con_id string length 2018-08-06 14:17:58 +01:00
debug-tree.c Add L_FLOATING back to debug tree 2018-06-01 23:14:58 +10:00
decoration.c Handle views created after decoration mode is sent for xdg-shell 2018-08-06 15:20:30 +01:00
ipc-json.c ipc: add window::mark event 2018-08-01 16:57:15 +01:00
ipc-server.c ipc: remove extraneous values 2018-08-01 16:57:15 +01:00
main.c Separate root-related code 2018-08-04 14:01:20 +10:00
meson.build Listen to server-decoration mode changes 2018-08-06 15:20:30 +01:00
security.c Add minimal config subsystem 2017-12-05 10:40:55 +01:00
server.c Handle views created after decoration mode is sent for xdg-shell 2018-08-06 15:20:30 +01:00
sway-bar.5.scd Add sway-bar(5) 2018-05-11 21:13:43 -04:00
sway-input.5.scd Escaping underscores in tap_button_map 2018-07-29 14:47:53 +02:00
sway.1.scd delete references to swaygrab 2018-07-30 16:24:46 +01:00
sway.5.scd commands: document <criteria> focus 2018-08-06 14:17:58 +01:00
swaynag.c Fix compiler errors. 2018-08-05 00:24:44 -07:00