summaryrefslogtreecommitdiff
path: root/src/layout
Commit message (Collapse)AuthorAgeFilesLines
* layout: properly assign workspace and monitor when moving a child to the ↵Vaxry2025-05-081-6/+13
| | | | parent (#10338)
* layout: allow interacting with pinned windows when fullscreened (#10326)nyx2025-05-081-1/+1
| | | | | | | * layout: allow interacting with pinned windows when fullscreened * IHyprLayout: format code * e
* xwayland: refactor class member vars (#10312)davc0n2025-05-071-2/+2
| | | | | * xwayland: refactor class member vars * xwayland: fix pure wayland build
* window: use stored size for new floating window when persistentsize is set ↵Jack Barnes2025-05-061-2/+12
| | | | | | | | | | | | | | | (#10212) * fix(window): use stored size for new floating window when persistentsize is set. fix hyprwm#9422. * fix: replace `std::any_of` with `std::ranges:any_of` * fix: use initialClass and initialTitle when storing sizes on close * fix: add `xdgTag` as a new indicator * fix: no {} * fix: format with clang-format
* render: refactor class member vars (#10292)davc0n2025-05-051-1/+1
| | | | | * render: refactor class member vars * render: fix clang format
* protocols: refactor class member vars (u-z) (#10282)davc0n2025-05-041-4/+4
| | | | | * protocols: refactor class member vars (u-z) * protocols: fix clang format
* protocols: refactor class member vars (core) (#10259)davc0n2025-05-031-1/+1
|
* managers: refactor class member vars (#10242)davc0n2025-05-021-3/+3
|
* inputs: refactor class member vars (#10230)davc0n2025-05-012-26/+26
|
* 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-016-169/+169
|
* helpers: refactor class member vars (#10218)davc0n2025-04-303-101/+99
|
* windows: refactor class member vars (#10168)davc0n2025-04-283-292/+291
|
* workspaces: refactor class member vars (#10167)davc0n2025-04-253-31/+31
|
* dwindle: use idealIgnoreReserved for moveWindowTo bbsVaxry2025-04-231-6/+8
| | | | fixes #10005
* compositor: refactor class member vars (#10141)davc0n2025-04-223-35/+35
|
* config: Refactor class member vars (#10124)davc0n2025-04-202-4/+4
| | | | | * Refactor config classes vars * Fix clang format errors
* windowrules: allow incrementing window props (#9566)MightyPlaza2025-04-163-0/+3
|
* IHyprLayout: center floating window at cursor when picked up from fullscreen ↵nyx2025-04-131-2/+7
| | | | (#10063)
* IHyprLayout: respect minimum window size (#10017)nyx2025-04-131-2/+3
| | | | | | * IHyprLayout: respect minimum window size this prevents window warping, before we were not respecting the minimum size which caused the window to move suddenly, even though it would be sized to its minimum size.
* 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
* binds: add drag_threshold for click/drag isolation (#9839)alaricljs2025-04-122-37/+62
| | | | | --------- Co-authored-by: Leeman <lstrout@enlj.com>
* layout: properly track floating window position (#9937)Virt2025-04-061-2/+8
|
* layout: center floating window at cursor when picked up from fullscreen (#9780)nyx2025-04-021-2/+6
| | | | | | | * layout: center floating window at cursor when picked up from fullscreen when picking up a floating window after it had been fullscreened before it would return to its previous position which looked ugly because the cursor could be no where near the windows original position, this patch makes it so that the window is returned to the users current cursor position * E
* windowrules: add option to allow size persistence between app launches (#9422)nyx2025-03-081-2/+10
|
* 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-063-20/+6
| | | | | | | | | | | | | | | | | * 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,hyprctl: clang, clang-tidy, typo fixes and dtors changes (#9233)Honkazel2025-01-303-4/+1
| | | | | | | * declare dtor once + DMABBUF typo fix * dup include + clang moment * linux-dmabuf: last minute nit change
* input: change window grab cursor to closed hand (#9196)Owen L.2025-01-291-1/+1
|
* core: update groups on movewindow (#9183)user1111111111111111111111111111111112025-01-262-0/+18
|
* renderer/internal: stop using box pointersVaxry2025-01-261-5/+3
| | | | in favor of const refs
* core: move sendWindowSize off of xwaylandmgrVaxry2025-01-253-9/+9
| | | | 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
|
* layout: force full damage on toggling floating modeVaxry2025-01-241-1/+1
| | | | fixes #8849
* layout: set window size after toggling floatingVaxry2025-01-241-2/+1
|
* layout: damage window properly on float mode changesVaxry2025-01-231-0/+4
| | | | fixes #8849
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-231-2/+2
|
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-174-1/+14
| | | Cleanup some unneeded includes to speed up compilation
* core: move parts of the animation system to hyprutils (#8868)Maximilian Seidler2025-01-073-87/+87
| | | | | | | | | | | | | * 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>
* snap: don't snap to any windows if workspace has a fullscreen window (#8870)Mike Will2025-01-061-3/+5
|
* master: make loop around optional when cycling (#8926)Sergio Miguéns2025-01-042-6/+17
|
* 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
* snap: give edge snapping precedence over corner snapping (#8873)Mike Will2024-12-291-4/+4
|
* snap: revert #8659, use bounds checking instead of bit mask (#8872)Mike Will2024-12-271-2/+2
| | | | | They seem like the same check, but a snap bit might not be turned on as expected if we grab a different corner after an edge has already been snapped.
* groups: honor group lock window rule (#8782)Aqa-Ib2024-12-211-0/+2
|
* layout: apply group rules after window creation (#8779)Aqa-Ib2024-12-191-3/+3
| | | | | * apply group rules after window creation * clang-format
* 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-18/+0
|