Commit graph

89 commits

Author SHA1 Message Date
outfoxxed
2996e40ff9
core/plugin: rename QuickshellPlugin to QsEnginePlugin
Fixes conflict with the autogenerated qml plugin of the same name.
2024-11-22 18:59:15 -08:00
outfoxxed
afa1b6f88b
wayland/layershell: link to xdg-shell protocol codegen 2024-11-22 18:57:11 -08:00
outfoxxed
dca75b7d6a
service/mpris: clarify trackinfo emit order and use QBindings 2024-11-20 00:52:47 -08:00
outfoxxed
dbaaf55eb6
core/popupwindow: remove parentWindow deprecation message
Was being falsely triggered by lints.
2024-11-19 17:20:53 -08:00
outfoxxed
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
outfoxxed
f4066cb4ed
core/popupanchor: add anchoring signal for last second repositioning 2024-11-19 03:29:31 -08:00
outfoxxed
b528be9426
all: fix gcc warnings 2024-11-05 13:31:24 -08:00
outfoxxed
92252c36a3
build: fix gcc 2024-11-05 12:14:45 -08:00
outfoxxed
7ffce72b31
all: optimize build 2024-11-05 04:15:17 -08:00
outfoxxed
1168879d6d
build: only install necessary qml module files 2024-11-04 14:13:37 -08:00
outfoxxed
cdeec6ee83
all: use fully qualified type names in signals and invokables
Further fixes qmllint/qmlls
2024-11-01 21:10:21 -07:00
outfoxxed
98cdb87181
all: use UntypedObjectModel instead of ObjectModel in Q_PROPERTY
Fixes qmllint/qmlls type deduction for ObjectModels
2024-11-01 03:12:07 -07:00
outfoxxed
746b0e70d7
all: use fully qualified type names in Q_PROPERTY
Fixes type deduction issues with qmllint/qmlls.
2024-11-01 01:43:22 -07:00
outfoxxed
a931adf033
all: add DEPENDENCIES entries to qml modules
Fixes some qmlls/qmllint issues.
2024-10-31 14:05:02 -07:00
outfoxxed
9980f8587e
window: generate qmltypes 2024-10-31 14:04:58 -07:00
outfoxxed
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
outfoxxed
89d04f34a5
build: find waylandscanner and qtwaylandscanner from imported target
Removes the QTWAYLANDSCANNER env hack.
2024-10-16 00:08:17 -07:00
outfoxxed
accdc59a1c
wayland/all: scale layers and popup anchors correctly
Layers now scale window size and exclusive zone to native
pixels. Popup anchors do the same.
2024-09-14 01:31:39 -07:00
outfoxxed
f95e7dbaf6
hyprland/focus_grab: wait for surface creation if null
Fixes an occasional crash with QWaylandWindow::surface() returning null.
2024-08-20 16:41:04 -07:00
outfoxxed
cb2862eca9
wayland/toplevel_management: add ToplevelManager.activeToplevel 2024-07-31 23:10:08 -07:00
outfoxxed
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
outfoxxed
6b9b1fcb53
core/menu: add QsMenuAnchor for more control of platform menus 2024-07-25 20:44:26 -07:00
outfoxxed
ebfa8ec448
core/popupanchor: rework popup anchoring and add PopupAnchor 2024-07-23 22:12:27 -07:00
outfoxxed
a9e4720fae
docs: use new member reference shorthand 2024-07-21 17:41:49 -07:00
outfoxxed
aa3f7daea2
wayland/platformmenu: fix flipped positions and submenu y positions 2024-07-19 02:55:38 -07:00
outfoxxed
e9cacbd92d
all: use type/prop shorthand in docs 2024-07-14 16:17:51 -07:00
outfoxxed
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
outfoxxed
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
outfoxxed
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
outfoxxed
3033cba52d
all: fix failing lints 2024-06-18 20:46:58 -07:00
outfoxxed
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
outfoxxed
ae762f5c6e
hyprland/ipc: ensure requests are flushed 2024-06-18 12:26:23 -07:00
outfoxxed
d8b72b4c31
wayland/lock: notify on screen change 2024-06-13 16:25:07 -07:00
outfoxxed
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
outfoxxed
b5b9c1f6c3
wayland/toplevel_management: add foreign toplevel management 2024-06-07 04:31:20 -07:00
outfoxxed
5d1def3e49
hyprland/ipc: fix monitorFor returning null during HyprlandIpc init 2024-06-06 00:59:17 -07:00
outfoxxed
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
outfoxxed
ef1a4134f0
hyprland/ipc: re-request monitors and workspaces on fail 2024-06-06 00:46:38 -07:00
outfoxxed
d14ca70984
hyprland/ipc: add hyprland ipc
Only monitors and workspaces are fully tracked for now.
2024-06-05 19:26:20 -07:00
outfoxxed
6c9526761c
wayland: fix UAF in layershell surface destructor 2024-05-31 00:24:58 -07:00
outfoxxed
569c40494d
all: import module dependencies via qmldir
Improves compatibility with qml tooling.
2024-05-29 19:29:57 -07:00
outfoxxed
73cfeba61b
x11: add XPanelWindow 2024-05-20 02:16:44 -07:00
outfoxxed
908ba3eef5
hyprland/global_shortcuts: fix crash when protocol is not present 2024-05-19 02:50:14 -07:00
outfoxxed
bba8cb8a7d
hyprland/global_shortcuts: add GlobalShortcut 2024-05-06 22:19:50 -07:00
outfoxxed
87a884ca36
hyprland/focus_grab: add HyprlandFocusGrab 2024-05-06 00:02:51 -07:00
outfoxxed
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
outfoxxed
6eb68d2cd7
core/reloader: fix late creation of Reloadable types 2024-04-19 15:45:07 -07:00
outfoxxed
fd5b73adbb
wayland: fix Qt 6.7 compatibility 2024-04-12 01:21:26 -07:00
outfoxxed
3026d3400a
all/window: use global screeninfo pool for screen getter 2024-03-27 02:43:14 -07:00
outfoxxed
9625129844
core: replace throws with qFatal 2024-03-27 02:13:47 -07:00