summaryrefslogtreecommitdiff
path: root/src/desktop/LayerSurface.cpp
Commit message (Collapse)AuthorAgeFilesLines
* desktop: cleanup code and use std::ranges (#10289)s1dd2025-05-081-2/+2
|
* render: refactor class member vars (#10292)davc0n2025-05-051-1/+1
| | | | | * render: refactor class member vars * render: fix clang format
* protocols: refactor class member vars (a-m) (#10265)davc0n2025-05-041-39/+39
|
* protocols: refactor class member vars (core) (#10259)davc0n2025-05-031-7/+7
|
* managers: refactor class member vars (#10242)davc0n2025-05-021-4/+4
|
* inputs: refactor class member vars (#10230)davc0n2025-05-011-6/+6
|
* helpers: refactor class member vars (#10218)davc0n2025-04-301-36/+36
|
* input: don't use pointer hold logic for unmapped surfsVaxry2025-04-301-1/+1
| | | | fixes #10215
* layerrules: add abovelock to render above lockscreen (#9793)Virt2025-04-251-3/+10
|
* workspaces: refactor class member vars (#10167)davc0n2025-04-251-1/+1
|
* layers: refactor class member vars (#10149)davc0n2025-04-241-203/+203
| | | | | * layers: refactor class member vars * popups: rename m_WLSurface to m_wlSurface
* compositor: refactor class member vars (#10141)davc0n2025-04-221-7/+7
|
* layerSurface: warp position and size before taking a snapshot (#10054)Vaxry2025-04-131-0/+4
|
* input/layers: Fix exclusive LS focus / refocus after unmap (#9984)Vaxry2025-04-071-3/+4
|
* hyprctl/layers: print pid for layershell clients (#9468)littleblack1112025-02-261-0/+12
| | | Adds a `getPID()` fn to layershell to print it in `hyprctl layers`
* desktop: move popup and subsurface ctors to factoriesVaxry2025-02-011-4/+3
| | | | | | | | makes sure m_pSelf is set before we do anything like possibly adding children fixes #9275 supersedes #9276
* desktop: fix segfault when destroying a partially create layer surface (#9247)Brayden Zee2025-01-311-1/+2
|
* renderer/internal: stop using box pointersVaxry2025-01-261-5/+5
| | | | in favor of const refs
* desktop: move desktop types to memory-safe pointersVaxry2025-01-261-5/+6
|
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-231-1/+1
|
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-171-0/+6
| | | Cleanup some unneeded includes to speed up compilation
* core: move parts of the animation system to hyprutils (#8868)Maximilian Seidler2025-01-071-45/+43
| | | | | | | | | | | | | * core: change animation manager to use Hyprutils::Animation * config: move animation config to hyprutils animation tree * use g_pAnimationManager->createAnimation and the new PHLANIMVAR template * core: use CGenericAnimatedVariabled::{enabled,setConfig,getStyle} and adapt callbacks * core: adapt animated variable usage (dereference the shared pointer) * misc: bump CMakeLists to hyprutils 0.3.3
* layershell: return focus to a valid ls on close if possiblevaxerski2025-01-011-1/+1
|
* Renderer: rewrite render scheduling (#8683)Vaxry2024-12-221-1/+1
| | | This rewrites renderer scheduling. Occlusion is now unified in a new Pass type.
* layerrules: fix ignorezero not workingVaxry2024-12-161-1/+2
| | | | fixes #8737
* core: Optimize window/layer rule application and scanning (#8735)Vaxry2024-12-161-32/+50
| | | Optimizes window and layer rule parsing and later usage.
* layersurface: use lastMonitor and not monitor from cursor for new lsVaxry2024-12-111-1/+1
| | | | fixes #8622
* miscfunctions: move configStringToInt to std::expectedVaxry2024-11-181-1/+1
|
* tablet: use inputMgr unified naming schemeVaxry2024-11-091-2/+5
| | | | ref #8301
* layershell: minor cleanups and improvements to focusVaxry2024-11-091-5/+14
| | | | ref #8293
* layershell: check if workspace is valid in onMapVaxry2024-11-061-2/+1
| | | | ref #8296
* core: move internal structures to monitor pointers (#8266)Vaxry2024-10-271-10/+14
|
* internal: Move CMonitor to SP (#8178)Vaxry2024-10-191-3/+3
| | | | | * move monitors to sp * XD
* config: add order rule for layers (#7697)darkwater2024-09-091-0/+5
|
* 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.
* layersurface: don't unref from monitor until dtorVaxry2024-08-241-6/+6
| | | | reee
* layersurface: remove layer on destroy from monitor (#7457)Tom Englund2024-08-231-0/+6
| | | | | remove destroyed layer weakptrs on destroy, we can hit multiple null ptr derefs in renderering on mirroring and unmirroring displays otherwise.
* layersurface: dont rollover on size_t (#7451)Tom Englund2024-08-211-2/+2
| | | unneded rollover on size_t if force equals -1
* internal: introduce new types to avoid unsigned int rollover and signed int ↵Tom Englund2024-08-081-2/+2
| | | | | | | | | | | | | | | | | | | | overflow (#7216) * framebuffer: avoid gluint overflow GLuint was being initialized to -1 and rolling over to unsigned int max, its defined behaviour but very unnecessery. add a bool and use it for checking if allocated or not. * opengl: avoid gluint rollover -1 rolls over to unsigned int max, use 0xFF instead. * core: big uint64_t to int type conversion there were a few uint64_t to int implicit conversions overflowing int and causing UB, make all monitor/workspaces/windows use the new typedefs. also fix the various related 64 to 32 implicit conversions going around found with -Wshorten-64-to-32
* window/ls: reset core signals after destroyVaxry2024-08-021-0/+5
| | | | fixes #7137
* core/surface/buffer: Buffer lock/release fixes (#7110)Vaxry2024-07-311-1/+1
|
* 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
* layer-shell: avoid crashes on unmap (#7092)Virt2024-07-291-1/+1
|
* layersurface: null check for surface validity before unmap()vaxerski2024-07-281-2/+4
|
* layer-shell: properly map and unmap surface and propagate unmap eventsvaxerski2024-07-271-0/+4
|
* layersurface: fixup focus issues in onUnmapvaxerski2024-07-271-1/+4
| | | | fixes #6929
* debug: get rid of useless 1s in logs (#6969)Ikalco2024-07-221-3/+3
| | | | | * get rid of 1s in logs lol * replace WLR with AQ in logs
* core: Move to hyprutils for MathVaxry2024-06-191-2/+2
| | | | | | Moves CRegion, CBox and Vector2D over to hyprutils. Requires hyprutils>=0.1.4
* layerSurface: fix layer being refocused every commit with on_demand (#6487)outfoxxed2024-06-141-3/+2
| | | | | | | | | | | * layerSurface: fix layer being refocused every commit with on_demand Fixes #6477 The surface will now only receive focus when its keyboard interactivity is more than the previous keyboard interactivity in the order none -> on_demand -> exclusive. * layerSurface: only kb focus if becoming exclusive