summaryrefslogtreecommitdiff
path: root/src/protocols
Commit message (Collapse)AuthorAgeFilesLines
* drm-lease: fix crashes and implementation (#8116)Ikalco2024-10-142-9/+22
|
* drm-syncobj: fix crash on missing timelinesVaxry2024-10-121-0/+3
| | | | fixes #8092
* drm-timeline: Add check for conflicting acquire and release points (#8083)Edgars Cīrulis2024-10-121-2/+7
| | | Signed-off-by: Edgars Cirulis <edgarsciruliss@gmail.com>
* gammactrl: guard pMonitor in setGammaVaxry2024-10-091-0/+7
|
* output: update state even if no owner exists (#8044)trianta2024-10-091-1/+1
|
* output/xdg-output: avoid sending events to released globalsVaxry2024-10-093-2/+9
| | | | ref #6835
* protocols: Add support for hyprland-ctm-control-v1 (#8023)Vaxry2024-10-082-0/+130
| | | | | | | | | | | * initial ctm support * flake.lock: update * Meson: bump required versions and add ctm proto --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* screencopy: fix screencopy frames not being cleaned up (#8017)Ikalco2024-10-084-14/+23
| | | | | --------- Co-authored-by: Vaxry <vaxry@vaxry.net>
* security-context: close client fds after disconnectVaxry2024-10-062-5/+7
|
* security-context: implement protocolVaxry2024-10-065-1/+303
| | | | fixes #7318
* single-pixel: set buffer size to 1,1Vaxry2024-10-051-0/+2
|
* xdg-output: minor cleanupsVaxry2024-10-052-21/+17
|
* wayland/output: send geometry in updateStateVaxry2024-09-301-2/+3
|
* wlr-output-management: accept 0 refresh ratesVaxry2024-09-301-1/+6
| | | | fixes #7879
* protocol: fix missing includeTrianta2024-09-301-0/+1
|
* single-pixel-buffer: new protocol implVaxry2024-09-302-0/+204
| | | | fixes #6624
* core: Fix Musl builds (#7934)bivsk2024-09-281-2/+2
| | | | Musl does not include the internal type `__time_t`. Use `time_t` instead.
* wlr-output-configuration: Improve output configuration (#7571)Vaxry2024-09-262-61/+123
|
* internal: nuke wlsignal and relatedVaxry2024-09-242-5/+0
| | | | old semi-wrappers for wl_signal, they are no longer used
* shm: send a static list of shm formatsVaxry2024-09-201-5/+2
| | | | fixes #7733
* dmabuffer: attempt importing failed dmabufs as implicitVaxry2024-09-201-2/+9
| | | | | | | | don't ask me why, vulkan doesn't like this. funny note, broken on wlroots :P fixes #7037
* gammactrl: fix potential crash on monitor removed (#7828)André Silva2024-09-171-1/+1
|
* data-device: conform to reported source actionsvaxerski2024-09-174-4/+25
| | | | fixes #7815
* data-device: don't send default action of moveVaxry2024-09-141-3/+1
| | | | gtk doesn't like it?
* data-device: send clock time in motion eventsVaxry2024-09-141-1/+4
| | | | remove hack
* textinput: handle IME resetting (#7731)Sungyoon Cho2024-09-104-6/+22
|
* textinput: fix ime activation in some edge cases (#7660)Sungyoon Cho2024-09-051-7/+6
| | | | | * textinput: clear ti3 state when focused surface gets destroyed * textinput: send enter to newly created ti in focus
* Revert "syncobj: wait for deadline instead of available"vaxerski2024-09-031-3/+3
| | | | | | This reverts commit cf6a1716ae719f9c59b1d175ca84a79015fab8e1. Fixes #7628
* core: fix crash on monitor removed with gammaControl (#7601)Ikalco2024-08-312-8/+8
| | | | | * fix crash on monitor removed with gammaControl * Update GammaControl.cpp
* data-device: Fix selection mismatch when wlr resets primary selection (#7598)TheMical2024-08-311-1/+1
|
* syncobj: wait for deadline instead of availableVaxry2024-08-311-3/+3
| | | | avoids slow apps from lagging the desktop
* presentation-feedback: minor fixupsVaxry2024-08-304-10/+14
|
* xdg-dialog: implement new protocolVaxry2024-08-304-2/+169
|
* data-device: send dndFinished when dnd offer is destroyed while unfinishedVaxry2024-08-284-1/+16
| | | | | | | | fixes #7496 see https://invent.kde.org/plasma/kwin/-/commit/711c5bb43f2823766d5189dc8d567c8f4cec253c see https://bugs.kde.org/show_bug.cgi\?id\=482142
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-2632-138/+138
| | | now we roll loops at blazing constified speed.
* core: make most for loops use const references (#7527)Tom Englund2024-08-266-15/+15
| | | | why not let the compiler optimise things for us at hyprspeeds when we can.
* build: fix 32bit builds (#7510)Tom Englund2024-08-261-1/+5
| | | | | | | ensure the correct type is passed to std::clamp and std::max int64_t is different on 64bit compared to 32bit, also in presentationtime tv_sec is __time_t and on 32bit its a 32bit type so right shift count >= width of type. so only bit shift on 64bit. and avoid potential nullptr deref in the for loops, check for .end() before *it <= endID.
* sessionLock: fix misc:allow_session_lock_restore (#7511)Maximilian Seidler2024-08-261-7/+0
| | | | | | | | | | * Revert "sessionLock: fix the check for locking a locked session (#6843)" This reverts commit 9ff83f4aa97269bf26381a84501d0b19f1926961. * sessionLock: remove early check for session beeing locked It is checked in the `onNewSessionLock` handler, which also respects the `misc:allow_session_lock_restore` option.
* screencopy: fixup 10-bit sharing via shm on nvidiavaxerski2024-08-232-2/+2
|
* output: dont cast enum out of range (#7448)Tom Englund2024-08-211-1/+1
| | | | avoid casting non typed enum out of range, looks like WL_OUTPUT_MODE_CURRENT was the intention here.
* screencopy: fix 10b format r/b flipvaxerski2024-08-181-0/+4
|
* protocol: fix logm template checksvaxerski2024-08-181-1/+1
|
* screencopy: nuke unused stuffvaxerski2024-08-181-11/+0
|
* linux-dmabuf: allow on split-node systemsvaxerski2024-08-181-2/+1
| | | | ref #7364
* shm: align size to stride (#7383)Tom Englund2024-08-181-1/+1
| | | calculate the size to the stride we got to better align it.
* protocols: refactor protocol logging to a macro (#7324)Tom Englund2024-08-1545-104/+42
| | | | | | this avoids the usage of the unique_ptr PROTO::protocol before it has been constructed incase one wants to log something inside the constructor itself, move the logging to macros and print file:linenumber on ERR,CRIT,WARN and classname on the rest of the levels.
* gamma-control: fix crash on monitor disconnect (#7353)Maximilian Seidler2024-08-151-1/+1
|
* protocols: avoid crashing in drmlease (#7290)Tom Englund2024-08-121-5/+4
| | | | | | | instead of potentially causing wonky behaviour from destructing in the constructor add the unique_ptr reset to doLater and dont use the not done constructed protolog in the constructor, call Debug::log directly. see issue #7240
* internal: introduce new types to avoid unsigned int rollover and signed int ↵Tom Englund2024-08-082-2/+2
| | | | | | | | | | | | | | | | | | | | overflow (#7216) * framebuffer: avoid gluint overflow GLuint was being initialized to -1 and rolling over to unsigned int max, its defined behaviour but very unnecessery. add a bool and use it for checking if allocated or not. * opengl: avoid gluint rollover -1 rolls over to unsigned int max, use 0xFF instead. * core: big uint64_t to int type conversion there were a few uint64_t to int implicit conversions overflowing int and causing UB, make all monitor/workspaces/windows use the new typedefs. also fix the various related 64 to 32 implicit conversions going around found with -Wshorten-64-to-32
* wayland/compositor: introduce client commit eventsVaxry2024-08-073-3/+6
|