aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/protocols
AgeCommit message (Collapse)Author
2024-10-09output: update state even if no owner exists (#8044)trianta
2024-10-09output/xdg-output: avoid sending events to released globalsVaxry
ref #6835
2024-10-09screencopy: fix screencopy frames not being cleaned up (#8017)Ikalco
--------- Co-authored-by: Vaxry <[email protected]>
2024-10-05single-pixel: set buffer size to 1,1Vaxry
2024-10-05xdg-output: minor cleanupsVaxry
2024-09-30wayland/output: send geometry in updateStateVaxry
2024-09-30wlr-output-management: accept 0 refresh ratesVaxry
fixes #7879
2024-09-30protocol: fix missing includeTrianta
2024-09-30single-pixel-buffer: new protocol implVaxry
fixes #6624
2024-09-28core: Fix Musl builds (#7934)bivsk
Musl does not include the internal type `__time_t`. Use `time_t` instead.
2024-09-26wlr-output-configuration: Improve output configuration (#7571)Vaxry
2024-09-24internal: nuke wlsignal and relatedVaxry
old semi-wrappers for wl_signal, they are no longer used
2024-09-20shm: send a static list of shm formatsVaxry
fixes #7733
2024-09-20dmabuffer: attempt importing failed dmabufs as implicitVaxry
don't ask me why, vulkan doesn't like this. funny note, broken on wlroots :P fixes #7037
2024-09-17gammactrl: fix potential crash on monitor removed (#7828)André Silva
2024-09-17data-device: conform to reported source actionsvaxerski
fixes #7815
2024-09-14data-device: don't send default action of moveVaxry
gtk doesn't like it?
2024-09-14data-device: send clock time in motion eventsVaxry
remove hack
2024-09-10textinput: handle IME resetting (#7731)Sungyoon Cho
2024-09-05textinput: fix ime activation in some edge cases (#7660)Sungyoon Cho
* textinput: clear ti3 state when focused surface gets destroyed * textinput: send enter to newly created ti in focus
2024-09-03Revert "syncobj: wait for deadline instead of available"vaxerski
This reverts commit cf6a1716ae719f9c59b1d175ca84a79015fab8e1. Fixes #7628
2024-08-31core: fix crash on monitor removed with gammaControl (#7601)Ikalco
* fix crash on monitor removed with gammaControl * Update GammaControl.cpp
2024-08-31data-device: Fix selection mismatch when wlr resets primary selection (#7598)TheMical
2024-08-31syncobj: wait for deadline instead of availableVaxry
avoids slow apps from lagging the desktop
2024-08-30presentation-feedback: minor fixupsVaxry
2024-08-30xdg-dialog: implement new protocolVaxry
2024-08-28data-device: send dndFinished when dnd offer is destroyed while unfinishedVaxry
fixes #7496 see https://invent.kde.org/plasma/kwin/-/commit/711c5bb43f2823766d5189dc8d567c8f4cec253c see https://bugs.kde.org/show_bug.cgi\?id\=482142
2024-08-26misc: constify the remaining for loops (#7534)Tom Englund
now we roll loops at blazing constified speed.
2024-08-26core: make most for loops use const references (#7527)Tom Englund
why not let the compiler optimise things for us at hyprspeeds when we can.
2024-08-26build: fix 32bit builds (#7510)Tom Englund
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.
2024-08-26sessionLock: fix misc:allow_session_lock_restore (#7511)Maximilian Seidler
* 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.
2024-08-23screencopy: fixup 10-bit sharing via shm on nvidiavaxerski
2024-08-21output: dont cast enum out of range (#7448)Tom Englund
avoid casting non typed enum out of range, looks like WL_OUTPUT_MODE_CURRENT was the intention here.
2024-08-18screencopy: fix 10b format r/b flipvaxerski
2024-08-18protocol: fix logm template checksvaxerski
2024-08-18screencopy: nuke unused stuffvaxerski
2024-08-18linux-dmabuf: allow on split-node systemsvaxerski
ref #7364
2024-08-18shm: align size to stride (#7383)Tom Englund
calculate the size to the stride we got to better align it.
2024-08-15protocols: refactor protocol logging to a macro (#7324)Tom Englund
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.
2024-08-15gamma-control: fix crash on monitor disconnect (#7353)Maximilian Seidler
2024-08-12protocols: avoid crashing in drmlease (#7290)Tom Englund
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
2024-08-08internal: introduce new types to avoid unsigned int rollover and signed int ↵Tom Englund
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
2024-08-07wayland/compositor: introduce client commit eventsVaxry
2024-08-07drm-syncobj: fixup fd leak with timelinesVaxry
2024-08-07xdg-shell: make xdg-positioner flip target greatest available space (#7209)outfoxxed
When both flip directions use more space than is available, pick the direction that has more space available instead of just the opposite of what was initially requested.
2024-08-06wayland/compositor: drop pending buffer ref if synchronousVaxry
fixes https://github.com/hyprwm/hyprpicker/issues/85
2024-08-06renderer: Explicit sync fixes (#7151)Vaxry
Enables explicit sync by default for most platforms `misc:no_direct_scanout` -> `render:direct_scanout`
2024-08-03wayland/surface: fixup self-owning surface rolesVaxry
fixes #7133
2024-08-01xdg-shell: fixup unassigned wl surfaces to xdg surfacesVaxry
fixes #7133
2024-08-01layershell: don't throw misaligned error on exclusive edge 0Vaxry
ref #7108