summaryrefslogtreecommitdiff
path: root/src/render/decorations/IHyprWindowDecoration.hpp
Commit message (Collapse)AuthorAgeFilesLines
* renderer/deco: add glow decoration (#13862)Vaxry2026-03-271-0/+1
|
* desktop: cleanup, unify desktop elements as views (#12563)Vaxry2025-12-081-1/+0
|
* render: refactor class member vars (#10292)davc0n2025-05-051-1/+1
| | | | | * render: refactor class member vars * render: fix clang format
* core,hyprctl: clang, clang-tidy, typo fixes and dtors changes (#9233)Honkazel2025-01-301-1/+1
| | | | | | | * declare dtor once + DMABBUF typo fix * dup include + clang moment * linux-dmabuf: last minute nit change
* core: Add clang-tidy (#8664)Vaxry2024-12-071-3/+3
| | | | | This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
* internal: more profiling less calls and local copies (#8300)Tom Englund2024-10-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * compositor: reduce amount of window box copies mousemoveunified can call this very frequently, the cbox copying actually shows up as an impact in such cases, move it down in the scope and only do it when necessery. * core: constify and reference frequent calls profiling shows these as frequent called functions try to reduce the amount of copies with references and const the variables. * pointermgr: remove not used local copy, const ref remove unneded local copies and const ref cursorsize. * inputmgr: reduce amount of calls to vectortowindow the amount of calls to g_pCompositor->vectorToWindowUnified fast ramps up in cpu usage with enough windows existing and moving the mouse, move the PWINDOWIDEAL up and reuse it if its already the same. * protocol: compositor remove unused local copy remove unused local copy of accumulateCurrentBufferDamage and const previousBuffer. * renderer: reduce scope of variables and refactor move a few variables down in their scopes to reduce the amount of calls and copies when not needed, also add one more for loop in renderWorkspaceWindows and store the windows in a vector with weakpointers that should be rendered, this adds a loop but reduces the amount of repeated calls to shouldRenderWindow and also makes the rest of the loops go over way smaller vector when many windows exist.
* internal: Move CMonitor to SP (#8178)Vaxry2024-10-191-1/+1
| | | | | * move monitors to sp * XD
* core: Move to hyprutils for MathVaxry2024-06-191-1/+1
| | | | | | Moves CRegion, CBox and Vector2D over to hyprutils. Requires hyprutils>=0.1.4
* 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
* renderer/animations: Fix various inaccurate damage tracking issues and ↵thejch2024-03-311-1/+1
| | | | offsets (#5297)
* internal: minor include fixes and missed formatvaxerski2023-12-291-1/+1
|
* internal: Unify input handling on decorations (#4280)dranull2023-12-281-5/+2
| | | | | | | * Unify input handling on decorations * Make input methods private * Optional data
* hyprctl: add decorations (#4275)MightyPlaza2023-12-281-0/+2
| | | | | | | | | | | | | | | | | | * add hyprctl decorations modified: hyprctl/main.cpp modified: src/debug/HyprCtl.cpp modified: src/render/decorations/CHyprBorderDecoration.cpp modified: src/render/decorations/CHyprBorderDecoration.hpp modified: src/render/decorations/CHyprDropShadowDecoration.cpp modified: src/render/decorations/CHyprDropShadowDecoration.hpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.hpp modified: src/render/decorations/IHyprWindowDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.hpp * fixes modified: hyprctl/main.cpp modified: src/render/decorations/IHyprWindowDecoration.cpp
* internal: Remake borders as window decorations (#4104)Vaxry2023-12-101-0/+1
|
* style/ci: apply clang-format and verify it in ci (#4039)François Conzelmann2023-12-061-6/+3
| | | | | * style: apply clang-format * ci: add new clang-format job to CI
* decoration: add NON_SOLID flag for shadowVaxry2023-11-121-0/+1
| | | | fixes #3841
* decorations: Decoration Positioner (#3800)Vaxry2023-11-111-13/+15
|
* Internal: Hyprland box implementation (#3755)Vaxry2023-11-041-5/+0
| | | | | | | * box impl * remove unused operators * missed applyfromwlr
* Decos: Window decoration flags, shadow improvements (#3739)Vaxry2023-11-041-3/+20
|
* input: handle mouse on decorations (#3560)MightyPlaza2023-10-291-0/+6
|
* decos: groupbar mouse interaction (#3102)MightyPlaza2023-08-301-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * allow groupbar clicking modified: src/Window.cpp modified: src/Window.hpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.hpp * remove setting pos inside insertWindowToGroup() modified: src/Window.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp * add group window by index and group size functions modified: src/Window.cpp modified: src/Window.hpp modified: src/managers/input/InputManager.cpp * allow dragging into groupbar modified: src/Window.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp * allow dragging from groupbar modified: src/managers/KeybindManager.cpp * try groupbar clicking before border resize modified: src/managers/input/InputManager.cpp * block grabbing groupbar on floating (crash) remove later when crashing is fixed modified: src/managers/KeybindManager.cpp * remove redundant { } modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp * implement getWindowDecorationBox() modified: src/Window.cpp modified: src/Window.hpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/CHyprDropShadowDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.hpp * fix crash when moveoutofgroup in floating windows also removes dragging from floating windows limitation modified: src/layout/IHyprLayout.cpp modified: src/managers/KeybindManager.cpp * use CRegion in getWindowDecorationBox() modified: src/helpers/Region.cpp modified: src/helpers/Region.hpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/IHyprWindowDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.hpp * add groupbar scrolling modified: src/config/ConfigManager.cpp modified: src/managers/input/InputManager.cpp * change name to getWindowDecorationRegion() modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/IHyprWindowDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.hpp * make dragging from group less hacky for floating modified: src/managers/KeybindManager.cpp
* internal: cleanup headers in helpers/vaxerski2023-08-071-3/+2
|
* Allow decos to request interactivityvaxerski2023-02-281-0/+2
|
* Added decoration reserved areavaxerski2023-02-281-0/+2
|
* Plugin System (#1590)Vaxry2023-02-271-1/+2
| | | | | --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* Added clang format (#1239)Vaxry2022-12-161-6/+7
| | | * clang-format stuff and format files
* offset floating windows out of bounds on ws animsvaxerski2022-10-071-1/+1
|
* missed 2 structsvaxerski2022-07-271-1/+1
|
* added DPMSvaxerski2022-07-271-2/+2
|
* refactor a bunch of layout codevaxerski2022-06-301-1/+1
|
* fix fade with decovaxerski2022-06-251-1/+1
|
* added drop shadowsvaxerski2022-06-251-1/+2
|
* Added IHyprWindowDecoration and Group Barsvaxerski2022-05-281-0/+31