Commit graph

16 commits

Author SHA1 Message Date
4a0f6382b0
core/window: expose coordinate mapping functions on QsWindow 2025-05-29 22:42:14 -07:00
b67f92bc13
all: use BINDABLE only with trivial setters
Fixes various bugs caused by the QML engine bypassing setters
when BINDABLE is specified (even if the bindable is const).
Also restructures all properties using BINDABLE to have
a default READ and WRITE to ensure this doesn't happen again.
2025-05-29 16:08:39 -07:00
5ae8e4901a
core/window: move implicit width/height to bindable properties 2025-05-28 02:07:21 -07:00
e0cff677a5
wayland/layershell: refactor layer shell surface integration
In addition to the much needed cleanup:

- The bridge/extension type is now directly tied to the QWindow
instead of the WlrLayershell object, and is much smaller.
- Layer requests are now comitted via polish instead of for each
change individually.
2025-05-13 14:56:49 -07:00
6a8284dae3
core/window: add implicit size properties to window types 2025-05-12 19:42:46 -07:00
c6791cf1f2
core/window: fix screen assignments being completely broken 2025-01-22 20:13:29 -08:00
b336129c34
core/window: add QsWindow.devicePixelRatio 2025-01-22 03:33:46 -08:00
6464ead0f1
core/window: move input mask handling + commit scheduling to polish 2025-01-20 01:14:28 -08:00
f3b7171b25
core/window: allow explicit surface format selection 2025-01-04 03:04:41 -08:00
8882f7ca50
core/proxywindow: fix ProxiedWindow proxy pointer after reload
Previously was not updated after reload, causing QsWindowAttached to
use the old window pointer after it had been freed.
2024-11-29 00:11:56 -08:00
b6a79fe99c
core/proxywindow: improve QsWindowAttached robustness
Can now track window parent window changes.
Added tests.
2024-11-27 23:30:38 -08:00
a8901fde67
debug/lint: run lints on reload for visible windows 2024-11-22 17:55:45 -08:00
eb5a5b8b67
debug: run lints after window expose
Ensures items are at their final sizes before checking them,
fixing some false positives.
2024-11-19 15:58:55 -08:00
6ceee06884
debug: add lint for zero sized items 2024-11-19 15:25:42 -08:00
0dd19d4a18
core/proxywindow: remove blank frame when destroying window
Removes the blank frame caused by removing the content item from the
window. Fixes an issue with hyprland's window exit animations.
2024-11-12 04:35:42 -08:00
4e48c6eefb
all: refactor windows code out of core
There are still some links from core to window but its now separate
enough to fix PanelWindow in qml tooling.
2024-10-28 16:18:41 -07:00
Renamed from src/core/proxywindow.hpp (Browse further)