summaryrefslogtreecommitdiff
path: root/src/protocols/PrimarySelection.cpp
Commit message (Collapse)AuthorAgeFilesLines
* config/lua: init lua config manager, use lua if available (#13817)Vaxry2026-04-261-1/+1
| | | Adds a new lua config manager, which will automatically be used if there is a lua config present.
* debug: move to hyprutils' logger (#12673)Vaxry2025-12-181-18/+18
|
* refactor: Use new hyprutils casts (#11377)Kamikadze2025-08-141-1/+1
|
* core: use new typed signals from hu (#10853)outfoxxed2025-07-081-1/+1
|
* xwayland: Fix crash when copying from wayland to xwayland (#10786)Jasson2025-06-191-1/+3
|
* refactor: use std::ranges whenever possible (#10584)Kamikadze2025-05-301-3/+3
|
* protocols: refactor class member vars (n-t) (#10273)davc0n2025-05-041-71/+71
|
* protocols: refactor class member vars (types) (#10261)davc0n2025-05-031-3/+3
|
* managers: refactor class member vars (#10242)davc0n2025-05-021-8/+8
|
* core: begin using CFileDescriptor from hyprutils (#9122)Tom Englund2025-01-301-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config: make fd use CFileDescriptor make use of the new hyprutils CFileDescriptor instead of manual FD handling. * hyprctl: make fd use CFileDescriptor make use of the new hyprutils CFileDescriptor instead of manual FD handling. * ikeyboard: make fd use CFileDescriptor make use of the new CFileDescriptor instead of manual FD handling, also in sendKeymap remove dead code, it already early returns if keyboard isnt valid, and dont try to close the FD that ikeyboard owns. * core: make SHMFile functions use CFileDescriptor make SHMFile misc functions use CFileDescriptor and its associated usage in dmabuf and keyboard. * core: make explicit sync use CFileDescriptor begin using CFileDescriptor in explicit sync and its timelines and eglsync usage in opengl, there is still a bit left with manual handling that requires future aquamarine change aswell. * eventmgr: make fd and sockets use CFileDescriptor make use of the hyprutils CFileDescriptor instead of manual FD and socket handling and closing. * eventloopmgr: make timerfd use CFileDescriptor make the timerfd use CFileDescriptor instead of manual fd handling * opengl: make gbm fd use CFileDescriptor make the gbm rendernode fd use CFileDescriptor instead of manual fd handling * core: make selection source/offer use CFileDescriptor make data selection source and offers use CFileDescriptor and its associated use in xwm and protocols * protocols: convert protocols fd to CFileDescriptor make most fd handling use CFileDescriptor in protocols * shm: make SHMPool use CfileDescriptor make SHMPool use CFileDescriptor instead of manual fd handling. * opengl: duplicate fd with CFileDescriptor duplicate fenceFD with CFileDescriptor duplicate instead. * xwayland: make sockets and fds use CFileDescriptor instead of manual opening/closing make sockets and fds use CFileDescriptor * keybindmgr: make sockets and fds use CFileDescriptor make sockets and fds use CFileDescriptor instead of manual handling.
* core: add LIKELY and UNLIKELY macrosvaxerski2025-01-171-8/+8
| | | | helps the compiler optimize
* core: Add clang-tidy (#8664)Vaxry2024-12-071-2/+2
| | | | | This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
* internal: Remove some unused lambda captures (#8218)Honkazel2024-10-241-1/+1
|
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-261-4/+4
| | | now we roll loops at blazing constified speed.
* protocols: refactor protocol logging to a macro (#7324)Tom Englund2024-08-151-2/+0
| | | | | | 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.
* primary-selection: move to hyprland implVaxry2024-05-141-0/+338