summaryrefslogtreecommitdiff
path: root/src/protocols
Commit message (Collapse)AuthorAgeFilesLines
...
* viewporter: clamp sub-pixel overflow (#11845)omar2025-09-271-2/+25
| | | Clamps the pending wp_viewport source rect back inside the attached buffer when it misses by <= 1 px, so if clients request something that falls within the 256-increment wl_fixed_from_double precision error it’s still treated as valid.
* shm: refactor to UP and correct m_data check (#11820)Tom Englund2025-09-252-16/+22
| | | | | | | | | | use unique pointers and rvalue references where applicable, buffer is still a shared pointer because CHLBufferReference uses it to hold it locked. in CSHMPool destructor add a check for m_data != MAP_FAILED same in resize, because mmap returns (void *) -1 on failure and that is not comparable to nullptr. delete default constructor so we dont end up in weird states with m_data.
* foreign-toplevel: continue past skipped invalid windows (#11804)omar2025-09-231-1/+1
|
* renderer: add "noscreenshare" layer rule (#11664)0xFMD2025-09-221-0/+16
|
* renderer: fix uv calculations once and for all (#11770)Vaxry2025-09-212-0/+7
| | | fixes synchronization of ackd sizes, fixes wrong xdg stuff
* presentation: fix vrr check for reporting no refresh timeVaxry2025-09-161-1/+1
| | | | ref #11608
* input: support xkb v2 format (#11482)usering-around2025-09-113-9/+9
|
* screencopy: add force 8 bit to fix 10b screensharing (#11623)Vaxry2025-09-083-2/+4
| | | ref https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/270
* presentation: handle vrr for v1 clients (#11608)Dominick DiMaggio2025-09-061-1/+3
|
* protocols/kde-deco: fix tug of war in deco modeVaxry2025-09-042-5/+11
| | | | fixes #11591
* plugins: expose csd functionality (#11551)jmanc32025-09-024-11/+73
|
* protocols: implement pointer-warp-v1 (#11469)Ikalco2025-08-294-0/+89
|
* renderer: Fix CM for DS and SDR passthrough (#11503)UjinT342025-08-292-0/+5
|
* input: Add fully configurable trackpad gestures (#11490)Vaxry2025-08-281-1/+1
| | | Adds configurable trackpad gestures
* tablet: remove old commentVaxry2025-08-271-1/+0
|
* protocols/activation: revert send an invalid token when serial isn't valid ↵Vaxry2025-08-241-7/+0
| | | | | | | | (#11505) This reverts commit d9cf1cb78ef3dfd82f03965aab70792bbe25c9e2. See discussion in #11505
* syncobj: use rendernode for timelines (#11087)Tom Englund2025-08-243-16/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * syncobj: use rendernode for timelines use rendernode for timelines instead of the drmfd, some devices dont support to use the drmfd for this. * opengl: use rendernode if available use rendernode if available for CHyprOpenglImpl * MesaDRM: use the m_drmRenderNodeFD if it exist try use the rendernode we got from AQ if it exist. * linuxdmabuf: use rendernode if available use the rendernode if available already from AQ * syncobj: prefer rendernode over displaynode prefer the rendernode over the displaynode, and log a error if attempting to use the protocol without explicit sync support on any of the nodes. * syncobj: check support on both nodes always check support on both nodes always so it can be used later for preferring rendernode if possible in syncobj protocol. * syncobj: remove old var in non linux if else case remove old m_bDrmSyncobjTimelineSupported from non linux if else case that will fail to compile on non linux. the nodes sets support by default to false, and if non linux it wont check for support and set it to true. * build: bump aq requirement bump to 0.9.3 where rendernode support got added. * flake.lock: update * renderer: glfinish on software renderer software renderers apparently bug out on implicit sync, use glfinish as with nvidia case on implicit paths. * flake.lock: update --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* disable buffer readability checks on intel (#11515)Tom Englund2025-08-244-7/+11
| | | | | | | | | | | | * dmabuf: disable buffer read check on intel readability checks directly on buffer fds on some intel laptops is broken, see https://gitlab.freedesktop.org/drm/intel/-/issues/9415 * sync: use rvalue ref in addwaiter doonreadable use rvalue reference in addwaiter and doonreadable, because we store the function in the SReadableWaiter a lot of the time, move it into place there when that happends or let it go out of scope after function call.
* protocols/activation: send an invalid token when serial isn't valid (#11505)Ross2025-08-231-0/+7
|
* hdr: scRGB, HLG and SDR -> HDR fixes (#11499)UjinT342025-08-223-14/+20
|
* protocols/wayland: use UP and rvalue refs for callbacks (#11471)Tom Englund2025-08-182-5/+5
| | | use UP and rvalue refs in CWLCallbackResource and m_callbacks.
* protocols: Fix fading out windows with noscreenshare being visible (#11457)Kamikadze2025-08-171-2/+3
|
* protocols: implement ext-data-control (#11323)Nihal Jere2025-08-152-0/+445
| | | This protocol has superseded wlr-data-control
* refactor: Use new hyprutils casts (#11377)Kamikadze2025-08-1441-130/+131
|
* virtualkeyboard: Add options to skip releasing pressed keys on close and to ↵JS Deck2025-08-044-22/+54
| | | | skip sharing key states (#11214)
* screencopy: multiply box pos by scaleVaxry2025-08-031-1/+1
| | | | fixes #11299
* screencopy: avoid crash on cm disabledVaxry2025-08-021-1/+1
| | | | | | fixes #11310 closes #11312
* screencopy: un-hdr screencopy buffers for cm-unaware clients (#11294)Vaxry2025-07-314-5/+28
|
* opengl: improve render fn arg clarity (#11286)Vaxry2025-07-312-9/+9
|
* dnd: drop on tablet pen tip up (#11270)Maxime Nordier2025-07-302-0/+10
|
* renderer: use CRegion foreach over getRects (#10980)Tom Englund2025-07-301-2/+2
| | | | instead of allocating and returning a vector, use forEach to directly call a function on the rects.
* foreign-toplevel: update monitor properly on changedVaxry2025-07-292-11/+11
| | | | fixes #11197
* ci: correct tar command for xz compression & fix typos (#11213)xqso2025-07-2513-37/+37
|
* core: move workspace ptrs to weak (#11194)Vaxry2025-07-241-2/+2
| | | | Fixes some race conditions that come up in tests. We only clean up workspaces when we render a frame. With this, they are always cleared instantly.
* CTM: check for finite value aswell (#11185)Tom Englund2025-07-231-2/+2
| | | | checking for < 0.F will not catch NaN or inf values, use std::isfinite aswell.
* protocols/subcompositor: fix subsurface sorting (#11136)Vaxry2025-07-203-12/+41
|
* renderer: implement wp-color-management-v1 transfer functions (#11084)Thomas Müller2025-07-202-11/+31
|
* protocols/gamma: support pipes (#11076)MrFantOlas2025-07-181-3/+11
| | | | | | | Add support for pipes and potentially other valid file descriptors. Add check for more data on the socket than the required amount as per protocol. --------- Co-authored-by: Alexandre Teixeira <alexandre.teixeira@etu.emse.fr>
* compositor: properly set infinite region on null inputVaxry2025-07-172-7/+7
| | | | fixes #11065
* protocols/cm: Fix preferred image description (#11026)UjinT342025-07-154-3/+42
|
* protocols: Remove incorrect CM proto debug check and fix preferred image ↵UjinT342025-07-143-4/+18
| | | | description (#11023)
* screencopy: ignore hidden windows in noscreenshareVaxry2025-07-121-0/+3
| | | | fixes #11002
* singlepixel: move to unique ptrsTom Englund2025-07-102-8/+8
| | | | less refcounting, move by rvalue.
* presentation: move to unique ptrsTom Englund2025-07-104-24/+33
| | | | less refcounting, move by rvalue.
* dmabuf: move to unique ptrsTom Englund2025-07-102-22/+23
| | | | less refcounting, move by rvalue.
* cursorshape: use unique ptrsTom Englund2025-07-102-4/+4
| | | | less refcounting.
* ctmcontrol: move to unique ptrsTom Englund2025-07-102-5/+5
| | | | less refcounting, move by rvalue.
* alphamodifier: move to unique ptrsTom Englund2025-07-102-7/+7
| | | | less refcounting, move by rvalue.
* renderpass: use unique ptr instead of shared ptrTom Englund2025-07-101-1/+1
| | | | | lets use unique ptrs instead of refcounting shared ptr when its not needed, use rvalue reference to construct in vector directly.
* core: use new typed signals from hu (#10853)outfoxxed2025-07-0845-149/+150
|