summaryrefslogtreecommitdiff
path: root/src/events/Layers.cpp
Commit message (Collapse)AuthorAgeFilesLines
* layerSurface: refactor/move to a memory-safe implVaxry2024-04-301-364/+0
| | | | | 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-2/+2
| | | | | | | | | | | | | | | | | * Window storage rework - part 1 * format * remove useless include * fix pch * format * fix crash in dwindle * fix vram leak * prefer .expired() for bool checks
* workspaces: add visible flagVaxry2024-04-031-1/+1
|
* Workspace/core: Refactor workspace storage (#5380)Vaxry2024-04-021-2/+2
| | | | | * refactor workspaces to use ptrs * clang-format
* layers: don't change workspace on layer restore focus (#5308)MightyPlaza2024-03-281-1/+1
| | | modified: src/events/Layers.cpp
* layershell: release all mouse buttons before focus on new ls (#5219)drendog2024-03-221-0/+1
|
* input: fix minor default cursor reset conditionsVaxry2024-03-091-1/+3
|
* layer-shell: allow for popup creation before mapVaxry2024-03-091-4/+3
| | | | ref https://github.com/jjsullivan5196/wvkbd/issues/65
* input: Rewritten pointer constraints (#4889)Vaxry2024-03-021-4/+3
| | | | | | | | | | | | | | | | | * 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
* xdg: rewrite entire popup implementationVaxry2024-02-291-2/+4
|
* layers: minor fixes for new animationsVaxry2024-02-281-0/+13
|
* layers: add fully featured animationsVaxry2024-02-281-14/+4
| | | | | | | | Adds configs and layerrules to handle them alas fixes #981 I have cooked
* input: track exclusive LSesvaxerski2024-01-191-0/+8
| | | | ref #4465
* focus: prefer sendMotionEventsToFocused for ensuring cursor imageVaxry2023-12-121-1/+1
|
* layer-shell: simulate mouse movement on unmapVaxry2023-11-261-0/+2
|
* Internal: Hyprland box implementation (#3755)Vaxry2023-11-041-7/+7
| | | | | | | * box impl * remove unused operators * missed applyfromwlr
* layershell: support ON_DEMAND keyboard modeVaxry2023-10-221-1/+1
| | | | fixes #2264
* compositor: send preferred scale and transform events to surfacesVaxry2023-10-221-2/+4
| | | | fixes #3635
* internal: Remove all `.c_str()` calls when using `std::vformat` (#3198)Philip Damianik2023-09-061-2/+2
| | | Signed-off-by: pdamianik <39028343+pdamianik@users.noreply.github.com>
* internal: Formatter rework (#3186)Vaxry2023-09-061-6/+6
|
* layers: set proper alpha to top grabbing surfacesvaxerski2023-08-131-3/+6
|
* Keep new mapped layer's alpha zero if the workspace has a fullscreen window ↵zakk42232023-07-121-1/+3
| | | | | (#2686) Co-authored-by: Zakk <zakk@rsdio.com>
* deps: update wlrootsvaxerski2023-06-031-9/+5
|
* layershell: don't enter on unmapped lsvaxerski2023-05-121-1/+1
|
* layers: fix wonky focus on multimonvaxerski2023-05-091-4/+6
|
* layershell: focus if changed keyboard modevaxerski2023-05-081-0/+14
|
* Format: use %lx for all addressesvaxerski2023-04-171-4/+4
|
* internal: release buttons on unmapvaxerski2023-04-071-0/+2
|
* internal: wrap wlr surfaces (#1822)Vaxry2023-03-201-2/+7
|
* LS: add blur and ignorezero rulesvaxerski2023-03-171-4/+1
|
* Added an Event Hook System (#1578)Vaxry2023-02-191-0/+2
| | | | | * added an eventHookSystem * Add all socket2 events to hooks
* don't alter LS geom on unmapvaxerski2023-02-101-3/+0
|
* fixup LS fs-v1 calcsvaxerski2023-02-101-3/+3
|
* fixup ls geom calcs on wp-fs-v1vaxerski2023-02-081-2/+9
|
* use surface size to determine LS sizevaxerski2023-02-081-6/+6
|
* bring back dynamic ls geom updatesvaxerski2023-02-041-3/+3
|
* fixup LS scaling implvaxerski2023-01-291-5/+4
|
* notify of fractional scale for LS-esvaxerski2023-01-291-0/+4
|
* better ls noanim handlingvaxerski2023-01-251-6/+0
|
* added layer rulesvaxerski2023-01-251-1/+12
|
* remove old comment and fixup lsl var namevaxerski2023-01-221-12/+12
|
* Normalize color storagevaxerski2023-01-051-2/+2
| | | | | | Colors are now normalized to 0 - 1 values instead of 0 - 255 causes calculations to be simpler and generally cleans up the codebase.
* Added clang format (#1239)Vaxry2022-12-161-27/+37
| | | * clang-format stuff and format files
* fix safety over ls outputsvaxerski2022-11-031-5/+7
|
* unify LS unmap focusvaxerski2022-10-251-1/+22
|
* add open/close layer eventsvaxerski2022-10-071-0/+4
|
* enter outputs for non-interactive ls-es toovaxerski2022-09-291-1/+2
|
* Remove trailing whitespace.Felix Dick2022-09-251-2/+2
|
* guard unsafe state in unmap lsvaxerski2022-09-051-1/+1
|