summaryrefslogtreecommitdiff
path: root/src/layout/DwindleLayout.cpp
Commit message (Collapse)AuthorAgeFilesLines
* rules/windowRuleApplicator: fix min/max size effects (#12491)Vaxry2025-12-271-1/+1
| | | fixes #12412
* debug: move to hyprutils' logger (#12673)Vaxry2025-12-181-6/+6
|
* desktop: cleanup, unify desktop elements as views (#12563)Vaxry2025-12-081-2/+3
|
* layouts: fix maximize sizeVaxry2025-12-061-1/+1
|
* desktop: rewrite reserved area handling + improve tests (#12383)Vaxry2025-12-051-96/+100
|
* compositor: Configurable behavior when window to be focused conflicts with ↵Nikolai Nechaev2025-11-251-9/+10
| | | | | | | | | | fullscreen (#12033) Renames `misc:new_window_takes_over_fullscreen` into `misc:on_focus_under_fullscreen` and implements the following behavior: - By default, when a tiling window is being focused on a workspace where a fullscreen/maximized window exists, respect the `misc:on_focus_under_fullscreen` config variable.
* windowrules: fix group rule recalcs (#12403)Vaxry2025-11-201-0/+2
|
* dwindle: Revert rework split logic to be fully gap-aware (#12047)Vaxry2025-11-181-79/+26
| | | | | | This reverts commit 151b5f69783b111831e8c5dc062904a221799d7b. Fixes #12380
* windowrules: rewrite completely (#12269)Vaxry2025-11-171-12/+12
| | | | | | | Reworks the window rule syntax completely --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* internal: fix crash at startup on FreeBSD (#12298)Hiroki Tagato2025-11-131-0/+2
| | | | | Hyprland at the latest commit crashes at starting up on FreeBSD with SIGSEGV. Checking the validity of g_pXWayland->m_wm before calling updateWorkArea() appears to fix the issue.
* xwayland: set _NET_WORKAREA property (#12148)jmanc32025-10-291-0/+6
|
* dwindle: rework split logic to be fully gap-aware (#12047)crossatko2025-10-241-26/+79
|
* layouts: apply [min|max]size window rules to dwindle & master layouts (#11898)Richard Potter2025-10-131-1/+27
| | | Uses min/max rules in the tiled layouts, akin to pseudotiling
* dwindle: simplify split_bias logic and set of possible values. (#11448)Mike Will2025-08-191-3/+2
|
* refactor: Use new hyprutils casts (#11377)Kamikadze2025-08-141-4/+4
|
* dwindle: fix single_window_aspect_ratio not updating with config reload (#11305)Rico2025-08-021-3/+3
| | | | | * dwindle: fix single_window_aspect_ratio not updating with config reload * refactor: dereference instead of using ptr method
* ci: correct tar command for xz compression & fix typos (#11213)xqso2025-07-251-1/+1
|
* dwindle: add the ability to specify an aspect ratio for a singular window ↵Viktor2025-06-101-6/+30
| | | | (#10650)
* layouts: refactor class member vars (#10228)davc0n2025-05-011-40/+40
|
* helpers: refactor class member vars (#10218)davc0n2025-04-301-28/+28
|
* windows: refactor class member vars (#10168)davc0n2025-04-281-82/+82
|
* workspaces: refactor class member vars (#10167)davc0n2025-04-251-7/+7
|
* dwindle: use idealIgnoreReserved for moveWindowTo bbsVaxry2025-04-231-6/+8
| | | | fixes #10005
* compositor: refactor class member vars (#10141)davc0n2025-04-221-10/+10
|
* config: Refactor class member vars (#10124)davc0n2025-04-201-2/+2
| | | | | * Refactor config classes vars * Fix clang format errors
* windowrules: allow incrementing window props (#9566)MightyPlaza2025-04-161-0/+1
|
* dwindle: ignore fullscreen window for positioning when ↵rszyma2025-04-131-1/+1
| | | | | | | use_active_for_splits=false (#9838) * fix(dwindle): ignore fullscreen window for positioning when use_active_for_splits=false * rename NON_FULLSCREEN -> SKIP_FULLSCREEN_PRIORITY
* window: move size reporting to animation begin callback (#9298)Maximilian Seidler2025-02-061-4/+0
| | | | | | | | | | | | | | | | | * window: fix resizes with an update callback * window: fixup sendWindowSize Remove the size argument from sendWindowSize, since it is now a member of the Window class and we don't want any mismatches between m_vRealSize and what we report. Remove sendWindowSize from mapWindow, since we shouldn't need it. * window: sendWindowSize on animation begin * window: move most calls to sendWindowSize to the animation begin callback * window: remove sendWindowSize in unmanaged if not fullscreen
* core: update groups on movewindow (#9183)user1111111111111111111111111111111112025-01-261-0/+9
|
* core: move sendWindowSize off of xwaylandmgrVaxry2025-01-251-2/+2
| | | | additionally fixes that one weird x11 issue with floating windows being mis-sized on open
* dwindle: fix possible crash on null wsVaxry2025-01-251-2/+2
|
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-171-0/+4
| | | Cleanup some unneeded includes to speed up compilation
* core: move parts of the animation system to hyprutils (#8868)Maximilian Seidler2025-01-071-19/+19
| | | | | | | | | | | | | * 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
* internal: remove dead code (#8748)Ikalco2024-12-171-17/+0
|
* core: drop using deques in favor of vectorsVaxry2024-12-161-13/+11
| | | | No point in most of these.
* core: Add clang-tidy (#8664)Vaxry2024-12-071-4/+4
| | | | | This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
* core: workspace-related function cleanup / refactorVaxry2024-11-221-3/+3
| | | | CCompositor is massive, and has a lot of functions that could be better optimized if in CWorkspace
* windows/xdg: minor cleanup of min/max size calculationsVaxry2024-11-171-1/+1
| | | | fixes #8495
* groups: add merge_groups_on_groupbar (#8362)Aqa-Ib2024-11-061-5/+0
|
* internal: check size limit in layouts (#8298)MightyPlaza2024-10-301-1/+3
| | | | | | | | | | | modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/events/Windows.cpp modified: src/helpers/MiscFunctions.cpp modified: src/helpers/MiscFunctions.hpp modified: src/layout/DwindleLayout.cpp modified: src/layout/IHyprLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/macros.hpp
* core: move internal structures to monitor pointers (#8266)Vaxry2024-10-271-9/+9
|
* internal: Move CMonitor to SP (#8178)Vaxry2024-10-191-4/+3
| | | | | * move monitors to sp * XD
* layout: move applyGroupRules() to onWindowCreated() (#8139)Aqa-Ib2024-10-161-4/+0
|
* config/layout: nuke no_gaps_when_only (#8072)Vaxry2024-10-111-26/+4
|
* layout: add auto_group to control default grouping (#7883)Aqa-Ib2024-10-021-20/+1
|
* dwindle: add movetoroot method to layout messages (#7903)Luke Chen2024-09-291-0/+42
|
* dwindle: add config option `split_bias` (#7920)Mike Will2024-09-281-1/+7
| | | | | | | | If `default_split_ratio` is greater than 1.0, `split_bias` will give the bigger half to a specific window: 0 - positional (default) 1 - current window 2 - opening window
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-261-2/+2
| | | now we roll loops at blazing constified speed.
* core: make most for loops use const references (#7527)Tom Englund2024-08-261-1/+1
| | | | why not let the compiler optimise things for us at hyprspeeds when we can.
* decorations: fix manual resize not recalculating decos (#7323)MightyPlaza2024-08-131-0/+2
| | | | modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp