summaryrefslogtreecommitdiff
path: root/src/desktop
Commit message (Collapse)AuthorAgeFilesLines
* xwayland: various window handling fixesVaxry2025-01-251-4/+4
| | | | I hate this fucking garbage
* window: only set m_iMonitorMovedFrom, when moving to a different monitor (#9160)Maximilian Seidler2025-01-251-2/+3
|
* animations: fix borderangle once (#9149)Maximilian Seidler2025-01-242-0/+9
|
* protocols: add hyprland_surface_v1.set_visible_region implementation (#9120)outfoxxed2025-01-231-1/+2
|
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-2311-37/+38
|
* core: reserve vector sizes as much as we can (#9118)Tom Englund2025-01-191-0/+2
| | | | | avoid reallocations as much as possible with a few edge cases where the reservation overshoots a tiny bit. but a few bytes of memory short term is better used then the overhead of potential reallocation.
* desktop/DesktopTypes.hpp: fix include (#9104)Beau2025-01-171-1/+1
|
* regex: log an error if regex parsing failsvaxerski2025-01-171-0/+5
|
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-179-4/+26
| | | Cleanup some unneeded includes to speed up compilation
* keybinds: fix previous_per_monitor logic (#9010)Alexander2025-01-112-19/+13
| | | Co-authored-by: Крылов Александр <aleksandr.krylov@hyperus.team>
* core: always use goal size to send to clientsvaxerski2025-01-101-1/+1
|
* windows: honor xdg_toplevel_set_fullscreen output hint (#8965)Dardo D Kleiner2025-01-092-5/+18
| | | Co-authored-by: Dardo D Kleiner <dardo.kleiner@nrl.navy.mil>
* window: fixup fade out animation on silent movesvaxerski2025-01-071-3/+3
|
* core: minor fixes for animation rewritevaxerski2025-01-071-1/+1
|
* core: Add support for HDR and color management protocols (#8715)UjinT342025-01-071-0/+1
|
* core: move parts of the animation system to hyprutils (#8868)Maximilian Seidler2025-01-079-246/+217
| | | | | | | | | | | | | * 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
* renderer: Add supercircular window corners (#8943)Pollux2025-01-053-10/+21
| | | | | | | renderer: Add supercircular shadows and borders config: Add rounding_power to default and example configs rule: add `roundingpower` window rule
* protocols: fix alpha-modifier noncompliance (#8929)outfoxxed2025-01-021-1/+1
| | | | Also fixes small issues with hyprland-surface opacity < 1.0 while surface alpha = 1.0.
* protocols: add hyprland_surface_v1 implementation (#8877)outfoxxed2025-01-011-1/+4
|
* layershell: return focus to a valid ls on close if possiblevaxerski2025-01-011-1/+1
|
* internal: update window position/size after changing fullscreenstate (#8865)khushal-solves2024-12-271-3/+3
| | | This effects fullscreen group of floating windows.
* Renderer: rewrite render scheduling (#8683)Vaxry2024-12-221-1/+1
| | | This rewrites renderer scheduling. Occlusion is now unified in a new Pass type.
* core: fade in windows when they are brought from invisible workspacesVaxry2024-12-222-0/+8
|
* windowrules: add negative: prefix for negating a regexVaxry2024-12-214-21/+48
| | | | fixes #8799
* windowrules: precompute regexes for window/layer rulesVaxry2024-12-214-3/+26
|
* internal: Make static analysis more happy (#8767)Ikalco2024-12-191-1/+1
| | | | | | | | | * make functions used in 1 file static * fix invalid substr param -1 * give default initializer to borderGradier * move RASSERT from printf to std::print
* internal: remove dead code (#8748)Ikalco2024-12-172-10/+0
|
* windowrules: fixup duplicate rule enum tagsVaxry2024-12-172-15/+0
| | | | fixes #8746
* windowrules: fix prop rules with boolean valuesVaxry2024-12-161-1/+1
|
* layerrules: fix ignorezero not workingVaxry2024-12-161-1/+2
| | | | fixes #8737
* core: Move regex from stdlib to re2 (#8736)Vaxry2024-12-161-2/+4
| | | Moves the regex handling from stdlib to re2
* core: Optimize window/layer rule application and scanning (#8735)Vaxry2024-12-168-203/+447
| | | Optimizes window and layer rule parsing and later usage.
* core: drop using deques in favor of vectorsVaxry2024-12-161-3/+3
| | | | No point in most of these.
* layersurface: use lastMonitor and not monitor from cursor for new lsVaxry2024-12-111-1/+1
| | | | fixes #8622
* windowrules: add rules for mouse and touchpad scroll factors (#8655)Mike Will2024-12-112-0/+22
|
* workspace: update hasFullscreenWindow in updateWindowsVaxry2024-12-111-0/+2
|
* config: add 'force' option for 'cursor:warp_on_change_workspace' (#8681)Pavel Belyavsky2024-12-102-4/+4
| | | | | | | * config: add 'force' option for 'cursor:warp_on_change_workspace' * manager: throw the expression into the function arguments * config: fix description of `cursor:warp_on_change_workspace`
* core: Fix workspace selector parsing (#8687)Alexander Iliev2024-12-101-3/+3
| | | | | Search for the closing bracket when parsing a workspace selector. This is needed when the `m[desc:<monitor description>]` selector is used, as the monitor description always contains spaces.
* core: Add clang-tidy (#8664)Vaxry2024-12-074-29/+21
| | | | | 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: fixup some missed updateColorsOk() callsVaxry2024-12-031-0/+2
|
* core: move colorspace handling to oklab (#8635)Vaxry2024-12-032-3/+3
| | | | | | | | | | | * Meson: add hyprgraphics * Nix: add hyprgraphics * CI/setup_base: get hyprgraphics-git --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* binds: add option to allow fullscreening a pinned window (#8526)littleblack1112024-11-231-0/+3
|
* core: workspace-related function cleanup / refactorVaxry2024-11-223-30/+177
| | | | CCompositor is massive, and has a lot of functions that could be better optimized if in CWorkspace
* internal: fix some misused configStringToInt conversionsVaxry2024-11-202-3/+3
| | | | fixes #8523
* miscfunctions: move configStringToInt to std::expectedVaxry2024-11-182-5/+5
|
* windows/xdg: minor cleanup of min/max size calculationsVaxry2024-11-172-10/+35
| | | | fixes #8495
* renderer: don't render unmapped popupsVaxry2024-11-171-2/+2
| | | | fixes #8485
* tablet: use inputMgr unified naming schemeVaxry2024-11-091-2/+5
| | | | ref #8301
* 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
* layershell: minor cleanups and improvements to focusVaxry2024-11-091-5/+14
| | | | ref #8293