summaryrefslogtreecommitdiff
path: root/src/managers/input/IdleInhibitor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* debug: move to hyprutils' logger (#12673)Vaxry2025-12-181-2/+2
|
* desktop/view: use aliveAndVisible for most things (#12631)Vaxry2025-12-111-4/+4
|
* desktop: cleanup, unify desktop elements as views (#12563)Vaxry2025-12-081-4/+4
|
* windowrules: rewrite completely (#12269)Vaxry2025-11-171-3/+3
| | | | | | | Reworks the window rule syntax completely --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* refactor: Use new hyprutils casts (#11377)Kamikadze2025-08-141-2/+2
|
* core: use new typed signals from hu (#10853)outfoxxed2025-07-081-3/+3
|
* protocols: refactor class member vars (a-m) (#10265)davc0n2025-05-041-5/+5
|
* inputs: refactor class member vars (#10230)davc0n2025-05-011-5/+5
|
* windows: refactor class member vars (#10168)davc0n2025-04-281-4/+4
|
* workspaces: refactor class member vars (#10167)davc0n2025-04-251-1/+1
|
* compositor: refactor class member vars (#10141)davc0n2025-04-221-1/+1
|
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-231-1/+1
|
* hyprctl: add an inhibitingIdle field to windowsVaxry2024-12-131-13/+41
| | | | fixes #4322
* core: Add clang-tidy (#8664)Vaxry2024-12-071-1/+0
| | | | | This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
* core: workspace-related function cleanup / refactorVaxry2024-11-221-1/+1
| | | | CCompositor is massive, and has a lot of functions that could be better optimized if in CWorkspace
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-261-1/+1
| | | now we roll loops at blazing constified speed.
* core: make most for loops use const references (#7527)Tom Englund2024-08-261-1/+1
| | | | why not let the compiler optimise things for us at hyprspeeds when we can.
* internal: refactor fullscreen states (#7104)MightyPlaza2024-07-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refactor fullscreen modified: src/Compositor.cpp modified: src/Compositor.hpp modified: src/config/ConfigManager.cpp modified: src/config/ConfigManager.hpp modified: src/debug/HyprCtl.cpp modified: src/desktop/LayerSurface.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/desktop/Workspace.cpp modified: src/desktop/Workspace.hpp modified: src/events/Windows.cpp modified: src/helpers/Monitor.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/DwindleLayout.hpp modified: src/layout/IHyprLayout.cpp modified: src/layout/IHyprLayout.hpp modified: src/layout/MasterLayout.cpp modified: src/layout/MasterLayout.hpp modified: src/managers/KeybindManager.cpp modified: src/managers/KeybindManager.hpp modified: src/managers/input/IdleInhibitor.cpp modified: src/managers/input/InputManager.cpp modified: src/managers/input/Swipe.cpp modified: src/protocols/ForeignToplevelWlr.cpp modified: src/render/Renderer.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * clean up modified: src/config/ConfigManager.cpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.hpp modified: src/desktop/Workspace.cpp modified: src/events/Windows.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/Swipe.cpp * fix mapWindow fullscreen modified: src/events/Windows.cpp * fix typo modified: src/desktop/Workspace.cpp * add fullscreenstate modified: src/config/ConfigManager.cpp modified: src/events/Windows.cpp * change syncFullscreen to lower modified: src/config/ConfigManager.hpp * initialize fs state modified: src/desktop/Window.hpp
* debug: get rid of useless 1s in logs (#6969)Ikalco2024-07-221-1/+1
| | | | | * get rid of 1s in logs lol * replace WLR with AQ in logs
* wayland/core: move to new impl (#6268)Vaxry2024-06-081-2/+2
| | | | | * wayland/core/dmabuf: move to new impl it's the final countdown
* internal: new shared_ptr and weak_ptr implementation (#5883)Vaxry2024-05-051-2/+2
| | | | | | | | | | | 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.
* idle-inhibit: enable idle inhibitor if no hl surface is associated (#5882)Sungyoon Cho2024-05-051-4/+6
|
* idle-inhibit: fix and cleanup visibility logicVaxry2024-05-041-12/+19
| | | | fixes #5878
* ext-idle-notify: move to new implVaxry2024-04-291-9/+10
|
* internal: Window storage rework - part 1 (#5762)Vaxry2024-04-271-4/+4
| | | | | | | | | | | | | | | | | * Window storage rework - part 1 * format * remove useless include * fix pch * format * fix crash in dwindle * fix vram leak * prefer .expired() for bool checks
* idle-inhibit: Always recheck idle inhibitors on creation and deletion (#5738)zakk42232024-04-251-13/+12
| | | Formatting
* idle-inhibit: move to new implVaxry2024-04-211-41/+19
|
* inhibitor: always destroy on window unmapVaxry2024-04-121-5/+16
| | | | ref #5555
* workspaces: add visible flagVaxry2024-04-031-1/+1
|
* Workspace/core: Refactor workspace storage (#5380)Vaxry2024-04-021-1/+1
| | | | | * refactor workspaces to use ptrs * clang-format
* logging: implement std::formatter for some types (#3380)memchr2023-09-201-1/+1
|
* internal: Remove all `.c_str()` calls when using `std::vformat` (#3198)Philip Damianik2023-09-061-1/+1
| | | Signed-off-by: pdamianik <39028343+pdamianik@users.noreply.github.com>
* internal: Formatter rework (#3186)Vaxry2023-09-061-1/+1
|
* idle: implement new protocolvaxerski2023-07-131-6/+6
|
* Format: use %lx for all addressesvaxerski2023-04-171-1/+1
|
* Added clang format (#1239)Vaxry2022-12-161-8/+9
| | | * clang-format stuff and format files
* Add an idleinhibit windowrulevaxerski2022-10-311-0/+21
|
* added support for wlr_idle_inhibitor_v1vaxerski2022-07-061-0/+54