swayfx/sway
Brian Ashworth cd8b4ace92 fix opening a floating view on the NOOP output
Since the NOOP output has no size, the minimum floating size is greater
than the workspace size for the NOOP output. In this case, the floater
gets centered in the output instead of the workspace. However, the
NOOP output is not part of the output layout and thus has a NULL box.
Attempting to access the properties of this box was causing a segfault.

This fixes the issue by just setting the floater's box to all zeroes
when mapping on the NOOP output. When the workspace gets moved from the
NOOP output to a new output, any floater whose width or height is zero
or has an x or y location outside of the output, gets passed to
`container_init_floating` again. This will then set the appropriate
size and centering. For any floater that has a valid size and location,
they are preserved.
2019-03-23 23:39:42 +02:00
..
commands cmd_mode: allow cmd_set to be a subcommand 2019-03-23 08:07:25 +02:00
config config/output: handle wildcard in get_output_config 2019-03-17 18:05:27 +02:00
desktop Remove debug tree 2019-03-18 11:29:19 -04:00
input Support WLR_INPUT_DEVICE_SWITCH in sway 2019-03-19 23:58:47 -04:00
tree fix opening a floating view on the NOOP output 2019-03-23 23:39:42 +02:00
commands.c Support WLR_INPUT_DEVICE_SWITCH in sway 2019-03-19 23:58:47 -04:00
config.c Support WLR_INPUT_DEVICE_SWITCH in sway 2019-03-19 23:58:47 -04:00
criteria.c criteria: fix __focused__ when no focus or unset 2019-03-23 09:53:23 +02:00
decoration.c Fix double free when unmapping any view 2018-11-15 15:22:09 +10:00
ipc-json.c Support WLR_INPUT_DEVICE_SWITCH in sway 2019-03-19 23:58:47 -04:00
ipc-server.c ipc_has_event_listeners: fix inverted check of subscribed_events 2019-02-06 15:16:48 +01:00
main.c Remove debug tree 2019-03-18 11:29:19 -04:00
meson.build Support WLR_INPUT_DEVICE_SWITCH in sway 2019-03-19 23:58:47 -04:00
security.c Replace _XOPEN_SOURCE with _POSIX_C_SOURCE 2018-11-25 17:19:43 +01:00
server.c Set DISPLAY after initializing Xwayland 2019-03-04 21:16:00 +01:00
sway-bar.5.scd swaybar: add overlay mode (fix #1620) 2019-02-24 20:05:47 -05:00
sway-input.5.scd sway-input.5: document wildcard and identifier troubleshooting 2019-02-16 23:50:37 +01:00
sway-ipc.7.scd ipc: describe libinput device configuration 2019-03-07 08:41:19 -07:00
sway-output.5.scd Add output dpms to manpage 2019-02-27 16:33:03 -05:00
sway.1.scd Update language in sway.desktop & sway(1) 2019-03-10 15:09:52 -04:00
sway.5.scd cmd_mode: allow cmd_set to be a subcommand 2019-03-23 08:07:25 +02:00
swaynag.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
xdg_decoration.c view: set xdg_decoration->view to NULL, check decoration destroy 2019-02-23 03:03:03 -05:00