sway-patched-tray-menu/sway
Brian Ashworth 03dfdb1edb output_get_active_workspace: check workspaces length
If an output's node was dirty and the transaction was committed before a
workspace was moved to or created for the output, the instruction would
have a bad value for `state->active_workspace` due to a missing
length check in `output_get_active_workspace`. If there was no focus on
the output, the first workspace was being returned. If the workspace
list was currently empty, the value was either garbage, or in the case of
an output being disabled and re-enabled, a workspace that may have been
previously freed. This just adds the length check to avoid returning out
of bounds value.
2019-02-21 08:06:35 -05:00
..
commands layout cmd: always operate on parent container, like i3Fixes #3724 2019-02-19 10:50:49 -05:00
config Don't use SOCK_CLOEXEC 2019-02-19 16:34:07 +01:00
desktop output_get_active_workspace: check workspaces length 2019-02-21 08:06:35 -05:00
input Fix drag icon map listener not removed 2019-02-18 13:19:58 +01:00
tree output_evacuate: call workspace_consider_destroy 2019-02-20 20:17:45 +01:00
commands.c Fix quote stripping 2019-02-05 07:15:25 -05:00
config.c Fix reload freeze when not modsetting current mode 2019-02-16 23:37:36 +01:00
criteria.c Revert "Add some missing frees." 2019-02-01 11:51:03 +00:00
debug-tree.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
decoration.c Fix double free when unmapping any view 2018-11-15 15:22:09 +10:00
ipc-json.c Add 'visible' key to view json response 2019-02-18 13:57:16 +01:00
ipc-server.c ipc_has_event_listeners: fix inverted check of subscribed_events 2019-02-06 15:16:48 +01:00
main.c Abort early when XDG_RUNTIME_DIR is not set 2019-02-11 10:11:41 +01:00
meson.build pointer_constraint: change to a seat subcommand 2019-01-31 22:58:52 -05:00
security.c Replace _XOPEN_SOURCE with _POSIX_C_SOURCE 2018-11-25 17:19:43 +01:00
server.c Add wp-primary-selection-unstable-v1 2019-02-20 11:16:05 +01:00
sway-bar.5.scd Updates for scdoc 1.8.1 2019-01-31 08:42:29 -05:00
sway-input.5.scd sway-input.5: document wildcard and identifier troubleshooting 2019-02-16 23:50:37 +01:00
sway-output.5.scd Document cursor moving between adjacent outputs 2019-01-28 21:36:48 -05:00
sway.1.scd Remove unnecessary underscores in man pages 2019-01-27 11:27:48 -05:00
sway.5.scd Use container under cursor for mouse bindings 2019-02-17 20:33:37 -05:00
swaynag.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
xdg_decoration.c Improve CSD logic 2018-09-27 22:51:37 +10:00