summaryrefslogtreecommitdiff
path: root/src/managers/SessionLockManager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* debug: move to hyprutils' logger (#12673)Vaxry2025-12-181-3/+3
|
* desktop: cleanup, unify desktop elements as views (#12563)Vaxry2025-12-081-1/+4
|
* compositor: Configurable behavior when window to be focused conflicts with ↵Nikolai Nechaev2025-11-251-7/+8
| | | | | | | | | | 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.
* session-lock: explicitly consider dpms states for sending locked or denied ↵Maximilian Seidler2025-07-301-27/+35
| | | | | | | (#11278) * session-lock: explicitly consider dpms states for sending locked or denied * session-lock: check for active monitors before locking
* ci: correct tar command for xz compression & fix typos (#11213)xqso2025-07-251-1/+1
|
* sessionlock: fix flipped if conditionVaxry2025-07-201-1/+1
|
* sessionlock: fix timer logic on unsafe stateVaxry2025-07-191-28/+26
|
* session-lock: don't render workspaces when locked (#10865)Maximilian Seidler2025-07-141-28/+55
| | | Avoid rendering the workspace behind if we are locked
* core: use new typed signals from hu (#10853)outfoxxed2025-07-081-13/+10
|
* protocols: refactor class member vars (n-t) (#10273)davc0n2025-05-041-7/+7
|
* managers: refactor class member vars (#10242)davc0n2025-05-021-34/+34
|
* helpers: refactor class member vars (#10218)davc0n2025-04-301-3/+3
|
* compositor: refactor class member vars (#10141)davc0n2025-04-221-8/+8
|
* session-lock: send locked when in unsafe state (#9399)Maximilian Seidler2025-02-131-2/+8
|
* input: pass touch events to lock screens (#9129)Junxuan Liao2025-01-251-5/+5
| | | | | * refactor: use weak pointers for session lock surfaces * input: pass touch events to lock screens
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-231-2/+2
|
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-171-1/+3
| | | Cleanup some unneeded includes to speed up compilation
* sessionLock: don't send motion events on every surface commit (#8584)Andre Toerien2024-11-271-1/+1
|
* renderer: add lockdead_screen_delay (#8467)Alexandre Acebedo2024-11-171-0/+10
|
* internal: Move CMonitor to SP (#8178)Vaxry2024-10-191-2/+2
| | | | | * move monitors to sp * XD
* session-lock: reset seat grab on a new session lock (#8147)Maximilian Seidler2024-10-171-0/+2
|
* sessionLock: ensure sls focus in some edge cases (#7647)Maximilian Seidler2024-09-041-0/+3
| | | | | | | | | | | | | | | | * input: return early in mouseMoveUnified when the session is locked * sessionLock: make make a commit an opportunity to focus session lock surfaces * compositor: allow resetting focus when session is locked * input: remove redundant PMONITOR checks PMONITOR is checked above * input: check isSessionLocked earlier in mouseMoveUnified A bit of reordering, so that we don't call some stuff that is irrelevant when the session is locked
* renderer: better lockscreen dead behavior (#7574)Vaxry2024-08-291-0/+5
| | | | | --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-261-3/+3
| | | now we roll loops at blazing constified speed.
* core: make most for loops use const references (#7527)Tom Englund2024-08-261-2/+2
| | | | why not let the compiler optimise things for us at hyprspeeds when we can.
* sessionLock: don't sendLocked when session lock has already been destoyed ↵Maximilian Seidler2024-08-021-3/+4
| | | | | | | (#7150) * sessionLock: reset m_pSessionLock on destroy * sessionLock: only send locked when resource is good
* session-lock: send `locked` after the lock screen is properly rendered (#6850)Junxuan Liao2024-07-131-2/+13
| | | | | | | | | | The protocol says: > The locked event "must not be sent until a new "locked" frame (either from a > session lock surface or the compositor blanking the output) has been presented > on all outputs and no security sensitive normal/unlocked content is possibly > visible". This helps users ensure the screen is properly locked before suspending the machine. (e.g. with swaylock --ready-fd)
* sessionLock: focus lock on creation based on mouse position (#6658)outfoxxed2024-06-251-1/+2
| | | | | * sessionLock: focus lock on creation based on mouse position * sessionLock: immediately unfocus any focused surfaces on lock
* wayland/core: move to new impl (#6268)Vaxry2024-06-081-3/+3
| | | | | * wayland/core/dmabuf: move to new impl it's the final countdown
* session-lock: don't allow events from rejected locksVaxry2024-05-071-0/+1
| | | | fixes #5913
* internal: new shared_ptr and weak_ptr implementation (#5883)Vaxry2024-05-051-4/+4
| | | | | | | | | | | 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.
* session-lock: move to new implVaxry2024-04-301-113/+76
|
* Fractional-scale: move to new implVaxry2024-04-201-1/+2
|
* sessionlock: refocus after destroy focused surface (#5117)drendog2024-03-151-0/+11
| | | | | | | | | * fix: refocus after destroy focused surface * refactor: minor refactor on refocus loop condition * refactor: minor refactor on condition * style: format code
* lock: fix red screen issues with multiple monitors (#5100)Maximilian Seidler2024-03-151-3/+19
| | | | | | | | | | | * lock: use uint64_t for iMonitorID * lock: move activateLock to onNewSessionLock * lock: add red screen fade * lock: damage when fading the red screen and delay for screencopy * lock: remove redundant scheduleFrameForMonitor
* config: improve config value infrastructureVaxry2024-03-031-2/+3
|
* sessionLock: send preferred fractional scalevaxerski2024-02-201-0/+2
|
* Migrate the config to hyprlang (#4656)Vaxry2024-02-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Migrate to hyprlang * pop up errors * fix swapped args * Meson & Nix: build with hyprlang * CI: add hyprlang to setup action * add infra for plugin stuff * fix hyprctl getoption * fix hyprctl getoption with json * format * fix post parse logic * fix autogen config * oops missed exec-once * fmt * fix ws rules * require 0.3.0 for hyprlang * nix: flaek * minor type fixes * fix cfg usages in swipe * use cvarlist for ws rules * fix throw in addPluginConfigVar * Nix: update hyprlang * minor fixes * fix disableLogs * mention hyprlang docs * bump hyprlang dep in cmake * Meson: bump min hyprlang version Nix: update hyprlang * minor fix * Nix: update meson patch --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* internal: Formatter rework (#3186)Vaxry2023-09-061-3/+3
|
* deps: update wlrootsvaxerski2023-06-031-1/+1
|
* lock: add allow_session_lock_restorevaxerski2023-05-131-1/+5
|
* reset focus on lock surface destroyvaxerski2023-02-181-0/+3
|
* make a null surface focus reset lastfocusvaxerski2023-02-031-2/+0
|
* clear focus on failed unlock attemptvaxerski2023-02-031-0/+2
|
* Implement ext-session-lock-v1vaxerski2023-02-031-0/+153