summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* gamma: use wlr's new gamma manager eventvaxerski2023-06-146-1/+43
|
* Implement pass binds (#2503)outfoxxed2023-06-144-21/+33
| | | | | | | | | | * Implement pass binds Pass binds run the associated dispatcher but do not prevent windows from receiving the bind. * Fix pass binds not working properly with release binds * Rename `pass` to `nonConsuming`
* screenshader: fix uniform variable checks (#2513)JManch2023-06-141-2/+2
|
* toplevelexport: ignore defunct windowsvaxerski2023-06-131-2/+1
|
* compositor: don't set dim percent on disabled dimvaxerski2023-06-131-1/+2
|
* animationmgr: warp on equal start and goalvaxerski2023-06-131-3/+3
|
* shadow: drop useless damageEntire()vaxerski2023-06-131-1/+0
|
* feat: add variable to customize locked group border color (#2507)memchr2023-06-134-24/+46
| | | | | added variables: - general:col.group_border_locked - general:col.group_border_locked_active
* xwayland: add force_zero_scalingvaxerski2023-06-118-9/+28
|
* xwayland: add nearest neighbor filtering as an optvaxerski2023-06-112-0/+8
|
* Allow setting alpha value for ignorezero layer rule (#2477)end-42023-06-118-58/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rename ignorezero to ignorealpha * allow setting ignorealpha value This commit allows setting a float value (0-1) for the ignorealpha layer rule. Does not yet have error handling; invalid ignorealpha layer rule will crash Hyprland. * add brackets i forgot to add * prevent crash with invalid ignorealpha value prevents hyprland from immediately crashing with invalid ignorealpha layer rule does not log * don't try to set ignoreAlphaValue if alpha value not specified * add catch to try, reintroduce ignorezero - added catch after try cuz i was an idiot - re-add ignorezero as an alternative to ignorealpha to not introduce a breaking change * add logging for failed ignorealpha layer rule * fix get ignorealpha's get VALUE * check npos and use empty() * rename VALUE cuz no longer const * format Shader.hpp
* zoom: multiply by scale only on mouseZoomUseMouse (#2495)Nicola Guerrera2023-06-101-3/+2
|
* screenshader: add output uniformvaxerski2023-06-102-5/+11
|
* calculate zoom_center based on monitor scale (#2482)Nicola Guerrera2023-06-101-1/+1
|
* 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
|