sway-patched-tray-menu-github/sway/desktop
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
..
desktop.c Move view {x,y,width,height} into container struct 2018-11-17 21:29:42 +10:00
idle_inhibit_v1.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
layer_shell.c Rebase cursor when a layer surface maps 2019-02-12 22:57:23 +01:00
output.c output_get_active_workspace: check workspaces length 2019-02-21 08:06:35 -05:00
render.c Introduce container_is_scratchpad_hidden 2019-01-28 10:35:40 +01:00
transaction.c Rebase cursor when a layer surface maps 2019-02-12 22:57:23 +01:00
xdg_shell.c Fix close_popups for xdg-shell 2019-02-05 22:31:05 -05:00
xdg_shell_v6.c Check xdg_surface's role before using its toplevel 2019-01-28 16:14:35 +01:00
xwayland.c Center surface inside container when it's too small 2019-01-28 01:17:21 -05:00