summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* feat: add lockactivegroup dispatcher (#2478)memchr2023-06-097-2/+29
| | | | | | | | | | | | | | | | | * 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
* input: update surface input on changeworkspacevaxerski2023-06-091-0/+3
|
* main: fix segfault when -c is given with no other arguments (#2470)eriedaberrie2023-06-091-1/+1
|
* Fix fractional scale updates in some cases (#2447)Franz Berger2023-06-061-15/+8
| | | | | | | | | | | | | | | | | | | * fix fractional scale update in moveWorkspaceToMonitor * fix fractional scale update in moveToWorkspace * Revert "fix fractional scale update in moveWorkspaceToMonitor" This reverts commit 6612197a38e6e55a730bb786ed12861830e9f40e. * Revert "fix fractional scale update in moveToWorkspace" This reverts commit 75d9795a065c0122e42d622fbeb83b18c47d4bbc. * move fractional scale code to updateSurfaceOutputs * remove duplicate check * remove superfluous setPreferredScale()
* xwayland: disconnect events on destroyvaxerski2023-06-051-0/+2
| | | | thanks Kirill Primak
* window: recalc on deco removevaxerski2023-06-051-1/+7
|
* Make movetoworkspace register previous workspace (#2436)staz2023-06-051-3/+7
| | | | | * Make movetoworkspace register previous workspace * style: no braces + format with clang-format
* hyprctl: recalc layout on setpropvaxerski2023-06-041-0/+3
|
* layouts: make aware of borderSize propvaxerski2023-06-042-7/+9
|
* internal: make borderSize prop overridablevaxerski2023-06-043-5/+7
|
* noxwl: add missing stubsvaxerski2023-06-031-2/+3
|
* deps: update wlrootsvaxerski2023-06-0311-27/+41
|
* feat: add ipc set title window event (#2419)Cyril Levis2023-06-031-0/+2
| | | | | * feat: add ipc set title window event * chore: add EMIT_HOOK_EVENT and change event name
* internal: properly set monitor props on special windowsvaxerski2023-06-021-0/+7
|
* events: remove old commentvaxerski2023-06-021-1/+0
|
* [hyprctl] Expose the special workspace id and name of the monitor (#2392)Sinkerine2023-06-021-4/+20
| | | | | | | * [hyprctl] Expose the special workspace id of the monitor So that we know if a special workspace is shown on a monitor * [hyprctl] Add special workspace name to the output
* rules: add nodimvaxerski2023-05-316-8/+13
|
* input: force focus on movefocusvaxerski2023-05-313-8/+16
|
* groupbars: fix damage calcsvaxerski2023-05-311-2/+3
|
* gradient: fix warnvaxerski2023-05-311-3/+3
|
* keybinds: fix tryMoveFocusToMonitor with specialvaxerski2023-05-291-5/+7
|
* layout: don't reset to floating size on drag tiledvaxerski2023-05-292-0/+5
|
* compositor: disallow sending pinned to specialvaxerski2023-05-291-0/+3
|
* vector: restore cmath include after 438d063ec684 (#2394)Jan Beich2023-05-291-0/+1
| | | | | | | | | | | src/helpers/Vector2D.cpp:27:26: error: no member named 'floor' in namespace 'std' return Vector2D(std::floor(x), std::floor(y)); ~~~~~^ src/helpers/Vector2D.cpp:27:41: error: no member named 'floor' in namespace 'std' return Vector2D(std::floor(x), std::floor(y)); ~~~~~^ src/helpers/Vector2D.cpp:37:17: error: no member named 'sqrt' in namespace 'std' return std::sqrt(dx * dx + dy * dy); ~~~~~^
* focus: fix #1675 window not scrollable after movefocus (#2390)Jeremy Huang2023-05-291-0/+1
|
* Fix UAF in animation end callback if callback deletes the animation (#2389)outfoxxed2023-05-291-1/+3
| | | | Removes use after free when the end callback deletes the animation as long as `m_bRemoveEndAfterRan` is false.
* vector: use c++ stdlib math functions instead of cmathvaxerski2023-05-281-3/+2
|
* groupbars: add text color optvaxerski2023-05-272-1/+5
|
* focus: make cursor follow movewindow (#2374)Jeremy Huang2023-05-271-1/+1
|
* xdgshell: check and conform to rigid float sizes on commitvaxerski2023-05-261-1/+20
|
* window: reveal current from group on toplevel activatevaxerski2023-05-261-3/+11
|
* master: guard monitor in recalcvaxerski2023-05-261-1/+5
|
* pluginapi: add separate window render eventsvaxerski2023-05-262-0/+6
|
* touch: fix double offset in localvaxerski2023-05-241-6/+3
|
* input: only configure newly added touch devicesvaxerski2023-05-242-7/+17
|
* layouts: ignore direction forces on non-mapvaxerski2023-05-244-3/+6
|
* hyprctl: fix cut-off json outputs (#2352)eriedaberrie2023-05-241-29/+20
| | | | | * hyprctl: fix cut-off json outputs * Address comments
* launchanim: fix #2291vaxerski2023-05-241-2/+5
|
* decos: recalc on addvaxerski2023-05-234-1/+11
|
* groupbars: fix reserved area on titlesvaxerski2023-05-231-1/+3
|
* groupbars: make gradients toggleablevaxerski2023-05-222-1/+4
|
* groupbars: conserve VRAM by staticizing texturesvaxerski2023-05-222-14/+19
|
* groupbars: fix minor alignment issuesvaxerski2023-05-221-2/+3
|
* groupbars: add title and gradient renderingvaxerski2023-05-223-10/+219
|
* groupbar: make exclusivevaxerski2023-05-222-2/+14
|
* moveActiveToWorkspace: update last window of old wsvaxerski2023-05-221-7/+11
|
* wlr_ext_workspaces: honor activate from client + formatvaxerski2023-05-224-575/+509
|
* 1483: fix crash on last display disconnect (#2344)Russell Greene2023-05-221-0/+4
|
* Fix broken pipe crash when event listener terminates (#2339)maqrrr2023-05-211-1/+3
|
* input: reset cursor hide timer on tabletvaxerski2023-05-201-0/+2
|