summaryrefslogtreecommitdiff
path: root/src/desktop/WLSurface.cpp
Commit message (Collapse)AuthorAgeFilesLines
* desktop: cleanup, unify desktop elements as views (#12563)Vaxry2025-12-081-240/+0
|
* surface: fix xwayland zero scaling damage calcs (#12123)Vaxry2025-10-241-5/+6
|
* renderer: clean up surface UV size calcs, fix issues (#12070)Vaxry2025-10-191-3/+5
|
* renderer: fix uv calculations once and for all (#11770)Vaxry2025-09-211-3/+5
| | | fixes synchronization of ackd sizes, fixes wrong xdg stuff
* refactor: Use new hyprutils casts (#11377)Kamikadze2025-08-141-2/+2
|
* core: use new typed signals from hu (#10853)outfoxxed2025-07-081-1/+1
|
* render: refactor class member vars (#10292)davc0n2025-05-051-2/+2
| | | | | * render: refactor class member vars * render: fix clang format
* protocols: refactor class member vars (a-m) (#10265)davc0n2025-05-041-1/+1
|
* protocols: refactor class member vars (core) (#10259)davc0n2025-05-031-20/+21
|
* windows: refactor class member vars (#10168)davc0n2025-04-281-3/+3
|
* workspaces: refactor class member vars (#10167)davc0n2025-04-251-77/+77
|
* layers: refactor class member vars (#10149)davc0n2025-04-241-3/+3
| | | | | * layers: refactor class member vars * popups: rename m_WLSurface to m_wlSurface
* core/compositor: Correctly track SHM buffer damage (#9678)Lee Bousfield2025-03-221-1/+1
|
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-171-1/+3
| | | 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
* renderer: Fix resize artifacts (stretching, bumps) (#7499)Vaxry2024-10-051-1/+1
|
* core/surface/buffer: Buffer lock/release fixes (#7110)Vaxry2024-07-311-12/+11
|
* surface: avoid crashes on fading out layersvaxerski2024-07-271-1/+1
|
* layersurface: fixup focus issues in onUnmapvaxerski2024-07-271-0/+9
| | | | fixes #6929
* surface: fix zero_scaling xwayland damageVaxry2024-07-231-0/+3
|
* surface: fixup logical damage size calculationsVaxry2024-07-221-12/+29
| | | | fixes #6618
* core: Move to hyprutils for MathVaxry2024-06-191-1/+1
| | | | | | Moves CRegion, CBox and Vector2D over to hyprutils. Requires hyprutils>=0.1.4
* wayland/core: move to new impl (#6268)Vaxry2024-06-081-50/+45
| | | | | * wayland/core/dmabuf: move to new impl it's the final countdown
* wl_seat: move to hyprland implVaxry2024-05-141-2/+0
|
* cursor: move to a hyprland implVaxry2024-05-091-1/+1
| | | | | | | This moves wlr_cursor to a completely new impl mostly under CPointerManager Also adds beginSimple to OpenGL for simple render passes (e.g. cursor)
* 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.
* idle-inhibit: fix and cleanup visibility logicVaxry2024-05-041-0/+12
| | | | fixes #5878
* layerSurface: refactor/move to a memory-safe implVaxry2024-04-301-7/+7
| | | | | Makes all the pointers smart to avoid memory issues Refactors layerSurface code to live inside desktop/layersurface
* internal: Window storage rework - part 1 (#5762)Vaxry2024-04-271-16/+18
| | | | | | | | | | | | | | | | | * Window storage rework - part 1 * format * remove useless include * fix pch * format * fix crash in dwindle * fix vram leak * prefer .expired() for bool checks
* pointer-constraints: move to new implVaxry2024-04-271-6/+7
|
* input: Rewritten pointer constraints (#4889)Vaxry2024-03-021-0/+22
| | | | | | | | | | | | | | | | | * rewritten constraints * send pointer enter on activate if not pointer focus * minor cleanup * simulate movement on commit * don't ignore oneshot prop * various fixes * dont send motion on confined * update pos hint on region change
* animations: Refactor AnimatedVariable (#4911)GartoxFR2024-03-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | * 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-8/+72
|
* refactor: move a few things to desktop/Vaxry2024-02-291-0/+110