summaryrefslogtreecommitdiff
path: root/src/helpers/Vector2D.hpp
Commit message (Collapse)AuthorAgeFilesLines
* core: Move to hyprutils for MathVaxry2024-06-191-133/+0
| | | | | | Moves CRegion, CBox and Vector2D over to hyprutils. Requires hyprutils>=0.1.4
* cursor: move to a hyprland implVaxry2024-05-091-0/+1
| | | | | | | This moves wlr_cursor to a completely new impl mostly under CPointerManager Also adds beginSimple to OpenGL for simple render passes (e.g. cursor)
* Migrate the config to hyprlang (#4656)Vaxry2024-02-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Migrate to hyprlang * pop up errors * fix swapped args * Meson & Nix: build with hyprlang * CI: add hyprlang to setup action * add infra for plugin stuff * fix hyprctl getoption * fix hyprctl getoption with json * format * fix post parse logic * fix autogen config * oops missed exec-once * fmt * fix ws rules * require 0.3.0 for hyprlang * nix: flaek * minor type fixes * fix cfg usages in swipe * use cvarlist for ws rules * fix throw in addPluginConfigVar * Nix: update hyprlang * minor fixes * fix disableLogs * mention hyprlang docs * bump hyprlang dep in cmake * Meson: bump min hyprlang version Nix: update hyprlang * minor fix * Nix: update meson patch --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* vector: avoid min0 clamps without a max being invalidVaxry2024-02-051-1/+1
|
* input: focus window on mouse down on decoration (#4514)MightyPlaza2024-02-041-0/+2
| | | Also unifies vectorToWindow funcs
* dwindle: fix windows being created at incorrect position when cursor is over ↵rszyma2024-01-261-2/+0
| | | | | | | | | | | reserved area (#4520) * fix: smart_split not working correctly when creating a window with cursor over reserved area * use getClosestNodeOnWorkspace instead of getFirstNodeOnWorkspace when hovering over reserved area * optimize `getClosestNodeOnWorkspace` * remove unused methods
* vector: New operator overloads and small fix in Vector2D. (#3891)Dickby2023-11-181-2/+32
|
* decorations: Decoration Positioner (#3800)Vaxry2023-11-111-0/+1
|
* compositor: find windows in direction on floatingVaxry2023-11-051-1/+1
|
* Internal: Hyprland box implementation (#3755)Vaxry2023-11-041-0/+3
| | | | | | | * box impl * remove unused operators * missed applyfromwlr
* Vector2D: fix typo in includeMihai Fufezan2023-09-201-1/+1
|
* logging: implement std::formatter for some types (#3380)memchr2023-09-201-0/+35
|
* internal: add a new monitor auto systemvaxerski2023-08-141-0/+8
|
* internal: cleanup headers in helpers/vaxerski2023-08-071-1/+1
|
* Add support for smart splitting (#2676)Daniel Adolfsson2023-07-111-0/+2
| | | | | | | * Add support for smart splitting * clang-format * smart_split default to 0, and make smart_split behave like preserve_split
* xwayland: send zero scaling to xwayland if enabledvaxerski2023-06-231-4/+4
|
* Resize on border (#1347)Ching Pei Yang2023-02-181-1/+3
|
* fixup LS scaling implvaxerski2023-01-291-0/+4
|
* Added clang format (#1239)Vaxry2022-12-161-6/+6
| | | * clang-format stuff and format files
* Viewporter implementaion (#585)Vaxry2022-08-281-0/+4
| | | Implementation of the `wp_viewporter` core protocol and some bugfixes
* added Vector2D::clampvaxerski2022-07-021-0/+2
|
* return const refs + vec constantizevaxerski2022-04-231-6/+6
|
* layers should work nowvaxerski2022-03-191-1/+0
|
* change to lists, titles etcvaxerski2022-03-181-6/+6
|
* input basicsvaxerski2022-03-171-0/+11
|
* added vector2dvaxerski2022-03-161-0/+29