labwc/include/config
tokyo4j 46ec513630 view: implement cascade placement policy
Adds following settings:
<placement>
  <policy>cascade</policy>
  <cascadeOffset x="40" y="30" />
</placement>

"Cascade" policy places a new window at the center of the screen like
"center" policy, but possibly shifts its position to bottom-right so the
new window doesn't cover existing windows.

The algorithm is copied from KWin's implementation:
df9f8f8346/src/placement.cpp (L589)

Also added some helper functions to manipulate `wlr_box`.
2024-07-20 08:59:46 +01:00
..
default-bindings.h Fix some header includes detected by clangd 2024-04-21 21:58:57 +02:00
keybind.h Add onRelease option to <keybind> 2024-06-09 21:15:58 +01:00
libinput.h Optimize the code based on the suggestions 2024-03-20 22:52:19 +00:00
mousebind.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
rcxml.h view: implement cascade placement policy 2024-07-20 08:59:46 +01:00
session.h Fix various typos across the codebase 2024-03-08 13:59:20 +01:00
tablet-tool.h config: add configuration for tablet tool motion 2024-07-19 22:45:41 +01:00
tablet.h input: move function to config 2024-01-22 21:50:18 +00:00
touch.h Fix some header includes detected by clangd 2024-04-21 21:58:57 +02:00