labwc/src
John Lindgren 3c45fcc0cb view: Anchor right/bottom edge only when resizing via top/left edge
Currently, we anchor the right/bottom edge of the view whenever the top/
left edge is moving (current.x/y != pending.x/y). Doing so doesn't make
much sense when the right/bottom edge is also moving. In that case it's
probably best to move the view (or at least its top/left corner)
directly to its final position.

The most noticeable effect of this change is with views that don't
accept their requested size exactly when tiled or maximized (examples:
havoc, xfce4-terminal). Previously, their right-bottom corner would be
aligned with the screen edge, leaving gaps on the left and top. Now the
top-left corner will be aligned and the gaps will be on the right and
bottom. This is still not ideal, but IMHO less surprising to the user.
2023-03-01 00:15:34 -05:00
..
common Enable more compiler warnings 2023-02-01 10:42:22 +01:00
config src/config/rcxml.c: allow clearing key/mouse bindings 2023-02-03 03:30:10 +01:00
menu menu: Compute usable area for the correct output 2023-02-09 00:33:56 -05:00
ssd ssd: Fix segfault when disabling output with fullscreen view 2023-02-15 03:09:21 -05:00
xbm Enable more compiler warnings 2023-02-01 10:42:22 +01:00
action.c view: Use wlr_box for current/pending geometry 2023-02-09 10:44:15 -05:00
buffer.c common: Add znew/znew_n() macros 2022-09-18 15:25:19 -04:00
cursor.c src/cursor.c: add cursor lock confinement 2023-02-24 21:32:25 +00:00
debug.c Enable more compiler warnings 2023-02-01 10:42:22 +01:00
desktop.c view: add move_to_front to struct view_impl 2023-02-24 20:42:01 +00:00
dnd.c cursor: Restore drag icon after the move to scene-graph 2022-10-17 21:22:12 +01:00
foreign.c output: Add output_is_usable() helper 2023-02-17 06:59:39 -05:00
interactive.c view: Use wlr_box for current/pending geometry 2023-02-09 10:44:15 -05:00
key-state.c Enable more compiler warnings 2023-02-01 10:42:22 +01:00
keyboard.c view: add move_to_front to struct view_impl 2023-02-24 20:42:01 +00:00
layers.c layer: improve keyboard-interactivity 2023-01-29 14:31:49 +00:00
main.c menu: Add generic menu_init() entry point 2022-12-06 21:08:43 +00:00
meson.build view: add move_to_front to struct view_impl 2023-02-24 20:42:01 +00:00
node.c common: Add znew/znew_n() macros 2022-09-18 15:25:19 -04:00
osd.c output: Add output_is_usable() helper 2023-02-17 06:59:39 -05:00
output.c output: Add output_nearest_to() 2023-02-21 08:46:22 +01:00
regions.c region: Add output pointer to struct region 2023-02-17 04:47:15 +01:00
resistance.c output: Add output_is_usable() helper 2023-02-17 06:59:39 -05:00
seat.c layer: improve keyboard-interactivity 2023-01-29 14:31:49 +00:00
server.c Add xdg-activation protocol 2023-02-10 20:51:29 +00:00
theme.c CodeStyle: prevent space in code indents 2023-01-31 21:22:40 +00:00
touch.c Chase wlroots: wlr_scene is now a tree node 2022-06-07 07:13:37 +01:00
view-impl-common.c view: Anchor right/bottom edge only when resizing via top/left edge 2023-03-01 00:15:34 -05:00
view.c Move common xdg/xwayland handle_destroy() code to view_destroy() 2023-02-24 22:56:00 +01:00
workspaces.c src/workspaces.c: prevent re-focus for always-on-top views 2022-12-29 18:58:25 +01:00
xdg-deco.c CodeStyle: prevent space in code indents 2023-01-31 21:22:40 +00:00
xdg-popup.c view: Use wlr_box for current/pending geometry 2023-02-09 10:44:15 -05:00
xdg.c view: Anchor right/bottom edge only when resizing via top/left edge 2023-03-01 00:15:34 -05:00
xwayland-unmanaged.c CodeStyle: prevent space in code indents 2023-01-31 21:22:40 +00:00
xwayland.c view: Anchor right/bottom edge only when resizing via top/left edge 2023-03-01 00:15:34 -05:00