summaryrefslogtreecommitdiff
path: root/src/protocols/SessionLock.cpp
Commit message (Collapse)AuthorAgeFilesLines
* debug: move to hyprutils' logger (#12673)Vaxry2025-12-181-7/+7
|
* protocols/lock: fix missing output enter on surface (#12448)Tom Englund2025-11-261-1/+5
|
* compositor: Configurable behavior when window to be focused conflicts with ↵Nikolai Nechaev2025-11-251-3/+3
| | | | | | | | | | fullscreen (#12033) Renames `misc:new_window_takes_over_fullscreen` into `misc:on_focus_under_fullscreen` and implements the following behavior: - By default, when a tiling window is being focused on a workspace where a fullscreen/maximized window exists, respect the `misc:on_focus_under_fullscreen` config variable.
* sessionlock: fix crash when sendScale is called on a disconnected (#12171)Matteo Golinelli2025-10-311-1/+7
|
* ci: correct tar command for xz compression & fix typos (#11213)xqso2025-07-251-2/+2
|
* core: use new typed signals from hu (#10853)outfoxxed2025-07-081-3/+3
|
* 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.
* protocols: refactor class member vars (n-t) (#10273)davc0n2025-05-041-65/+65
|
* protocols: refactor class member vars (core) (#10259)davc0n2025-05-031-5/+5
|
* helpers: refactor class member vars (#10218)davc0n2025-04-301-3/+3
|
* compositor: refactor class member vars (#10141)davc0n2025-04-221-2/+2
|
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-231-1/+1
|
* protocols: add hyprland_lock_notify_v1 implementation (#9092)Maximilian Seidler2025-01-191-0/+4
|
* core: add LIKELY and UNLIKELY macrosvaxerski2025-01-171-4/+4
| | | | helps the compiler optimize
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-171-1/+2
| | | Cleanup some unneeded includes to speed up compilation
* internal: Move CMonitor to SP (#8178)Vaxry2024-10-191-4/+4
| | | | | * move monitors to sp * XD
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-261-1/+1
| | | now we roll loops at blazing constified speed.
* 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.
* 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.
* core/surface/buffer: Buffer lock/release fixes (#7110)Vaxry2024-07-311-1/+1
|
* sessionLock: fix the check for locking a locked session (#6843)Maximilian Seidler2024-07-111-1/+1
|
* session-lock: fix refocus after unlocking (#6423)Maximilian Seidler2024-06-111-2/+4
|
* wayland/core: move to new impl (#6268)Vaxry2024-06-081-47/+42
| | | | | * wayland/core/dmabuf: move to new impl it's the final countdown
* wl_seat: move to hyprland implVaxry2024-05-141-1/+2
|
* session-lock: don't allow events from rejected locksVaxry2024-05-071-1/+11
| | | | fixes #5913
* internal: new shared_ptr and weak_ptr implementation (#5883)Vaxry2024-05-051-3/+3
| | | | | | | | | | | moves std::shared_ptrs to a new implementation Advantages: - you can dereference a weak_ptr directly. This will obviously segfault on a nullptr deref if it's expired. - this is useful to avoid the .lock() hell where we are 100% sure the pointer _should_ be valid. (and if it isn't, it should throw.) - weak_ptrs are still valid while the SP is being destroyed. - reasoning: while an object (e.g. CWindow) is being destroyed, its `weak_ptr self` should be accessible (the sp is still alive, and so is CWindow), but it's not because by stl it's already expired (to prevent resurrection) - this impl solves it differently. w_p is expired, but can still be dereferenced and used. Creating `s_p`s is not possible anymore, though. - this is useful in destructors and callbacks.
* fractional: set scale before configureVaxry2024-05-021-0/+3
| | | | fixes #5842
* protocols: utilize hyprwayland-scanner 0.3.3 functionsVaxry2024-05-011-10/+8
| | | | stuff like ::version(), ::client(), ::error() etc
* sessionLock: remove m_pLastFocus on destroy of surfaceVaxry2024-05-011-0/+4
| | | | fixes #5822
* sessionLock: call wlr_surface_map/_unmap on the surface manuallyVaxry2024-04-301-1/+6
| | | | | | fixes unmapped subsurfaces etc ref #5816
* sessionLock: set locked after emitting eventVaxry2024-04-301-2/+2
| | | | ref #5816
* sessionLock: fix incorrect protocol error raisedVaxry2024-04-301-1/+1
| | | | fixes #5816
* session-lock: move to new implVaxry2024-04-301-0/+202