summaryrefslogtreecommitdiff
path: root/src/layout
Commit message (Collapse)AuthorAgeFilesLines
* layout: Focus a floating window after closing the last tiled (#4137)dranull2023-12-121-4/+10
|
* config: improve layoutopt handling for workspacerulesVaxry2023-12-111-7/+6
|
* internal: Remake borders as window decorations (#4104)Vaxry2023-12-102-20/+12
|
* style/ci: apply clang-format and verify it in ci (#4039)François Conzelmann2023-12-061-4/+2
| | | | | * style: apply clang-format * ci: add new clang-format job to CI
* workspacerules: Add workspace rule for master layout orientation (#3964)thejch2023-12-021-4/+12
| | | | | | | | | | | * add workspace rule for master layout orientation * change rule format * edit rule name * use map for layoutopts * use std::any instead of string
* group: fix dragging into floating groups (#3719)MightyPlaza2023-11-191-1/+28
| | | | | | | | | | | * allow dragging into floating groups modified: src/Compositor.cpp modified: src/Compositor.hpp modified: src/layout/IHyprLayout.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * floating-only modified: src/layout/IHyprLayout.cpp
* layout: Don't update pseudoSize after window moved by mouse. (#3873)Dickby2023-11-181-1/+2
|
* decorations: Decoration Positioner (#3800)Vaxry2023-11-112-8/+8
|
* xdg-shell: update reported size on ack_configureVaxry2023-11-091-1/+3
|
* layout: round box in mouseMoveVaxry2023-11-071-5/+7
| | | | fixes #3792
* layout: fix various rounding errorsVaxry2023-11-062-7/+13
| | | | maybe finally will end #3761
* layout: round window boxes after special scale factorVaxry2023-11-052-6/+12
| | | | fixes #3761 again
* events: set reported size on floating mapVaxry2023-11-051-1/+2
| | | | fixes #3767
* layout: fix missed setWindowSize in no_gaps_when_only node applyVaxry2023-11-042-0/+4
| | | | fixes #3758
* dwindle: move to CBox for expressing nodesVaxry2023-11-042-88/+71
|
* Internal: Hyprland box implementation (#3755)Vaxry2023-11-042-4/+4
| | | | | | | * box impl * remove unused operators * missed applyfromwlr
* Decos: Window decoration flags, shadow improvements (#3739)Vaxry2023-11-042-2/+2
|
* Master: fix drop_at_cursor when there are only two windows (#3734)thejch2023-11-031-22/+55
| | | | | * make drop_at_cursor work when dragging into a one-window workspace * fix drop_at_cursor when new_is_master is enabled
* layout: better storage for no fullscreen checks varvaxerski2023-11-034-24/+31
| | | | fixes #3731
* master: fix moving window between monitors (#3721)thejch2023-11-021-1/+1
|
* layout: avoid redundant size sets on new fullscreenVaxry2023-11-013-4/+10
|
* internal: create canBeGroupedInto() (#3693)MightyPlaza2023-10-302-17/+4
| | | | | | | modified: src/Window.cpp modified: src/Window.hpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp
* input: handle mouse on decorations (#3560)MightyPlaza2023-10-293-24/+33
|
* master: fix movewindow across monitors (#3628)thejch2023-10-201-1/+10
|
* master: fix resizing wrong window behind in special workspace (#3591)thejch2023-10-171-1/+2
|
* groups: create group and groupbar config sections (#3522)MightyPlaza2023-10-102-2/+2
| | | | | | | | | | | | | | | | | | | | * config: create group section modified: src/Compositor.cpp modified: src/config/ConfigManager.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * separate group border and groupbar colors modified: src/Compositor.cpp modified: src/config/ConfigManager.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * add new line modified: config/ConfigManager.cpp
* dwindle: Avoid rounding errors in window position (#3524)Michał Lewandowski2023-10-091-9/+8
| | | | | | | * Avoid rounding errors in window position * Fix naming scheme * Fix unwanted window movement
* master: fix drop_at_cursor on workspace 2 (#3512)Jeremy Huang2023-10-061-0/+2
|
* master: add option to drag and drop windows at cursor position (#3465)Jeremy Huang2023-10-031-0/+29
| | | | | * add option to drag and drop a window at cursor position * use getWindowIdealBoundingBoxIgnoreReserved
* layout: don't discard fullscreen on new tilingvaxerski2023-09-285-23/+12
|
* layout: check for specialworkspace in floating togglevaxerski2023-09-241-1/+1
|
* windowrules: add rule `group` to map windows grouped (#3279)memchr2023-09-222-8/+24
| | | | | * windows: add rule group to map windows grouped * group rule: use `invade` to force open a window in a locked group
* keybinds: implement pushactivetobottom dispacher (#3217)alaricljs2023-09-213-5/+5
| | | Co-authored-by: Leeman <lstrout@enlj.com>
* logging: implement std::formatter for some types (#3380)memchr2023-09-205-11/+43
|
* logging/format: use std::format_string to catch formatting string errors at ↵memchr2023-09-201-1/+1
| | | | | | | compile time (#3377) * fix(log): use constexpr format string * deprecate getFormat
* master: partially revert 0e64dd2e and fix the animation (#3327)Jeremy Huang2023-09-152-1/+7
|
* master: Add mfact dispatcher (#3298)Jeremy Huang2023-09-151-0/+14
| | | | | | | | | * add mfact dispatcher * limit mfact to between 0.05 and 0.95 * add try catch block for stof * change log to err
* dwindle: fix moving windows on specialvaxerski2023-09-141-2/+4
|
* refactor: flatten nesting `if`s in layout window creation method (#3294)memchr2023-09-142-61/+60
|
* master: respect the resizing animation option in master layout (#3300)Jeremy Huang2023-09-142-7/+2
|
* dwindle: fix: don't merge groups when moving window (#3302)memchr2023-09-141-2/+2
|
* master: Fix the wrong resize speed in master layout center orientation (#3289)Jeremy Huang2023-09-131-40/+36
| | | | | | | * rebase * change isStackVertical variable to make it more readable * fix some code getting unnecessarily repeating in a loop
* layout: add direction parameter to onWindowCreated and friends (#3269)memchr2023-09-136-52/+51
| | | | | | | | | | | | | | | | | | * feat(layout): add direction parameter to onWindowCreated and friends In addition: - Implement directional moveWindowOutOfGroup for `movewindoworgroup` when using dwindle layout. (augmentation of #3006) - Replace `DWindleLayout::OneTimeFocus` with `IHyprLayout::eDirection`. - Slight formatting change (clang-format). * fix: nullptr dereference in dwindle window creation * refactor: generalized eDirection * refactor: eliminate DIRECTION_NONE * Update IHyprLayout.hpp
* layout: Allow the layout to control how windows are raised in groups (#3275)outfoxxed2023-09-122-2/+24
| | | | | | | | | | | | * Allow the layout to control how windows are raised in groups Previously windows could only be focused if they weren't hidden or were part of a group. This shifts the logic for picking the window out of a group to the layout allowing for alternate group implementations to function normally. * Fix doc comment consistency * Fix tabs in comments
* refactor: utilize 'middle()' method for window/montior center (#3253)memchr2023-09-112-4/+3
|
* master: Add smart resizing option for master layout (#3210)Jeremy Huang2023-09-101-13/+165
| | | | | | | | | | | | | * add smart resizing for master layout * fix smart resizing workspace check * master layout fix smart resize when at max size * change resizing for center orientation so it doesnt use all nodes * master layout resizing, simplify code for calculating total height and weight * remove the redundant smart resizing check
* fix(layout): remove `focusWindow` calls from `onWindowCreatedTiling` (#3233)memchr2023-09-102-2/+0
|
* internal: Remove all `.c_str()` calls when using `std::vformat` (#3198)Philip Damianik2023-09-061-1/+1
| | | Signed-off-by: pdamianik <39028343+pdamianik@users.noreply.github.com>
* internal: Formatter rework (#3186)Vaxry2023-09-063-7/+7
|
* master: Add orientationcycle command on MasterLayout (#3128)shadowmax312023-09-042-26/+59
|