summaryrefslogtreecommitdiff
path: root/src/protocols/core
Commit message (Collapse)AuthorAgeFilesLines
...
* wayland/compositor: release buffers on unmapVaxry2024-07-251-0/+11
| | | | | | | | XWayland does not use the regular commit(null) method to unmap, which results in buffers never being released. release the buffers if present and un-released in the unmap() handler ref #6584
* wl_seat: avoid sending events to objects without capsVaxry2024-07-221-0/+69
| | | | ref #6835
* wayland/output: avoid sending events to dead outputsVaxry2024-07-222-4/+7
| | | | ref #6835
* renderer: untransform textures matching display transformVaxry2024-07-221-0/+3
| | | | | | fixes #6754 This will break if the client uses a transform that is not equal to the display, reverting to old behavior. Combining transforms is left as a todo for the future.
* wayland/compositor: fixup buffer damage tracking for wl_shm buffersVaxry2024-07-211-5/+2
| | | | | | remove qt hack, fixup conditions fixes #6844
* presentation-feedback: fix invalid values sent after aq mergeVaxry2024-07-211-1/+1
|
* Core: Move to aquamarine (#6608)Vaxry2024-07-217-70/+145
| | | | | | | | | | | | | | Moves Hyprland from wlroots to aquamarine for the backend. --------- Signed-off-by: Vaxry <vaxry@vaxry.net> Co-authored-by: Mihai Fufezan <mihai@fufexan.net> Co-authored-by: Jan Beich <jbeich@FreeBSD.org> Co-authored-by: vaxerski <vaxerski@users.noreply.github.com> Co-authored-by: UjinT34 <41110182+UjinT34@users.noreply.github.com> Co-authored-by: Tom Englund <tomenglund26@gmail.com> Co-authored-by: Ikalco <73481042+ikalco@users.noreply.github.com> Co-authored-by: diniamo <diniamo53@gmail.com>
* seat: don't send keyboard data without a keyboard cap (#6697)はれなよ2024-06-291-0/+7
| | | | | * Fix #6279: prevent sending keymap or repeat info events by keyboards without keyboard capability * Remove brackets
* wl-compositor: don't send enter to defunct output globalsVaxry2024-06-241-0/+5
|
* core: Move to hyprutils for MathVaxry2024-06-195-5/+5
| | | | | | Moves CRegion, CBox and Vector2D over to hyprutils. Requires hyprutils>=0.1.4
* data-device: minor fixesVaxry2024-06-171-7/+7
| | | | send leave after drop, improve checks in completeDrag
* seat: track pressed pointer buttonsVaxry2024-06-172-0/+28
| | | | releases them on leave, unless there is a dnd going on
* subcompositor/renderer: fixup handling of subsurfaces below the main oneVaxry2024-06-173-13/+60
| | | | some apps (notably vlc 4) place a subsurface below the main surface (which is kinda cursed) but we have to accomodate for that
* data-device: properly abort drag on missing deviceVaxry2024-06-161-3/+5
| | | | | | sometimes there is no focused device (e.g. when dnd'ing on nothing or xwayland) in which case abort would fail to send cancelled to the source. ref #6543
* data-device: minor fixupsVaxry2024-06-161-16/+7
| | | | | | | | ref #6543 firefox needs a re-enter after a dnd don't destroy dnd on an offer destroy, it's not valid
* wl_data_device: send drop_performed in completeDragVaxry2024-06-161-3/+4
| | | | ref #6509
* wl_seat: accomodate for apps late-binding seat resourcesVaxry2024-06-161-0/+6
| | | | | | Sends enter events when an app binds wl_keyboard or wl_pointer later than it should. Fixes some buggy apps. Fixes #6131
* seat/dnd: unfocus pointer from surfaces on dnd startVaxry2024-06-161-2/+7
| | | | | | | | GTK is speshyal and requires this for functioning properly. Ugh. It's technically not required by spec, f you gtk. Ref #6509
* wl_seat: send repeat data from current keyboard on bindVaxry2024-06-151-3/+6
| | | | ref #6515
* output: avoid crashes when binding a defunct wl_output globalVaxry2024-06-151-0/+6
| | | | ref #6508
* data-device: abort drag on unaccepted offersVaxry2024-06-152-2/+27
| | | | fixes #6509
* seat: fixup touch event handlingvaxerski2024-06-122-10/+13
| | | | fixes #6353
* datadevice: only send actions for ver >= 3Vaxry2024-06-121-2/+4
| | | | fixes #6444
* core: move to hyprutils for utils (#6385)Vaxry2024-06-111-1/+1
| | | | | | | | | | | | | * core: move to hyprutils for utils Nix: add hyprutils dep * Meson: add hyprutils dep * flake.lock: update --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* wayland: consistently check mmap error after 6967a3145044 (#6402)Jan Beich2024-06-101-2/+2
| | | mmap() returns MAP_FAILED on error, not nullptr.
* output: remove wl_output globals for mirrored displaysVaxry2024-06-102-0/+5
| | | | ref #6387
* buffer: track asynchronous buffers and don't release them until unrefVaxry2024-06-083-4/+17
| | | | synchronous buffers are read instantly and we can release them, but asynchronous ones have to be locked until they are unref'd from .current to avoid reading from a buffer after .release()
* core: verify surface roles on creation of objectsVaxry2024-06-081-0/+5
|
* wayland: fix invalid wl_output_mode dimensions sentVaxry2024-06-081-1/+1
|
* wayland/core: move to new impl (#6268)Vaxry2024-06-0812-81/+1489
| | | | | * wayland/core/dmabuf: move to new impl it's the final countdown
* seat: don't send keymap on empty devicevaxerski2024-06-021-0/+3
|
* datadevice: guard surface in dnd for nullVaxry2024-05-151-17/+19
| | | | fixes #6076
* wlr-data-device: move to hyprland implVaxry2024-05-141-0/+2
|
* wl-data-device: move to hyprland implVaxry2024-05-142-0/+849
|
* wl_seat: move to hyprland implVaxry2024-05-142-0/+600