summaryrefslogtreecommitdiff
path: root/src/desktop/LayerSurface.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
* layershell: minor fixes to re-mapping of layersVaxry2024-06-121-2/+17
| | | | ref #2012
* layershell: Fix keyboard focus grabs (#4968) (#6394)outfoxxed2024-06-111-47/+40
|
* wayland/core: move to new impl (#6268)Vaxry2024-06-081-26/+31
| | | | | * wayland/core/dmabuf: move to new impl it's the final countdown
* seatmgr: Add a grab classVaxry2024-05-141-0/+2
|
* wl_seat: move to hyprland implVaxry2024-05-141-7/+6
|
* layersurface: avoid restack on identical layersVaxry2024-05-111-0/+2
| | | | ref #6014
* layersurface: fix invalid use of std::moveVaxry2024-05-111-1/+1
| | | | fixes #6014
* layersurface: reset popuphead after unmapVaxry2024-05-101-2/+2
| | | | fixes #5980
* layer-shell: move to new implVaxry2024-05-091-119/+37
| | | | Also bumps the hw-s dep
* 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-1/+1
| | | | fixes #5878
* input: Introduce basic hyprland HID classesVaxry2024-05-031-3/+3
| | | | | | Implements an intermediary HID class for mice, keyboards and touch devices, removing the old structs from WLClasses.hpp Yes, virtual ones are duplicated a bit, but will likely be de-duped once wlr_input_device is not used anymore.
* layerSurface: refactor/move to a memory-safe implVaxry2024-04-301-0/+589
Makes all the pointers smart to avoid memory issues Refactors layerSurface code to live inside desktop/layersurface