cb2862eca9
wayland/toplevel_management: add ToplevelManager.activeToplevel
2024-07-31 23:10:08 -07:00
18563b1273
wayland/popupanchor: fix anchor state breaking show after reposition
...
If the popup was hidden and reposition was called to update qt's
initial positioning properties it would be cancelled by the dirty
marker being unset. This includes if the popup is shown or not into
its dirty state.
2024-07-27 02:28:21 -07:00
6b9b1fcb53
core/menu: add QsMenuAnchor for more control of platform menus
2024-07-25 20:44:26 -07:00
ebfa8ec448
core/popupanchor: rework popup anchoring and add PopupAnchor
2024-07-23 22:12:27 -07:00
a9e4720fae
docs: use new member reference shorthand
2024-07-21 17:41:49 -07:00
aa3f7daea2
wayland/platformmenu: fix flipped positions and submenu y positions
2024-07-19 02:55:38 -07:00
e9cacbd92d
all: use type/prop shorthand in docs
2024-07-14 16:17:51 -07:00
79cbfba48a
wayland/layershell: add warning that exclusive focus is not a lock
...
Apparently this needed to be said.
2024-07-11 22:32:21 -07:00
ec362637b8
service/tray!: redesign menus / dbusmenu and add native menu support
...
Reworks dbusmenu menus to be displayable with a system context menu.
Breaks the entire DBusMenu api.
2024-07-01 20:50:30 -07:00
72956185bd
wayland/lock: only update surfaces on screens changed if locked
...
Fixes crash when a WlSessionLock object exists but is unlocked and a
screen is added or removed.
2024-06-19 11:16:51 -07:00
3033cba52d
all: fix failing lints
2024-06-18 20:46:58 -07:00
8ec245ac66
wayland/lock: initialize lock content before starting lock
...
Reduces any chances of the compositor displaying a blank frame first.
2024-06-18 20:34:16 -07:00
ae762f5c6e
hyprland/ipc: ensure requests are flushed
2024-06-18 12:26:23 -07:00
d8b72b4c31
wayland/lock: notify on screen change
2024-06-13 16:25:07 -07:00
523de78796
wayland/layershell: ensure state changes are comitted without render
...
Previously they were not comitted and did not apply until the next
rendered frame.
2024-06-13 16:23:28 -07:00
b5b9c1f6c3
wayland/toplevel_management: add foreign toplevel management
2024-06-07 04:31:20 -07:00
5d1def3e49
hyprland/ipc: fix monitorFor returning null during HyprlandIpc init
2024-06-06 00:59:17 -07:00
bc349998df
hyprland/ipc: match by name in refreshMonitors instead of id
...
Was causing ghost/duplicate monitors from usages where the id was not known.
2024-06-06 00:58:10 -07:00
ef1a4134f0
hyprland/ipc: re-request monitors and workspaces on fail
2024-06-06 00:46:38 -07:00
d14ca70984
hyprland/ipc: add hyprland ipc
...
Only monitors and workspaces are fully tracked for now.
2024-06-05 19:26:20 -07:00
6c9526761c
wayland: fix UAF in layershell surface destructor
2024-05-31 00:24:58 -07:00
569c40494d
all: import module dependencies via qmldir
...
Improves compatibility with qml tooling.
2024-05-29 19:29:57 -07:00
73cfeba61b
x11: add XPanelWindow
2024-05-20 02:16:44 -07:00
908ba3eef5
hyprland/global_shortcuts: fix crash when protocol is not present
2024-05-19 02:50:14 -07:00
bba8cb8a7d
hyprland/global_shortcuts: add GlobalShortcut
2024-05-06 22:19:50 -07:00
87a884ca36
hyprland/focus_grab: add HyprlandFocusGrab
2024-05-06 00:02:51 -07:00
1f49c55711
wayland/lock: fix post-reload lockscreen creation
...
This broke due to the changes that ensure onReload always runs.
2024-04-25 14:18:25 -07:00
6eb68d2cd7
core/reloader: fix late creation of Reloadable types
2024-04-19 15:45:07 -07:00
fd5b73adbb
wayland: fix Qt 6.7 compatibility
2024-04-12 01:21:26 -07:00
3026d3400a
all/window: use global screeninfo pool for screen getter
2024-03-27 02:43:14 -07:00
9625129844
core: replace throws with qFatal
2024-03-27 02:13:47 -07:00
055b191a67
core/window: add windowTransform and backingWindowVisible properties
2024-03-27 01:37:45 -07:00
3a0381dcbe
core/window: backing windows can now be destroyed and recreated
...
This fixes a crash in layershells and the setVisible crash on nvidia.
2024-03-27 00:45:53 -07:00
518977932d
core/lazyloader: add LazyLoader
...
Also fixes qml incubation in general, which was completely broken,
meaning the native qml Loader type should also work now.
2024-03-19 05:35:44 -07:00
463f9a297f
root: recreate the qml engine on reload instead of clearing it
...
This causes singletons to be recreated instead of kept alive.
2024-03-12 14:55:51 -07:00
c44041653c
build: greatly speed up build times using pch
2024-03-11 18:18:55 -07:00
3480707e99
wayland: namespace type names a bit to prevent future conflicts
2024-03-11 06:21:23 -07:00
b675b3676c
popups: add popup windows
2024-03-11 05:44:56 -07:00
7a15495e3f
layershell: fix protocol error on popup attachment
2024-03-10 03:02:40 -07:00
6966fc025c
all: ensure QObject ownership is Cpp when required
2024-03-08 18:33:01 -08:00
5ac04649aa
fix: ub/crash when changing layershell props after hiding window
2024-03-04 17:54:33 -08:00
63180382be
misc: change version to 0.1
2024-03-04 05:37:24 -08:00
dfeb02e50b
fix(panel): WlrLayershell exclusionMode was never set
2024-03-04 04:04:24 -08:00
4cfe6ee0a1
fix: fix scopes of created QQmlComponents
...
Using the scope of the component itself makes sure things availible in
its scope are usable, instead of the parent scope.
2024-03-03 21:38:21 -08:00
f004454395
fix(slock): memory leak when creating non SessionLockSurface
2024-03-02 06:22:14 -08:00
bb5bc0547a
build: add build options for all components
2024-02-29 01:30:57 -08:00
d06b67107b
docs(layer): improve WlrLayershell documentation
2024-02-29 00:54:18 -08:00
42ea70e04c
docs(slock): improve session lock documentation
2024-02-29 00:30:50 -08:00
cdd5729642
feat(slock): intentionally protocol error if lock is destroyed
2024-02-28 23:32:40 -08:00
a255889e5c
fix(slock): fix lock target when attempting to enable multiple locks
2024-02-28 23:02:53 -08:00