swayfx/sway/desktop
mwenzkowski 7c27d73b02 Check xdg_surface's role before using its toplevel
Don't access xdg_surface->toplevel if xdg_surface->role is equal to
WLR_XDG_SURFACE_ROLE_NONE, since this could lead to crash. The same
checks are added for xdg_surface_v6.

Fixes #3311
2019-01-28 16:14:35 +01: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 Fix dead stores found by scan-build 2019-01-22 10:12:04 -05:00
output.c Introduce container_is_scratchpad_hidden 2019-01-28 10:35:40 +01:00
render.c Introduce container_is_scratchpad_hidden 2019-01-28 10:35:40 +01:00
transaction.c Center surface inside container when it's too small 2019-01-28 01:17:21 -05:00
xdg_shell.c Check xdg_surface's role before using its toplevel 2019-01-28 16:14:35 +01: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