summaryrefslogtreecommitdiff
path: root/src/protocols/DataDeviceWlr.cpp
Commit message (Collapse)AuthorAgeFilesLines
* fix: address copilot review commentsclip-permlittleblack1112026-02-151-0/+84
| | | | | | | | - Fix log level from INFO to DEBUG in DataDevice.cpp for offer operations - Remove unused permissionToHumanString function - Add I18n keys for clipboard read/write permissions - Add primary selection permission check in XWM.cpp (was only checking clipboard) - Add async permission handling in DataDeviceWlr.cpp for zwlr protocol
* fix: use correct log levels for clipboard permission messageslittleblack1112026-02-151-6/+6
| | | | | | Use Log::INFO instead of Log::LOG (which doesn't exist) in DataDeviceWlr.cpp and DataDevice.cpp. Also use the new Log::logger->log() style in XWM.cpp instead of the deprecated Debug::log().
* cliplittleblack1112026-02-151-0/+32
|
* debug: move to hyprutils' logger (#12673)Vaxry2025-12-181-18/+18
|
* refactor: Use new hyprutils casts (#11377)Kamikadze2025-08-141-1/+1
|
* refactor: use std::ranges whenever possible (#10584)Kamikadze2025-05-301-3/+3
|
* protocols: refactor class member vars (a-m) (#10265)davc0n2025-05-041-73/+73
|
* protocols: refactor class member vars (types) (#10261)davc0n2025-05-031-3/+3
|
* managers: refactor class member vars (#10242)davc0n2025-05-021-2/+2
|
* 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-2/+2
|
* data-device: Fix selection mismatch when wlr resets primary selection (#7598)TheMical2024-08-311-1/+1
|
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-261-2/+2
| | | now we roll loops at blazing constified speed.
* core: make most for loops use const references (#7527)Tom Englund2024-08-261-3/+3
| | | | why not let the compiler optimise things for us at hyprspeeds when we can.
* 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-10/+26
|
* wlr-data-device: move to hyprland implVaxry2024-05-141-0/+310