summaryrefslogtreecommitdiff
path: root/src/protocols
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* helpers: refactor class member vars (#10218)davc0n2025-04-3018-182/+182
|
* render: properly release rendered buffers (#9807)Ikalco2025-04-305-37/+21
| | | | | | | | | * cleanup eglSync * properly release buffers in renderer * add renderingDoneCallback and use it in screencopy * use static constructor for CEGLSync
* xdg-bell: fix wrong resource castVaxry2025-04-301-7/+7
|
* xdg-bell: avoid crashes on null toplevelVaxry2025-04-301-0/+8
|
* screencopy: don't render cursor when frame doesn't want itVaxry2025-04-291-4/+6
|
* cm: Use precomputed primaries conversion (#9814)UjinT342025-04-293-30/+82
|
* xdg-bell/xdg-tag: fix moved resource usageVaxry2025-04-292-3/+3
|
* devices: refactor class member vars (#10206)davc0n2025-04-293-18/+18
|
* protocols: add support for xdg-system-bell-v1Vaxry2025-04-292-0/+98
|
* windows: refactor class member vars (#10168)davc0n2025-04-287-38/+38
|
* screencopy: support hw cursors while sharing with cursorVaxry2025-04-282-28/+6
|
* workspaces: refactor class member vars (#10167)davc0n2025-04-253-9/+9
|
* protocols: add Hyprland toplevel mapping implementation (#9775)WhySoBad2025-04-245-8/+138
|
* compositor: refactor class member vars (#10141)davc0n2025-04-2221-41/+41
|
* protocols: add xdg_toplevel_tag_v1 supportVaxry2025-04-213-0/+92
| | | | Adds a new windowrule to target windows by xdgTag, xdgtag:
* config: Refactor class member vars (#10124)davc0n2025-04-201-2/+2
| | | | | * Refactor config classes vars * Fix clang format errors