summaryrefslogtreecommitdiff
path: root/src/desktop/WLSurface.hpp
Commit message (Collapse)AuthorAgeFilesLines
* desktop: cleanup, unify desktop elements as views (#12563)Vaxry2025-12-081-124/+0
|
* refactor: Use new hyprutils casts (#11377)Kamikadze2025-08-141-1/+1
|
* core: use new typed signals from hu (#10853)outfoxxed2025-07-081-1/+1
|
* workspaces: refactor class member vars (#10167)davc0n2025-04-251-19/+19
|
* protocols: add hyprland_surface_v1.set_visible_region implementation (#9120)outfoxxed2025-01-231-1/+2
|
* core: Add support for HDR and color management protocols (#8715)UjinT342025-01-071-0/+1
|
* protocols: fix alpha-modifier noncompliance (#8929)outfoxxed2025-01-021-1/+1
| | | | Also fixes small issues with hyprland-surface opacity < 1.0 while surface alpha = 1.0.
* protocols: add hyprland_surface_v1 implementation (#8877)outfoxxed2025-01-011-1/+4
|
* layersurface: fixup focus issues in onUnmapvaxerski2024-07-271-0/+1
| | | | fixes #6929
* surface: fixup logical damage size calculationsVaxry2024-07-221-10/+11
| | | | 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-36/+41
| | | | | * wayland/core/dmabuf: move to new impl it's the final countdown
* internal: new shared_ptr and weak_ptr implementation (#5883)Vaxry2024-05-051-7/+7
| | | | | | | | | | | 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/+1
| | | | fixes #5878
* layerSurface: refactor/move to a memory-safe implVaxry2024-04-301-13/+11
| | | | | 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-3/+3
| | | | | | | | | | | | | | | | | * 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-9/+14
|
* alpha-modifier: add support for protocolVaxry2024-04-211-0/+3
|
* input: Rewritten pointer constraints (#4889)Vaxry2024-03-021-3/+15
| | | | | | | | | | | | | | | | | * 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
* surface: unify ownersVaxry2024-02-291-7/+28
|
* refactor: move a few things to desktop/Vaxry2024-02-291-0/+72