| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
| |
fixes #3265
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* add on-screen constraint to wrv2 'move'
* review changes
* std::clamp
* more parens
---------
Co-authored-by: Leeman <lstrout@enlj.com>
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
* refactor: changeworkspace dispatcher
* refactor: remove redundant focusWindow calls
* refactor(changeworkspace): warp cursor to middle of last focused window
* refactor: use rememberPrevWorkspace
* Fix: `CWorkspace::rememberPreWorkspace` condition is illogical
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* movewindow to screen edge for floating windows
* review changes
* constify vars
---------
Co-authored-by: Leeman <lstrout@enlj.com>
Co-authored-by: vaxerski <vaxry@vaxry.net>
|
| | |
|
| | |
|
| | |
|
| |
|
| |
Co-authored-by: Leeman <lstrout@enlj.com>
|
| |
|
|
|
|
|
|
|
| |
* fix: add missing groupbar decoration to the window
Add groupbar decoration to the operand window of `CWindow::insertWindowToGroup` if it does not exist, to prevent segmentation faults when mouse events are triggered after moving the window to a group, where `getDecorationByType(DECORATION_GROUPBAR)` unexpectedly returns nullptr.
Also fixed a bug where the group bar disappeared when the moveIntoGroup dispatcher's operand window was in a group.
* Update Window.cpp
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
| |
coord exactly at the corner would be calc'd wrong
|
| |
|
|
| |
while the previous commit ignores mods, we also need to ignore other conditions to avoid dangling presses
|
| |
|
|
| |
Ignore mods only if we're processing a special bind, and only if it's pressed. Otherwise we might shadow normal key releases via ignoring mods. Fixes #3240
|
| | |
|
| |
|
|
| |
fixes #3208
|
| | |
|
| |
|
|
|
|
|
| |
moves `switchToWindow` lambdas to a single private method
`CKeybindManager::switchToWindow()`.
fixes #3227, as a by-product of the mouse motion simulation at the end
of `CKeybindManager::switchToWindow()`.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
* Make device configs queryable
Signed-off-by: pdamianik <39028343+pdamianik@users.noreply.github.com>
* Add set property to getoption output
---------
Signed-off-by: pdamianik <39028343+pdamianik@users.noreply.github.com>
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
This commit address an issue where focusing a window on a hidden
workspace inadvertently triggered a second `focusWindow` call due to
simulated mouse movement. This behaviour led to the incorrect focus on
the window under the cursor instead of target window of method
`focusWindow()`, disrupting `focusurgentorlast` and `focuscurrentorlast`
dispatchers. Introduced a flag to the `CMonitor::changeWorkspace()`
method to prevent simulated mouse movements. This flag is set to false
by default. Changed the `focusWindow()` method accordingly to set this
flag to true when the target window is in a hidden workspace.
|
| | |
|
| |
|
|
| |
very expensive
|
| |
|
|
| |
Fixes #3200
|
| |
|
| |
Signed-off-by: pdamianik <39028343+pdamianik@users.noreply.github.com>
|
| |
|
|
| |
(#3195)
|
| |
|
|
|
|
|
|
|
| |
* Fix fallback behavior for unset device config values
* Replace overload with default argument for fallback config key
* Remove default value for fallback argument in source
* Fix typos
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Fixes #3185, makes hyprland ignore further args if an animation is disabled
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
* Optimize CAnimationManager::scheduleTick a bit.
* Use integer in wl_event_source_timer_update call.
|
| | |
|
| | |
|
| |
|
|
| |
fixes #3162
|
| |
|
|
| |
fixes the confined region, warping issues, etc. Closes #3158
|
| |
|
|
| |
partially off-screen windows would be snapped to 0,0 otherwise
|
| | |
|