summaryrefslogtreecommitdiff
path: root/src/protocols
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-212-2/+10
|
* Core: Move to aquamarine (#6608)Vaxry2024-07-2144-598/+1470
| | | | | | | | | | | | | | 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>
* core: Fix crash on opening chromium (#6932)phonetic1122024-07-201-1/+1
|
* toplevelexport: fix flipped r/b channels when sharing windows (#6861)David De Sousa2024-07-131-1/+2
| | | fixes #6823
* ext-foreign-toplevel: Send done after title and class (#6857)Tim Waterhouse2024-07-131-0/+2
| | | According to the spec (https://wayland.app/protocols/ext-foreign-toplevel-list-v1#ext_foreign_toplevel_handle_v1:event:title), clients should wait for the done signal before applying updates
* style: fix clang-formatVaxry2024-07-131-2/+1
|
* sessionLock: fix the check for locking a locked session (#6843)Maximilian Seidler2024-07-111-1/+1
|
* tablet: Send .frame() on .proximity_out() (#6761)Agent00Ming2024-07-031-1/+1
| | | Co-authored-by: Agent_00Ming <agent00ming9366@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
* pointer-constraint: set lifetime correctlyVaxry2024-06-292-6/+6
| | | | ref #6679
* wl-compositor: don't send enter to defunct output globalsVaxry2024-06-241-0/+5
|
* foreign-toplevel-wlr: fix out-of-range for missing monitor resourcesVaxry2024-06-231-4/+6
| | | | fixes #6635
* constraints: Lock surface region when region is empty (#6627)MariuszTrybus2024-06-221-2/+9
| | | | | * Pointer constraints: Lock surface region when region is empty * Format code
* surface: add virtual destructor to surfacerole to avoid undefined behaviour ↵Tom Englund2024-06-221-0/+1
| | | | | | | | | | | | | | | (#6620) * surfacerole: add virtual destructor all classes that will be derived from should have a virtual destructor otherwise deleting an instance via pointer to a base class is undefined behaviour, layershell/xdgshell hits this with std::default_delete in the new sharedptr implentation. * includes: fix missing includes fix missing includes for no precompiled headers builds, and remove a redefiniton of a macro already defined in macros.hpp
* core: Move to hyprutils for MathVaxry2024-06-1916-30/+31
| | | | | | Moves CRegion, CBox and Vector2D over to hyprutils. Requires hyprutils>=0.1.4
* misc: a few compiler level performance optimisations (#6559)Tom Englund2024-06-172-2/+2
| | | | | | | | | | | | | | | | | | | | | * window: use const references instead of copies use const references instead of wasteful copies and make the = operator check for self assignment and return early. also use const in all the other operators. * listener: pass std::function as const reference instead of copies pass the std::functions as const references. * config: dont unnecessarily convert to c_str getHyprlangConfigValuePtr wants an std::string and we already have an std::string, dont convert it to a c_str only for it to be converted back to an std::string. * buffer: pass attributes as const reference pass attributes as const reference instead of copies.
* 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
* xdg-shell: Continue transform of popup until size fits (#6521)Dashie2024-06-161-23/+26
|
* 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
* xdg-shell: properly check for resource version for TILED and SUSPENDED statesVaxry2024-06-161-4/+9
| | | | fixes #6535
* 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
* xdg-shell: fixup xdg-positioner's pointForAnchor with non-corner pointsVaxry2024-06-151-6/+6
| | | | fixes #6157
* data-device: abort drag on unaccepted offersVaxry2024-06-152-2/+27
| | | | fixes #6509
* virtualkeyboard: check if VirtualKeyboard is valid before accessing client. ↵Yang, Ying-chao2024-06-132-4/+4
| | | | | (#6460) This fixes crash when restarting fcitx (#6378)
* foreign-toplevel: fixup output resource findingVaxry2024-06-121-13/+7
| | | | fixes #6457
* seat: fixup touch event handlingvaxerski2024-06-122-10/+13
| | | | fixes #6353
* datadevice: only send actions for ver >= 3Vaxry2024-06-121-2/+4
| | | | fixes #6444
* session-lock: fix refocus after unlocking (#6423)Maximilian Seidler2024-06-111-2/+4
|
* core: move to hyprutils for utils (#6385)Vaxry2024-06-117-7/+7
| | | | | | | | | | | | | * 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-102-3/+3
| | | mmap() returns MAP_FAILED on error, not nullptr.
* wlr-foreign-toplevel: fix fullscreen failing and add output support (#6360)outfoxxed2024-06-101-2/+18
| | | | | * wlr-foreign-toplevel: fix fullscreen failing and add output support * fix for core protocol rewrite
* 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-086-4/+23
| | | | 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-085-9/+55
|
* wayland: fix invalid wl_output_mode dimensions sentVaxry2024-06-081-1/+1
|
* xdg_shell: ignore outdated ack_configure eventsVaxry2024-06-081-1/+3
|
* wayland/core: move to new impl (#6268)Vaxry2024-06-0869-882/+3302
| | | | | * wayland/core/dmabuf: move to new impl it's the final countdown
* xdg_shell: fix nested xdg_positioner calculationsVaxry2024-06-071-4/+4
| | | | ref #6240
* xdg_shell: improve xdg_positioner slide behaviorVaxry2024-06-071-2/+2
| | | | ref #6240
* xdg_shell: improve xdg_positioner resize calculationsVaxry2024-06-071-6/+6
| | | | ref #6240
* toplevelexport: avoid locking software cursors during renderVaxry2024-06-031-5/+5
| | | | | | this may trigger a render begin/end and fuck up the pass fixes #6277