summaryrefslogtreecommitdiff
path: root/src/desktop/Popup.cpp
Commit message (Collapse)AuthorAgeFilesLines
* desktop: cleanup, unify desktop elements as views (#12563)Vaxry2025-12-081-449/+0
|
* input: Add fully configurable trackpad gestures (#11490)Vaxry2025-08-281-1/+1
| | | Adds configurable trackpad gestures
* internal: Solitary clients with single subsurface & verbose ↵UjinT342025-08-221-0/+6
| | | | | solitary/tearing/DS checks (#11228) Adds more verbose checks for various conditional rendering mechanisms
* refactor: Use new hyprutils casts (#11377)Kamikadze2025-08-141-6/+6
|
* popup: remove wlSurface ownership on destroyVaxry2025-08-031-0/+1
| | | | fixes #11320
* popup: fix animation configsVaxry2025-08-031-1/+3
|
* popup: imorove logging, use fadeAlpha for opacityVaxry2025-08-031-1/+5
|
* renderer: add popup fade-in-out (#11313)Vaxry2025-08-031-3/+56
| | | Adds xdg popup fade-in and fade-out
* core: use new typed signals from hu (#10853)outfoxxed2025-07-081-11/+9
|
* desktop: cleanup code and use std::ranges (#10289)s1dd2025-05-081-1/+0
|
* popup: damage old size on unmap as well as new (#10306)Vaxry2025-05-061-0/+8
| | | | | | fixes #10305 chromium for some reason sets the popup size to like 8x8 at the same time as unmapping
* protocols: refactor class member vars (u-z) (#10282)davc0n2025-05-041-26/+27
| | | | | * protocols: refactor class member vars (u-z) * protocols: 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-7/+7
|
* helpers: refactor class member vars (#10218)davc0n2025-04-301-2/+2
|
* windows: refactor class member vars (#10168)davc0n2025-04-281-6/+5
|
* workspaces: refactor class member vars (#10167)davc0n2025-04-251-3/+3
|
* layers: refactor class member vars (#10149)davc0n2025-04-241-112/+114
| | | | | * layers: refactor class member vars * popups: rename m_WLSurface to m_wlSurface
* subsurfaces: dont try to access popup surfaces when handling subsurface ↵nyx2025-02-171-0/+7
| | | | updates (#9421)
* popup: improve ::at() behaviorvaxerski2025-02-061-8/+9
|
* desktop: move popups to UPs and fix missing subsurface resourceVaxry2025-02-011-7/+8
| | | | fixes #9283
* popup: take xdg geometry into account in input calcsVaxry2025-02-011-5/+7
| | | | fixes #9023
* desktop: move popup and subsurface ctors to factoriesVaxry2025-02-011-16/+29
| | | | | | | | makes sure m_pSelf is set before we do anything like possibly adding children fixes #9275 supersedes #9276
* popup: stop refocusing at unmapVaxry2025-01-291-3/+4
| | | | fixes #9018
* 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-16/+19
|
* 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/+4
| | | Cleanup some unneeded includes to speed up compilation
* core: move parts of the animation system to hyprutils (#8868)Maximilian Seidler2025-01-071-2/+2
| | | | | | | | | | | | | * 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
* core: Add clang-tidy (#8664)Vaxry2024-12-071-4/+1
| | | | | This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
* popup: minor cleanupsVaxry2024-11-091-3/+10
| | | | | | don't iterate over unmapped popups in breadthfirst, don't refocus if it wasnt in focus ref #8293
* internal: few more marginal optimisations from profiling (#8271)Tom Englund2024-10-281-1/+2
| | | | | | | | | | | | | | | | | * deco: reduce local temporars and function calls profiling shows this is a high used function, reduce the amount of function calls and local temporar copies and also check if we even need to add extents at all in the loop. * popup: optimize bfhelper in popups pass nodes as const reference and reserve the size of the children node vector help reduce the reallocations. * procotol: make compositor bfhelper use const ref use const ref for nodes and reserve second nodes vector size to reduce amount of reallocation needed.
* input: try to refocus a focusable window when seat grabs are reset (#7669)outfoxxed2024-09-071-0/+7
|
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-261-5/+5
| | | now we roll loops at blazing constified speed.
* xdg-shell: completely rewrite xdg-positioner (#7067)outfoxxed2024-07-271-5/+5
| | | This implementation actually works.
* Core: Move to aquamarine (#6608)Vaxry2024-07-211-2/+3
| | | | | | | | | | | | | | Moves Hyprland from wlroots to aquamarine for the backend. --------- Signed-off-by: Vaxry <vaxry@vaxry.net> Co-authored-by: Mihai Fufezan <mihai@fufexan.net> Co-authored-by: Jan Beich <jbeich@FreeBSD.org> Co-authored-by: vaxerski <vaxerski@users.noreply.github.com> Co-authored-by: UjinT34 <41110182+UjinT34@users.noreply.github.com> Co-authored-by: Tom Englund <tomenglund26@gmail.com> Co-authored-by: Ikalco <73481042+ikalco@users.noreply.github.com> Co-authored-by: diniamo <diniamo53@gmail.com>
* wayland/core: move to new impl (#6268)Vaxry2024-06-081-23/+24
| | | | | * wayland/core/dmabuf: move to new impl it's the final countdown
* core: free more memory on destruction (#6348)Tom Englund2024-06-061-1/+1
| | | | | | | | | | | | | | | | | | * pointermgr: add destructor to state and free buf if the pointer has a buffer set it wont be freed upon destruction, make asan more happy by adding a destructor and wlr_buf_unlock it on exit. * cursormgr: free the animation timer event source properly free the animation timer event source on destruction. * compositor: free the critsig event source on exit properly free the critical signal event source on exit. * popup: clang format style clang format.
* popup: minor safety improvementsVaxry2024-06-051-3/+20
|
* popup: clip input region to surface sizeVaxry2024-05-171-1/+3
| | | | fixes #6125
* seatmgr: Add a grab classVaxry2024-05-141-8/+12
|
* xdg-shell: move to new implVaxry2024-05-141-68/+48
|
* popups: fix breadthfirst and atVaxry2024-05-101-1/+2
| | | | fixes #5977
* popups: avoid infinite recursion in bfVaxry2024-05-101-1/+2
|
* layer-shell: move to new implVaxry2024-05-091-1/+46
| | | | Also bumps the hw-s dep
* internal: new shared_ptr and weak_ptr implementation (#5883)Vaxry2024-05-051-13/+13
| | | | | | | | | | | 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-12/+23
| | | | fixes #5878
* layerSurface: refactor/move to a memory-safe implVaxry2024-04-301-1/+1
| | | | | 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-9/+9
| | | | | | | | | | | | | | | | | * Window storage rework - part 1 * format * remove useless include * fix pch * format * fix crash in dwindle * fix vram leak * prefer .expired() for bool checks
* popups: more safety in damage checkingVaxry2024-04-041-1/+4
|