summaryrefslogtreecommitdiff
path: root/src/layout/IHyprLayout.cpp
Commit message (Collapse)AuthorAgeFilesLines
* layout: Focus a floating window after closing the last tiled (#4137)dranull2023-12-121-4/+10
|
* 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
|
* 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-061-4/+7
| | | | maybe finally will end #3761
* events: set reported size on floating mapVaxry2023-11-051-1/+2
| | | | fixes #3767
* Internal: Hyprland box implementation (#3755)Vaxry2023-11-041-2/+2
| | | | | | | * box impl * remove unused operators * missed applyfromwlr
* input: handle mouse on decorations (#3560)MightyPlaza2023-10-291-0/+3
|
* layout: check for specialworkspace in floating togglevaxerski2023-09-241-1/+1
|
* keybinds: implement pushactivetobottom dispacher (#3217)alaricljs2023-09-211-3/+3
| | | Co-authored-by: Leeman <lstrout@enlj.com>
* logging: implement std::formatter for some types (#3380)memchr2023-09-201-1/+1
|
* 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
* layout: add direction parameter to onWindowCreated and friends (#3269)memchr2023-09-131-2/+2
| | | | | | | | | | | | | | | | | | * 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-121-1/+11
| | | | | | | | | | | | * 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-111-3/+2
|
* 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-061-2/+2
|
* refactor: replace manual iteration of CWindow with existing methods (#3147)memchr2023-09-041-13/+8
|
* layout: always center floating xdg windowsvaxerski2023-09-031-1/+1
|
* fix: use-after-free of CWindow* in CHyprGroupBarDecoration::draw (#3146)memchr2023-09-021-0/+1
|
* decos: groupbar mouse interaction (#3102)MightyPlaza2023-08-301-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * allow groupbar clicking modified: src/Window.cpp modified: src/Window.hpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.hpp * remove setting pos inside insertWindowToGroup() modified: src/Window.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp * add group window by index and group size functions modified: src/Window.cpp modified: src/Window.hpp modified: src/managers/input/InputManager.cpp * allow dragging into groupbar modified: src/Window.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp * allow dragging from groupbar modified: src/managers/KeybindManager.cpp * try groupbar clicking before border resize modified: src/managers/input/InputManager.cpp * block grabbing groupbar on floating (crash) remove later when crashing is fixed modified: src/managers/KeybindManager.cpp * remove redundant { } modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp * implement getWindowDecorationBox() modified: src/Window.cpp modified: src/Window.hpp 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/CHyprDropShadowDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.hpp * fix crash when moveoutofgroup in floating windows also removes dragging from floating windows limitation modified: src/layout/IHyprLayout.cpp modified: src/managers/KeybindManager.cpp * use CRegion in getWindowDecorationBox() modified: src/helpers/Region.cpp modified: src/helpers/Region.hpp 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/IHyprWindowDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.hpp * add groupbar scrolling modified: src/config/ConfigManager.cpp modified: src/managers/input/InputManager.cpp * change name to getWindowDecorationRegion() 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/IHyprWindowDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.hpp * make dragging from group less hacky for floating modified: src/managers/KeybindManager.cpp
* layout: allow changing float status of fullscreen windowsvaxerski2023-08-281-5/+2
|
* layout: allow drag on fullscreen windowsvaxerski2023-08-281-3/+2
|
* layout: use full box for visibility check of floating xdgvaxerski2023-08-251-15/+5
| | | | Fixes #3069, if an xdg dialog pops up and is partially off bounds, just move it to the center.
* renderer: Border improvements (#2986)MightyPlaza2023-08-171-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * simplify getting border size modified: src/Window.cpp modified: src/Window.hpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * fix border damage and input box modified: src/Window.cpp modified: src/managers/AnimationManager.cpp * add border size in resize_on_border box modified: src/managers/input/InputManager.cpp * simplify border (fixes possible typo) modified: src/Window.cpp * use updateSpecialRenderData() modified: Window.cpp modified: Window.hpp modified: events/Windows.cpp modified: layout/DwindleLayout.cpp modified: layout/IHyprLayout.cpp modified: layout/MasterLayout.cpp modified: render/Renderer.cpp * update window workspace rule data on reload modified: src/config/ConfigManager.cpp * use rounding() modified: src/Window.cpp
* layout: Use refreshrate tick on all manual animations (#2988)Dashie2023-08-161-1/+1
|
* xwayland: fix use of xwayland coords in native spacesvaxerski2023-08-151-6/+11
|
* keybinds: Keep aspect ratio (#2907)MightyPlaza2023-08-081-16/+42
|
* fix workspace change focus (#2891)MightyPlaza2023-08-051-0/+2
|
* layout: use warp() instead of setValue()vaxerski2023-07-201-2/+2
|
* Add bringWindowToTop function to IHyprLayout (#2747)outfoxxed2023-07-191-0/+9
| | | | | | | * Add bringWindowToTop function to IHyprLayout * Rename `bringWindowToTop` to `requestFocusForWindow` * Fix doc
* move/resize window (#2706)MightyPlaza2023-07-131-2/+3
|
* Dwindle: Make resize more intuitive (#2681)Daniel Adolfsson2023-07-131-1/+1
| | | | | | | | | * improved resize * clang-format * rewrite * almost legacy behavior when using CORNER_NONE
* layout: improve time restraints in window dragvaxerski2023-07-041-1/+2
|
* layout: minor style fixesvaxerski2023-07-011-5/+3
|
* layout: set pseudo to float size in new windowvaxerski2023-06-301-0/+2
|
* xwayland: fix minor force_zero_scaling bugsvaxerski2023-06-221-3/+10
|
* feat: add lockactivegroup dispatcher (#2478)memchr2023-06-091-0/+2
| | | | | | | | | | | | | | | | | * feat: add lockactivegroup dispatcher The `lockactivewindow` dispatcher takes `lock`, `toggle` or `unlock` as arguments. When a group is locked, no window or group can be added to it, nor can it be added to another group, but the `moveintogroup` and `moveoutofgroup` dispatches are not affected. Implementation details: the lock is implement via `SGroupData.locked` flag (defaults to false). The flag is only relevant to the group head, and upon the group head's succession, the flag will be passed down to the new head. Meanwhile, the old head's flag will be set to false. The flag is set to false when a group is dismissed. New condition checks have been added to the dwindle and master layout to check if target group is unlocked (and if the source is also a group and unlocked) before adding windows to the target group. * refactor: `lockactivegroup dispatcher code ordering
* layout: don't reset to floating size on drag tiledvaxerski2023-05-291-0/+4
|
* IHyprLayout: add missing static modifiers to config varsvaxerski2023-04-251-6/+6
|
* Format: use %lx for all addressesvaxerski2023-04-171-2/+2
|
* internal: make togglefloat better visible on small size deltasvaxerski2023-04-061-0/+5
|
* internal: wrap wlr surfaces (#1822)Vaxry2023-03-201-1/+1
|
* groups: fix moving between displaysvaxerski2023-03-181-0/+2
|
* crashReporter: remove inconsistent log from crash reportsvaxerski2023-03-041-6/+12
|
* Add option to disable/enable mouse window dragging animations (#1658)Dashie2023-02-281-2/+3
|
* fix cursor image on drag not resizevaxerski2023-02-261-0/+3
|
* use corner cursors on resize (#1638)Mihai Fufezan2023-02-261-6/+10
|
* unset hidden at grouped removevaxerski2023-02-191-0/+2
|