Commit graph

116 commits

Author SHA1 Message Date
392f56c40e
hyprland/ipc: further cleanup + add Hyprland.focusedWorkspace 2025-03-27 00:25:21 -07:00
8f11d60999
hyprland/ipc: make monitor bindable + fix property errors 2025-03-26 22:14:35 -07:00
62ccab5d30
hyprland/ipc: expose active and focused properties + activate() 2025-03-26 03:11:36 -07:00
3b2d84caf0
hyprland/ipc: convert to bindable properties 2025-03-21 02:46:09 -07:00
burein-ita
9534778a78 wayland/screencopy: Add missing include needed for musl
Musl stdlib does not include sys/types.h resulting in undefined dev_t.
2025-02-28 19:37:19 -06:00
aeb347ba91
wayland/toplevel: add pending state for outputs entered before qscreen init
Fixes a crash in sway, and potentially other compositors, when a
toplevel enters an output before Qt has created a QScreen for it.
2025-01-31 23:54:11 -08:00
c3ed3b0ee2
hyprland/ipc: fix nullptr workspace read in log line 2025-01-31 23:28:49 -08:00
fb343ab639
hyprland/ipc: prefer ID based workspace lookups to name based ones
Should (hopefully) reduce race condition issues.
2025-01-27 22:19:28 -08:00
d3b1a65911
hyprland/ipc: reduce impact of racing workspace queries 2025-01-27 21:13:53 -08:00
b289bfa504
hyprland/surface: add visibleMask 2025-01-23 14:00:16 -08:00
c6791cf1f2
core/window: fix screen assignments being completely broken 2025-01-22 20:13:29 -08:00
3c7dfcb220
hyprland/ipc: handle renameworkspace 2025-01-22 04:16:08 -08:00
b336129c34
core/window: add QsWindow.devicePixelRatio 2025-01-22 03:33:46 -08:00
bc73d35d03
wayland/screencopy: fix ScreencopyContext leak in ScreencopyView
Also caused an FD leak.
2025-01-20 15:53:04 -08:00
6464ead0f1
core/window: move input mask handling + commit scheduling to polish 2025-01-20 01:14:28 -08:00
d6b58521e9
core!: fix typo in ShellScreen.primaryOrientation 2025-01-19 01:00:03 -08:00
d195ca7680
wayland/screencopy: fix UAF in dmabuf modifier collection
The QList optimization the code was for no longer exists.
2025-01-15 03:24:19 -08:00
ca79715cce
wayland/screencopy: log more information during buffer creation 2025-01-15 02:52:08 -08:00
cd429142a4
wayland/screencopy: add screencopy 2025-01-14 05:08:07 -08:00
918dd2392d
build/wayland: do not link to a target in wl_proto 2025-01-11 23:59:19 -08:00
2c411fce5a
all: fix new lints 2025-01-07 03:11:19 -08:00
af86d5fd19
hyprland/surface: remove debug print 2025-01-05 23:53:03 -08:00
f3b7171b25
core/window: allow explicit surface format selection 2025-01-04 03:04:41 -08:00
3a40174ed6
hyprland/surface: add hyprland surface opacity support 2025-01-01 17:45:23 -08:00
e3d003e7ab
core/popupanchor: emit anchoring() before checking anchor props 2024-11-24 13:22:10 -08:00
6f9993394a
hyprland/ipc: pad event argument list to given count
Fixes crash when assuming more arguments than given will be available,
and trailing ",".
2024-11-24 13:21:09 -08:00
2571766d3b
all: fix clang 18 lints 2024-11-24 03:36:04 -08:00
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
afa1b6f88b
wayland/layershell: link to xdg-shell protocol codegen 2024-11-22 18:57:11 -08:00
dca75b7d6a
service/mpris: clarify trackinfo emit order and use QBindings 2024-11-20 00:52:47 -08:00
dbaaf55eb6
core/popupwindow: remove parentWindow deprecation message
Was being falsely triggered by lints.
2024-11-19 17:20:53 -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
f4066cb4ed
core/popupanchor: add anchoring signal for last second repositioning 2024-11-19 03:29:31 -08:00
b528be9426
all: fix gcc warnings 2024-11-05 13:31:24 -08:00
92252c36a3
build: fix gcc 2024-11-05 12:14:45 -08:00
7ffce72b31
all: optimize build 2024-11-05 04:15:17 -08:00
1168879d6d
build: only install necessary qml module files 2024-11-04 14:13:37 -08:00
cdeec6ee83
all: use fully qualified type names in signals and invokables
Further fixes qmllint/qmlls
2024-11-01 21:10:21 -07:00
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
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
a931adf033
all: add DEPENDENCIES entries to qml modules
Fixes some qmlls/qmllint issues.
2024-10-31 14:05:02 -07:00
9980f8587e
window: generate qmltypes 2024-10-31 14:04:58 -07: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
89d04f34a5
build: find waylandscanner and qtwaylandscanner from imported target
Removes the QTWAYLANDSCANNER env hack.
2024-10-16 00:08:17 -07:00
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
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
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