labwc/include
John Lindgren 9021020f6e interactive: Refactor natural_geometry/tiled state handling
Currently, snapping to a screen edge and then snapping to maximize
results in both the natural_geometry and tiled state of the view
getting messed up. After unmaximize, the view ends up in a weird
state (tiled location but natural/untiled size).

There are also a couple of sketchy things going on in the code:

- interactive_begin() pokes its own values into view->natural_geometry
  to force view_maximize() to set a particular geometry.

- interactive_end() "fixes" view->natural_geometry after calling
  view_maximize() to save the original geometry from the start of the
  interactive move/resize.

To fix all this:

- Adjust/expand the API of view.c so that the interactive.c can
  avoid this "back door" of overwriting view->natural_geometry
  directly.

- Save the natural geometry and the tiled state of the view in
  interactive_begin() when starting to move the view.  When done,
  interactive_end() will update the tiled state if appropriate but
  *not* overwrite the natural geometry.
2022-11-20 20:45:50 +00:00
..
common Fix coding style 2022-11-03 23:01:52 +01:00
config Support smooth scroll and horizontal scroll 2022-11-15 21:57:36 +00:00
menu menu: support <separator /> 2022-06-25 14:56:35 +02:00
private action: Fix warning about freeing a (const char *) 2022-09-17 10:57:30 -04:00
xbm Prepare to move from wlr_texture to lab_data_buffer 2022-02-23 21:47:01 +00:00
action.h Fix coding style 2022-11-03 23:01:52 +01:00
buffer.h src/buffer: Automatically adapt to scale attribute 2022-06-14 22:03:08 +01:00
cursor.h cursor: Use enum for server set cursor names 2022-09-16 21:30:40 +01:00
debug.h Add debug_dump_scene() 2022-02-23 21:47:01 +00:00
dnd.h cursor: Restore drag icon after the move to scene-graph 2022-10-17 21:22:12 +01:00
key-state.h seat: only pass on sent keys on surface-focus 2022-09-21 21:25:13 +01:00
labwc.h interactive: Refactor natural_geometry/tiled state handling 2022-11-20 20:45:50 +00:00
layers.h Chase wlroots: every scene_node parent is now a tree 2022-06-07 07:13:37 +01:00
meson.build Make xwayland support optional 2020-12-30 10:29:21 +00:00
node.h src/ssd: Convert button node descriptors to struct ssd_button 2022-06-09 22:04:35 +01:00
resistance.h Add SPDX identifiers 2021-11-13 21:56:53 +00:00
ssd.h view/ssd: Refactor and fix visual indication for active windows 2022-08-27 06:58:20 +01:00
theme.h menu: support <separator /> 2022-06-25 14:56:35 +02:00
workspaces.h Fix coding style 2022-11-03 23:01:52 +01:00