labwc/src
Johan Malm 579e532908 xdg-shell: protect against SIGABRT when TTY switching
Ensure we have got sensible toplevel width/height before trying to set
size on configure.

This protects against an edge case experienced when TTY switching between
labwc and Xfce running on XOrg on another TTY. It is not yet clear what
causes this, but hitting wlroots assert() is not great, so let's protect
against it.

Written-by: @Tamaranch

Fixes: #3608
2026-06-04 20:05:06 +01:00
..
common buf.c: fix -fanalyze warning 2026-05-05 20:31:47 +02:00
config Typo/style fixes in docs and code comments 2026-05-18 19:55:05 +01:00
cycle cycle.c: put common code in get_cycle_app_id 2026-05-07 04:42:11 +02:00
decorations decorations: fix accidental rename 2026-03-22 10:13:17 +01:00
foreign-toplevel toplevel-capture: partial initial implementation 2026-05-20 17:49:06 +01:00
img Typo/style fixes in docs and code comments 2026-05-18 19:55:05 +01:00
input menu: implement menu accelerators 2026-05-05 19:16:59 +01:00
menu Typo/style fixes in docs and code comments 2026-05-18 19:55:05 +01:00
scaled-buffer scaled-buffer: introduce scaled_font_buffer_update_markup() 2026-05-05 19:16:59 +01:00
ssd tree-wide: use rc.theme instead of server.theme 2026-03-22 10:16:42 +01:00
action.c Typo/style fixes in docs and code comments 2026-05-18 19:55:05 +01:00
buffer.c src: include primary header first 2025-07-29 21:51:56 +01:00
debug.c tree-wide: rename g_server to just server 2026-03-21 21:35:33 +00:00
desktop-entry.c tree-wide: rename g_server to just server 2026-03-21 21:35:33 +00:00
desktop.c desktop: only apply raise-on-focus delay to sloppy-focus 2026-04-28 20:33:09 +01:00
dnd.c tree-wide: rename seat->seat to seat->wlr_seat for clarity 2026-03-22 00:56:49 +01:00
edges.c tree-wide: rename g_server to just server 2026-03-21 21:35:33 +00:00
idle.c tree-wide: rename seat->seat to seat->wlr_seat for clarity 2026-03-22 00:56:49 +01:00
interactive.c interactive: allow resize on fully maximized views 2026-04-19 13:37:13 +01:00
layers.c tree-wide: rename seat->seat to seat->wlr_seat for clarity 2026-03-22 00:56:49 +01:00
magnifier.c tree-wide: use rc.theme instead of server.theme 2026-03-22 10:16:42 +01:00
main.c window-title: rewording, renaming, lint fixes 2026-05-16 14:36:51 +01:00
meson.build Add action ToggleShowDesktop 2026-04-13 21:59:09 +01:00
node.c Use "cycle" instead of "osd" across the codebase 2025-11-30 16:20:16 +09:00
output-state.c chase wlroots: Add support for HDR10 output 2026-05-07 15:21:34 +02:00
output-virtual.c tree-wide: rename g_server to just server 2026-03-21 21:35:33 +00:00
output.c window-title: cleaner string replace 2026-05-16 14:36:51 +01:00
overlay.c tree-wide: rename g_server to just server 2026-03-21 21:35:33 +00:00
placement.c tree-wide: rename g_server to just server 2026-03-21 21:35:33 +00:00
regions.c tree-wide: rename g_server to just server 2026-03-21 21:35:33 +00:00
resistance.c tree-wide: rename g_server to just server 2026-03-21 21:35:33 +00:00
resize-outlines.c tree-wide: use rc.theme instead of server.theme 2026-03-22 10:16:42 +01:00
seat.c Add onbutton scrollMethod, scrollButton 2026-04-27 20:55:55 +01:00
server.c toplevel-capture: partial initial implementation 2026-05-20 17:49:06 +01:00
session-lock.c tree-wide: rename g_server to just server 2026-03-21 21:35:33 +00:00
show-desktop.c Add action ToggleShowDesktop 2026-04-13 21:59:09 +01:00
snap-constraints.c src: remove unused #includes (via include-what-you-use) 2025-09-07 19:34:30 +09:00
snap.c common: add node-type.c/h (renaming ssd_part_type to lab_node_type) 2025-09-06 16:00:20 -04:00
tearing.c tree-wide: rename g_server to just server 2026-03-21 21:35:33 +00:00
theme.c Typo/style fixes in docs and code comments 2026-05-18 19:55:05 +01:00
view-impl-common.c tree-wide: rename g_server to just server 2026-03-21 21:35:33 +00:00
view.c toplevel-capture: partial initial implementation 2026-05-20 17:49:06 +01:00
window-rules.c Typo/style fixes in docs and code comments 2026-05-18 19:55:05 +01:00
workspaces.c Add action ToggleShowDesktop 2026-04-13 21:59:09 +01:00
xdg-popup.c toplevel-capture: partial initial implementation 2026-05-20 17:49:06 +01:00
xdg.c xdg-shell: protect against SIGABRT when TTY switching 2026-06-04 20:05:06 +01:00
xwayland-unmanaged.c tree-wide: rename seat->seat to seat->wlr_seat for clarity 2026-03-22 00:56:49 +01:00
xwayland.c toplevel-capture: partial initial implementation 2026-05-20 17:49:06 +01:00