labwc/src/ssd
John Lindgren ce36cbac2d view: account for base size in resize indicator
For views with a non-pixel size increment (e.g. X11 terminals), it's
helpful to subtract the base size of the window (typically including
menu bar, scrollbars, etc.) before computing the number of size
increments (e.g. cells/characters). This way, the displayed size will
exactly match the terminal grid (e.g. 80x25 or whatever).

wlr_box isn't really the best fit for size hints, so let's define a
struct view_size_hints and a nice view_get_size_hints() function,
wrapping view->impl->get_size_hints().

This also seems like a great opportunity to make view_adjust_size()
window-system-agnostic and eliminate xwayland_apply_size_hints().
2023-09-26 01:24:02 -04:00
..
meson.build Add window resize indicator 2023-08-19 18:37:16 +02:00
resize_indicator.c view: account for base size in resize indicator 2023-09-26 01:24:02 -04:00
ssd.c src/ssd: use view->ssd_titlebar_hidden for ssd_thickness calculations 2023-09-21 22:21:19 +01:00
ssd_border.c src/ssd: ensure unround corners + disabled borders are set on reload 2023-08-25 15:54:22 +02:00
ssd_extents.c Add keepBorder <theme> option and enable it by default 2023-08-10 16:09:20 +02:00
ssd_part.c src/ssd: un-round corners on maximize 2023-08-25 11:34:52 +02:00
ssd_titlebar.c Add ARRAY_SIZE() macro 2023-09-19 22:03:59 +01:00