summaryrefslogtreecommitdiff
path: root/src/layout/MasterLayout.cpp
Commit message (Collapse)AuthorAgeFilesLines
* master: fix placement with center_ignores_reserved (#12695)UjinT342025-12-271-12/+14
|
* rules/windowRuleApplicator: fix min/max size effects (#12491)Vaxry2025-12-271-2/+2
| | | fixes #12412
* debug: move to hyprutils' logger (#12673)Vaxry2025-12-181-3/+3
|
* layouts: fix maximize sizeVaxry2025-12-061-1/+1
|
* desktop: rewrite reserved area handling + improve tests (#12383)Vaxry2025-12-051-81/+78
|
* compositor: Configurable behavior when window to be focused conflicts with ↵Nikolai Nechaev2025-11-251-24/+15
| | | | | | | | | | 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
|
* windowrules: rewrite completely (#12269)Vaxry2025-11-171-10/+10
| | | | | | | 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
|
* layouts: apply [min|max]size window rules to dwindle & master layouts (#11898)Richard Potter2025-10-131-0/+22
| | | Uses min/max rules in the tiled layouts, akin to pseudotiling
* internal: fix clang-tidy "errors" (#11862)UjinT342025-09-291-2/+2
|
* masterlayout: add previous mode for focusmaster command (#11361)Maaz Ahmed2025-08-161-6/+21
|
* refactor: Use new hyprutils casts (#11377)Kamikadze2025-08-141-9/+9
|
* master: avoid crash if openingon null in onWindowCreatedVaxry2025-08-061-4/+4
|
* ci: correct tar command for xz compression & fix typos (#11213)xqso2025-07-251-1/+1
|
* master: add ignoremaster to swapwithmasterVaxry2025-07-161-2/+5
| | | | fixes #11042
* internal: refactor to use empty() (#10599)Kamikadze2025-05-311-1/+1
|
* refactor: use std::ranges whenever possible (#10584)Kamikadze2025-05-301-12/+11
|
* managers: refactor class member vars (#10242)davc0n2025-05-021-3/+3
|
* inputs: refactor class member vars (#10230)davc0n2025-05-011-5/+5
|
* master: Change center_master_slaves_on_right to center_master_fallback (#10201)Zetta1 Reid02025-05-011-6/+12
| | | * Change center_master_slaves_on_right to center_master_fallback
* layouts: refactor class member vars (#10228)davc0n2025-05-011-54/+54
|
* helpers: refactor class member vars (#10218)davc0n2025-04-301-43/+43
|
* windows: refactor class member vars (#10168)davc0n2025-04-281-63/+63
|
* workspaces: refactor class member vars (#10167)davc0n2025-04-251-20/+20
|
* compositor: refactor class member vars (#10141)davc0n2025-04-221-12/+12
|
* 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
|
* master: add option to keep master window position (#9537)nyx2025-03-061-2/+16
|
* 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: avoid .at() and use [] operator (#9347)Tom Englund2025-02-061-1/+1
| | | avoid .at() where it makes sense and use [] operator in loops.
* 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
* 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-18/+18
| | | | | | | | | | | | | * 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
* master: add option to show slaves on left in center orientation (#8940)Zetta1 Reid02025-01-071-5/+15
| | | Co-authored-by: Zetta1_Reid0 <11255-Zetta1_Reid0@users.noreply.gitlab.xfce.org>
* master: make loop around optional when cycling (#8926)Sergio Miguéns2025-01-041-5/+16
|
* master: replace always_center_master with slave_count_for_center_master (#8871)khushal-solves2024-12-291-14/+14
| | | | | | | | | - Replaced boolean config parameter `always_center_master` to an integer value `slave_count_for_center_master` for more control on when to center master window. - Also updated configuration parameter, type, description and related internal variable. New description: **when using orientation=center, make the master window centered only when at least this many slave windows are open. (Set 0 to always_center_master)** This effects center orientation of master layout. Now, user can control when the master window would be centered
* core: Add clang-tidy (#8664)Vaxry2024-12-071-1/+1
| | | | | This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
* master: make center ignore reserved areas (#8625)UjinT342024-12-021-6/+7
|
* core: workspace-related function cleanup / refactorVaxry2024-11-221-1/+1
| | | | 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-2/+2
| | | | fixes #8495
* groups: add merge_groups_on_groupbar (#8362)Aqa-Ib2024-11-061-13/+7
|
* 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-20/+20
|
* 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-2/+0
|
* config/layout: nuke no_gaps_when_only (#8072)Vaxry2024-10-111-25/+5
|
* layout: add auto_group to control default grouping (#7883)Aqa-Ib2024-10-021-20/+0
|