summaryrefslogtreecommitdiff
path: root/src/protocols
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* compositor: fix race to finish on null buffer (#10970)Tom Englund2025-07-081-0/+7
| | | | if a null buffer is commited and a pending state is awaiting, drop the pending state so we dont end up in race to finish brokeness.
* pass: overload TexPass constructorTom Englund2025-07-071-1/+1
| | | | | overload it with a rvalue to allow us to move the data directly avoiding an extra copy. because SRenderData is not trivially copyable.
* compositor: dont send around int max valuesTom Englund2025-07-071-7/+12
| | | | | | we know the buffersize use it instead of int max values that can potentially cause math issues and slowdowns. minor improvement to glmark2 aswell.
* internal: iso C++ prohibits anonymous structs (#10955)Tom Englund2025-07-075-32/+32
| | | turn on -Wpedantic and name the anonymous struct.
* buffer: check if buffer fd already readable (#10894)Tom Englund2025-07-011-0/+3
| | | | check if buffer fd is already readable, to avoid a lot of unnecessery systemcalls and churn.
* sessionlock: restore cursor if hidden on unlock (#10889)Tom Englund2025-07-011-0/+5
| | | | | | if session locks have hidden the cursor its gonna be missing unless a new cursor shape is set, hovering windows makes us get one, moving the wallpaper/desktop does not. set it again to left_ptr as is default on compositor start.
* screencopy: fix improper box calculations for transforms (#10870)Vaxry2025-06-281-3/+5
|
* protocols: add ext-workspace implementation (#10818)outfoxxed2025-06-264-0/+453
|
* buffer: don't use crazy listener::emit()Vaxry2025-06-242-4/+11
|
* xwayland: Fix crash when copying from wayland to xwayland (#10786)Jasson2025-06-191-1/+3
|
* protocols/cm: fix wp invalid luminance check (#10752)UjinT342025-06-151-1/+1
|
* config/monitor: Add monitor v2 HDR rules (#10623)UjinT342025-06-151-4/+4
|
* opengl: use a stack for storing monitor transform enabledVaxry2025-06-151-2/+2
| | | | fixes #10487
* drm-lease: Add Multi-GPU Support (#10099)Joel-Valenciano2025-06-132-67/+94
|
* protocols/subcompositor: fixup place_above and _belowVaxry2025-06-111-22/+16
| | | | fixes #10716
* screencopy: fix incorrect noscreenshare positions with monitor scaling (#10674)Kamikadze2025-06-081-8/+5
|
* renderer: fix incorrect cursor position when screencopy region with monitor ↵Kamikadze2025-06-081-1/+1
| | | | scaling (#10675)
* screencopy: fix applying `noscreenshare` to invisible special workspaces ↵XPhyro2025-06-051-1/+1
| | | | (#10628)
* refactor: replace all `typedef` with `using` (#10594)Kamikadze2025-05-311-1/+1
|
* refactor: use std::ranges whenever possible (#10584)Kamikadze2025-05-3022-55/+50
|
* windowrules: Add noscreenshare (#10482)Kamikadze2025-05-272-7/+64
|
* screencopy: store a fb before permission popup if the permission is pending ↵Vaxry2025-05-172-29/+64
| | | | | (#10455) stops rendering the permission popup on stuff like grim when it asks
* protocols: simulate mouse movement after activating a toplevel (#10429)outfoxxed2025-05-161-0/+2
|
* core: drop the legacy renderer (#10408)Tom Englund2025-05-152-14/+0
| | | | | | | | | | | * core: drop the legacy renderer the legacy renderer is broken and barely used, drop it. * Nix: drop support for legacyRenderer --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* DMABuffer: reserve vector and avoid UB (#10317)Tom Englund2025-05-071-2/+7
| | | | | | | | | | | actually reserve the vector instead of initializing it with the m_attrs.fd.size() adding 4 invalid fd entries, and later emplace_back the valid ones. sync_merge_data name is defined as char name[32] a fixed size array, and c++ technically doesnt allow assigning string literals directly to array fields in aggregate initializers, it may compile but is technically undefined behaviour or ill formed. zero initalise it and use std::ranges::copy_n instead.
* xwayland: refactor class member vars (#10312)davc0n2025-05-072-5/+5
| | | | | * xwayland: refactor class member vars * xwayland: fix pure wayland build
* render: refactor class member vars (#10292)davc0n2025-05-057-26/+22
| | | | | * render: refactor class member vars * render: fix clang format
* protocols: refactor class member vars (u-z) (#10282)davc0n2025-05-0427-867/+869
| | | | | * protocols: refactor class member vars (u-z) * protocols: fix clang format
* protocols: refactor class member vars (n-t) (#10273)davc0n2025-05-0438-1471/+1467
|
* protocols: refactor class member vars (a-m) (#10265)davc0n2025-05-0445-1474/+1479
|
* protocols: refactor class member vars (types) (#10261)davc0n2025-05-0318-140/+140
|
* protocols: refactor class member vars (core) (#10259)davc0n2025-05-0335-975/+974
|
* managers: refactor class member vars (#10242)davc0n2025-05-0212-79/+79
|
* inputs: refactor class member vars (#10230)davc0n2025-05-011-4/+4
|