labwc/include
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
..
button button-png.c: s/png_load/button_png_load/ 2023-09-17 19:26:41 +01:00
common action: do not expand env vars in Exec action 2023-09-23 14:52:59 +01:00
config keybinds: add optional layoutDependent argument 2023-09-11 15:41:19 +02:00
menu src/menu/menu.c: support keyboard driven selection 2023-09-05 19:57:14 +01:00
action.h Restore SnapToEdge and MoveToEdge default keybinds 2023-08-06 10:37:36 +02:00
buffer.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
cursor.h dnd: refocus surface under cursor on drag-destroy 2023-05-28 22:17:29 +01:00
debug.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
decorations.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
dnd.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
idle.h Add support for ext_idle_notify_v1.. 2023-07-09 08:26:33 +01:00
key-state.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
labwc.h touch: store initial coordinate adjustments 2023-08-27 23:13:24 +02:00
layers.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
meson.build Make xwayland support optional 2020-12-30 10:29:21 +00:00
node.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
regions.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
resistance.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
resize_indicator.h Add window resize indicator 2023-08-19 18:37:16 +02:00
session-lock.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
ssd-internal.h Add ARRAY_SIZE() macro 2023-09-19 22:03:59 +01:00
ssd.h src/ssd: use view->ssd_titlebar_hidden for ssd_thickness calculations 2023-09-21 22:21:19 +01:00
theme.h theme: simplify loading of xbm buttons 2023-08-09 07:38:17 +01:00
view-impl-common.h view: make move_sub_views() use append_children method 2023-08-05 21:06:28 +02:00
view.h view: account for base size in resize indicator 2023-09-26 01:24:02 -04:00
window-rules.h window-rules: add ignoreFocusRequest property 2023-09-10 13:31:15 +02:00
workspaces.h action: support {Go,Send}ToDesktop 'wrap' option 2023-05-21 22:32:07 +02:00
xwayland.h view: account for base size in resize indicator 2023-09-26 01:24:02 -04:00