summaryrefslogtreecommitdiff
path: root/src/protocols/SessionLock.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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