summaryrefslogtreecommitdiff
path: root/src/desktop/Subsurface.cpp
Commit message (Collapse)AuthorAgeFilesLines
* desktop: cleanup, unify desktop elements as views (#12563)Vaxry2025-12-081-228/+0
|
* compositor: Configurable behavior when window to be focused conflicts with ↵Nikolai Nechaev2025-11-251-2/+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.
* subsurface: check surface size in damageLastAreaVaxry2025-08-031-2/+10
| | | | akin to CPopup, which already does this
* core: use new typed signals from hu (#10853)outfoxxed2025-07-081-10/+7
|
* protocols: refactor class member vars (core) (#10259)davc0n2025-05-031-22/+22
|
* windows: refactor class member vars (#10168)davc0n2025-04-281-6/+6
|
* workspaces: refactor class member vars (#10167)davc0n2025-04-251-78/+78
|
* layers: refactor class member vars (#10149)davc0n2025-04-241-3/+3
| | | | | * layers: refactor class member vars * popups: rename m_WLSurface to m_wlSurface
* compositor: refactor class member vars (#10141)davc0n2025-04-221-1/+1
|
* desktop: Damage subsurface when position changes (#10094)Lee Bousfield2025-04-161-20/+14
|
* subsurfaces: dont try to access popup surfaces when handling subsurface ↵nyx2025-02-171-2/+2
| | | | updates (#9421)
* desktop: move popups to UPs and fix missing subsurface resourceVaxry2025-02-011-0/+2
| | | | fixes #9283
* desktop: move popup and subsurface ctors to factoriesVaxry2025-02-011-24/+41
| | | | | | | | makes sure m_pSelf is set before we do anything like possibly adding children fixes #9275 supersedes #9276
* core,hyprctl: clang, clang-tidy, typo fixes and dtors changes (#9233)Honkazel2025-01-301-4/+0
| | | | | | | * declare dtor once + DMABBUF typo fix * dup include + clang moment * linux-dmabuf: last minute nit change
* subsurface: fix invalid parent typoVaxry2025-01-291-1/+1
| | | | fixes #9224
* 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-6/+8
|
* subsurface: damage the entire parent on size changeVaxry2025-01-251-4/+13
| | | | | | the previous method doesn't exactly work, idk todo fix fixes #8784
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-231-2/+2
|
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-171-0/+2
| | | Cleanup some unneeded includes to speed up compilation
* core: move parts of the animation system to hyprutils (#8868)Maximilian Seidler2025-01-071-1/+1
| | | | | | | | | | | | | * 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
* internal: nuke wlsignal and relatedVaxry2024-09-241-7/+1
| | | | old semi-wrappers for wl_signal, they are no longer used
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-261-3/+3
| | | now we roll loops at blazing constified speed.
* wayland/core: move to new impl (#6268)Vaxry2024-06-081-78/+44
| | | | | * wayland/core/dmabuf: move to new impl it's the final countdown
* internal: new shared_ptr and weak_ptr implementation (#5883)Vaxry2024-05-051-6/+6
| | | | | | | | | | | 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: fix and cleanup visibility logicVaxry2024-05-041-0/+11
| | | | fixes #5878
* internal: Window storage rework - part 1 (#5762)Vaxry2024-04-271-15/+15
| | | | | | | | | | | | | | | | | * Window storage rework - part 1 * format * remove useless include * fix pch * format * fix crash in dwindle * fix vram leak * prefer .expired() for bool checks
* subsurface: init existing subsurfaces on children creationsVaxry2024-04-061-24/+10
| | | | fixes #5333
* workspaces: add visible flagVaxry2024-04-031-1/+1
|
* subsurface: fix visibility checkVaxry2024-03-141-1/+1
| | | | ref #5113
* subsurface/popup: expand on map/unmap to add bufferingVaxry2024-03-141-0/+2
| | | | ref #5113
* subsurface: don't update transform on unmapVaxry2024-03-051-3/+0
| | | | fixes #4969
* surface: fix damage tearing feedbackVaxry2024-03-051-18/+0
| | | | fixes #4935
* config: improve config value infrastructureVaxry2024-03-031-2/+3
|
* animations: Refactor AnimatedVariable (#4911)GartoxFR2024-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * animation: Refactor AnimatedVariable This commit decomposes the AnimatedVariable class into a base class with the common attribute to all variable types and a templated derived type containing strongly typed info on the type being animated. Access to the typed version is perfomed using the visitor pattern. A utility is provided to build a visitor on the fly using lambdas. Adding a new type to be animated should just be a matter of adding the typed in the list defined by the ANIMABLE_TYPES macro The size of the commit is justified by the API change in the AnimatedVariable class. No more vec(), fl() or col() method but a unified value() method. * animation: Remove visitor pattern * animation: Fix coding style * animation: Fix coding style
* surface: unify ownersVaxry2024-02-291-3/+7
|
* xdg: rewrite entire popup implementationVaxry2024-02-291-16/+35
|
* refactor: move a few things to desktop/Vaxry2024-02-291-0/+238