Commit graph

7260 commits

Author SHA1 Message Date
erstarr
73dff984b6 test: Focus Fallback with groups 2026-05-02 22:40:12 +02:00
erstarr
2d466c60cd test: test Focus Fallback 2026-05-02 22:40:12 +02:00
erstarr
655cd14f5c test: focus({window}) with follow_focus = true 2026-05-02 22:40:12 +02:00
erstarr
57ef1ea9da test: focus({window}) with follow_focus = false 2026-05-02 22:40:12 +02:00
erstarr
b0bbf03c60 Drop hyprctl keyword change 2026-05-02 22:40:12 +02:00
erstarr
d826c5390e clang-format 2026-05-02 22:40:12 +02:00
erstarr
124990be7f Fix for Lua: Move Window Into Group 2026-05-02 22:40:12 +02:00
erstarr
9b1ad1524e Fix for Lua: focus({window}) 2026-05-02 22:40:12 +02:00
erstarr
52a2df5c33 Fix for Lua: switchToWondow 2026-05-02 22:40:12 +02:00
erstarr
909829ce4b dispatches that call switchtoWindow() in CKeybindManager no longer cause scrolling view to move if follow_focus = 0.
They still cause the move if `follow_focus = 1`

Dispatches effected by this: `movefocus`, `cyclenext`, `focuscurrentorlast`, `focuscurrentorurgent`
2026-05-02 22:40:12 +02:00
erstarr
93b23336c9 add RECALCULATE_REASON_UNKNOWN, RECALCULATE_MONITOR_REASON_UNKNOWN, REMOVE_FROM_GROUP_REASON_UNKNOWN
remove optional wrapper from their enums, refactor code to work with the change
2026-05-02 22:40:12 +02:00
erstarr
1aa4cbadb7 clang-format 2026-05-02 22:40:12 +02:00
erstarr
84d8b2a9ae fix: moveintogroup, movewindoworgroup no longer causes scrolling view change if follow_focus = 0 2026-05-02 22:40:12 +02:00
erstarr
0b1520d24e fix: changes in a group's current window no longer casues scrolling view shift when follow_focus = 0 2026-05-02 22:40:12 +02:00
erstarr
424f65f477 focuswindow no longer moves scrolling view when follow_focus = 0 2026-05-02 22:40:12 +02:00
erstarr
6d567729e7 remove TODO 2026-05-02 22:40:12 +02:00
erstarr
e35827c3ca fix includes, clang-format. 2026-05-02 22:40:12 +02:00
erstarr
f70c7ac039 fix bad decisions 2026-05-02 22:40:12 +02:00
erstarr
61a1ec4d22 refactor, clean up and clang-format 2026-05-02 22:40:12 +02:00
erstarr
8814b100d5 fix opening of layer 3 programs moving scrolling view 2026-05-02 22:40:12 +02:00
erstarr
91b3bfac92 fix fullscreen/maximise moving the scrolling view 2026-05-02 22:40:12 +02:00
erstarr
a2c2a93f79 Fix hyprctl keyword causing scrolling view move.
rename INPUT_MODE_KB to INPUT_MODE_HARD since it seems to have little to do with keybinds
2026-05-02 22:40:12 +02:00
erstarr
8ccf0f53d4 fix view change when changing workspaces (special and normal).
add an optional `RECALCULATE_REASON` parameter to `recalculate()` calls of all algorithms.
add an optional `RECALCULATE_MONITOR_REASON` parameter to `recalculateMonitor()` calls.
add 2 new `FOCUS_REASON`s, for workspace change and special workspace toggle
2026-05-02 22:40:12 +02:00
erstarr
7c1592297c fix focus_fallback after unmapping a window floating moving view 2026-05-02 22:40:12 +02:00
erstarr
2631b66e65 fix scrolling view move when a grouped window is closed - prevent redundant space assignment for a grouped window that's about to be unmapped, add a FOCUS_REASON for unmapping grouped windows 2026-05-02 22:40:12 +02:00
Gregor
fceb15979e
config/lua: workspace.move/rename should accept "workspace" instead of "id" as a parameter (#14232) 2026-05-02 17:22:02 +01:00
Tom Englund
c3e07986cc
renderer: only set presentationmode when required (#14252)
if guard the setPresentationMode with the current state, shows up in
profiling as minor waste on each frame.
2026-05-02 16:24:20 +01:00
c065e951d6
layout/dwindle,master: return invalid layoutmsg errors 2026-05-02 00:26:35 +01:00
Barrett Ruth
f9723133cc
gestures: add live pinch cursor zoom (#14049) 2026-05-02 00:02:01 +01:00
Vaxry
c7b8fe13c1
tests: fix gtests crashing (#14244) 2026-05-01 23:50:57 +01:00
Vaxry
6e1fcfa81e
hyprctl: fix getoption with custom types (#14243) 2026-05-01 23:50:26 +01:00
Eren
4ab3a40398
screenshare: adjust session cleanup and event emission order (#14229)
* fix(screenshare): adjust session cleanup and event emission order

Revised the handling of `stoppedListener` initialization in
`getManagedSession` to ensure correct scoping and lifecycle management.
Updated the `stop` method in `CScreenshareSession` to adjust the order
of `screenshareEvents` and `stopped.emit()` to prevent potential
use-after-free scenarios.

* fix(screenshare): ensure managedSession removal uses consistent target reference

This change updates the lambda in the stopped listener to use
a pre-fetched target pointer for comparison when erasing sessions.

* fix(screenshare): use early-return and smart ptr comparison in session cleanup
2026-05-01 23:50:02 +01:00
5f9df52b55
protocolMgr: set m_self properly when updating mirrored outputs
When we have onMonitorModeChange, we can't leave an output with a null m_self as that will fuck up other things wanting a ref

ref https://github.com/basecamp/omarchy/issues/5457
2026-05-01 15:40:11 +01:00
241eeae51a
config/lua: add noop 2026-05-01 12:50:55 +01:00
Maxim Andreev
e2ba19535d
tests: fix ConfigLuaValueTypes - boolBadType test, 0 and 1 are allowed integer values for bool type (#14240) 2026-05-01 12:39:16 +01:00
Visal Vijay
a45de66d22
cleanup: avoid repeated weak_ptr::lock() usage in MasterAlgorithm (#14226) 2026-04-30 22:48:14 +01:00
Vaxry
c6fc1cab99
helpers/systemInfo: extract info fns (#14222) 2026-04-30 22:31:29 +01:00
Vaxry
450d8a0bf7
xdg-shell: queue state updates for toplevel (#14227)
ref https://github.com/hyprwm/Hyprland/discussions/14224
2026-04-30 20:41:55 +01:00
cfb2deb664
splashes: update splashes 2026-04-30 20:41:27 +01:00
shezdy
546cc71565
config/workspace-rules: support modifying persistent and monitor (#14217)
* workspace rules: support modifying persistent and monitor

* support modifying isDefault
2026-04-30 20:10:03 +01:00
Zebra2711
bac49db9a1
monitor: fix centered floating windows off-screen in special workspace (#14203)
Signed-off-by: Zebra2711 <zebra2711t@gmail.com>
2026-04-30 19:38:05 +01:00
Vaxry
859bbb11e1
config/actions: fix misuse of ActionResult's error type (#14221) 2026-04-30 14:30:18 +01:00
MightyPlaza
8884b9e6ce
binds: add an auto_consuming flag (#13919) 2026-04-30 12:59:03 +01:00
phanium
d40860e8e2
config/lua: cannot disable animation (#14215)
* config/lua: cannot disable animation

seems regression from 9ee5ff1f71

* typing typo (auto generated by cmake)
2026-04-30 12:53:51 +01:00
2ff598896d CI/Nix/Test: check gtest exit status 2026-04-30 11:15:32 +03:00
ImperishableSecret
56d7a43102
config/lua: expand properties in the workspace object (#14194) 2026-04-29 22:13:15 +01:00
31e025dbe0 desktop/window: refactor over fullscreen state 2026-04-29 22:05:32 +01:00
55a1611fd8 desktop/window: expand hidden into proper states 2026-04-29 22:05:32 +01:00
a92dae5af7 desktop/window: add alpha container for alpha calculations 2026-04-29 22:05:32 +01:00
Niko Savola
6bd15b948f
main: improve error reporting during initialization in main.cpp (#14181) 2026-04-29 22:04:28 +01:00