summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* compositor: fix log typesvaxerski2023-08-221-2/+2
|
* dwindle: use smart on display borders (#2897)MightyPlaza2023-08-211-4/+4
|
* renderer: update alpha of layers only if active ws (#2994)memchr2023-08-211-3/+5
| | | update `alpha` of ZWLR_LAYER_SHELL_V1_LAYER_TOP only when Workspaces is active on the monitor.
* fix: improved focus behaviour on workspace switching for follow_mouse!=1 (#3041)memchr2023-08-213-2/+37
| | | | | | | | | | | | | | | | | * fix: improved focus behaviour on workspace switching for follow_mouse!=1 When the 'input:follow_mouse' is not set to 1 and the target workspace for switching does not currently have the previously focused window, Hyprland will prioritize focusing on the top-left-most window. * fix: #2451 call simulateMouseMovement. * unify logic * multimon fix --------- Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com>
* compositor: log more in arrangeMonitorsvaxerski2023-08-211-0/+6
|
* internal: Wayland Protocol impl improvements (#2944)Vaxry2023-08-216-33/+98
|
* xdgshell: damage old popup coords after a repositionvaxerski2023-08-213-3/+33
| | | | fixes #3038. I updated the shell ver without properly supporting .reposition
* xwayland: use logical pos in unmanaged geom requestsvaxerski2023-08-211-5/+7
| | | | using raw xwayland coords is wrong cuz we use separate coord spaces
* feat(debug): add debug:suppress_errors to suppress errors. (#3032)memchr2023-08-201-1/+2
|
* compositor: fix missed raw throwsvaxerski2023-08-202-3/+3
|
* compositor: log thrown runtime exceptionsvaxerski2023-08-203-7/+13
|
* xdgoutput: don't send all details in .getvaxerski2023-08-191-1/+1
|
* compositor: minor cleanupvaxerski2023-08-191-3/+2
|
* input: unify constraint hint logicvaxerski2023-08-183-38/+26
| | | | Unifies the constraint hint logic. Previously, ignoring the stupid conditions, unscaled hints were mistaken with scaled coordinates.
* xwayland: fix incorrect VECINRECT usagevaxerski2023-08-181-1/+1
| | | | Fixes #3002. VECINRECT uses x2 and y2 and not w / h.
* shaders: minor premultiplication fixesvaxerski2023-08-182-5/+6
|
* animations: add slidefade and slidefadevert styles for workspaces (#3008)end-42023-08-173-3/+60
| | | | | | | | | | | | | | | * add slidefade and slidefadevert animations * fix swiping for slidefadevert * rename minPerc to movePerc for slidefade anim styles * change default slidefade percentage to 100% * remove useless comments * findlastof + 1 * debug logging for slidefade/slidefadevert percentage
* renderer: Border improvements (#2986)MightyPlaza2023-08-1711-127/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* internal: allow negative monitor offsetsvaxerski2023-08-163-10/+5
|
* layout: Use refreshrate tick on all manual animations (#2988)Dashie2023-08-161-1/+1
|
* internal: ioctl use /dev/tty instead of fd 0 for VT_GETSTATE (#2989)memchr2023-08-161-6/+11
| | | | | | | | | | | | | * fix: ioctl use /dev/tty instead of fd 0 for VT_GETSTATE ioctl VT_GETSTATE on stdin fails if it is not console, such as when using GDM. `/dev/tty` should be used instead. - `/dev/tty` is a synonym for the controlling terminal of a process, if there is one. --------- Co-authored-by: Jan Beich <jbeich@FreeBSD.org>
* xwayland: fix use of xwayland coords in native spacesvaxerski2023-08-154-10/+45
|
* xwayland: use a completely separate coordinate systemvaxerski2023-08-155-52/+41
| | | | | | Use a completely separate coordinate system for XWayland. This fixes all issues with force_zero_scaling overlaps. Fixes #2916
* master: fix `always_center_master` (#2961)kbtz2023-08-151-142/+133
| | | | | | | | | * master: fix always_center_master * master: allow resizing single centered window --------- Co-authored-by: kbtz <github@kbtz.dev>
* xdgoutput: separate logic for zero scaling positionsvaxerski2023-08-152-3/+45
| | | | if a scaled monitor was directly to the left of another monitor, we'd change the size to have zero scaling without pushing other monitors out of the way, creating overlaps in xwayland.
* compositor: fix skipping iterators in arrangeMonitorsvaxerski2023-08-141-1/+5
|
* compositor: don't apply offsets in renderervaxerski2023-08-142-19/+1
|
* compositor: fix auto positioning offset calcsvaxerski2023-08-141-1/+1
|
* internal: add a new monitor auto systemvaxerski2023-08-146-2/+54
|
* layers: set proper alpha to top grabbing surfacesvaxerski2023-08-131-3/+6
|
* input: notify idle about activity on mouse move regardless of focusvaxerski2023-08-131-3/+3
|
* remove shadow no_gaps_when_only master (#2958)MightyPlaza2023-08-131-0/+2
| | | | | | | | | | | | | | * remove shadow no_gaps_when_only modified: src/Window.hpp modified: src/config/ConfigManager.cpp modified: src/config/ConfigManager.hpp modified: src/layout/DwindleLayout.cpp modified: src/render/decorations/CHyprDropShadowDecoration.cpp * add master modified: src/layout/MasterLayout.cpp * fix wrong modified: src/layout/MasterLayout.cpp
* remove shadow no_gaps_when_only (#2956)MightyPlaza2023-08-125-0/+9
| | | | | | | modified: src/Window.hpp modified: src/config/ConfigManager.cpp modified: src/config/ConfigManager.hpp modified: src/layout/DwindleLayout.cpp modified: src/render/decorations/CHyprDropShadowDecoration.cpp
* config: add vrr per-displayvaxerski2023-08-114-18/+29
|
* internal: Fix grouped windows not being properly focused on activation (#2925)UserSv42023-08-112-5/+5
| | | | | | | | | | | * Fix grouped windows not being properly focused on activation This bug could happen if you: 1. Open two Chromium windows in a single group 2. Open some tabs in both of the windows 3. Using tabs search (Ctrl+Shift+A) try to switch to a tab in the second window from the first one. When this happens any window focus would be lost (hyprctl activewindow starts to output "Invalid") and also the mouse cursor would become centered relatively to the second window. * Update Compositor.cpp
* internal: move backtrace to specific funcvaxerski2023-08-113-30/+48
|
* rules: center window improvements (#2935)MightyPlaza2023-08-113-10/+25
| | | | | | | | | | | | | * center window improvements modified: src/config/ConfigManager.cpp modified: src/events/Windows.cpp modified: src/managers/KeybindManager.cpp * remove redundant line modified: src/events/Windows.cpp * simplify code modified: src/events/Windows.cpp modified: src/managers/KeybindManager.cpp
* dwindle: disallow togglesplit on fullscreenvaxerski2023-08-101-0/+3
|
* toplevel: patches group toplevel-activated (#2931)MightyPlaza2023-08-102-1/+11
| | | | | | | | | | | | | * patches group toplevel-activated modified: src/Compositor.cpp modified: src/Window.cpp * remove redundant call modified: src/Compositor.cpp * fix style modified: src/Compositor.cpp
* renderer: don't add workspace offset to pinnedvaxerski2023-08-091-1/+1
|
* rules: add layer and window xray rulesvaxerski2023-08-098-11/+65
|
* renderer: remember extents before removing a window and use them for dtvaxerski2023-08-093-17/+31
| | | | fixes #2351
* toplevelexport: minor fixes to dmabufvaxerski2023-08-081-5/+6
|
* keybinds: Keep aspect ratio (#2907)MightyPlaza2023-08-087-39/+76
|
* config: adjust default background colorvaxerski2023-08-081-1/+1
|
* background: add background color option (#2915)0x4552412023-08-082-1/+3
| | | Co-authored-by: 0x455241 <>
* internal: add lock files and hyprctl instancesvaxerski2023-08-082-2/+24
|
* keybinds: Only call fclose() when we have a valid file. (#2908)Michael2023-08-081-2/+3
| | | Signed-off-by: Michael Pacheco <git@michaelpacheco.org>
* Close keymap files. Fixes #2904 (#2905)Michael2023-08-072-4/+9
| | | Signed-off-by: Michael Pacheco <git@michaelpacheco.org>
* macros: fix missing includevaxerski2023-08-071-0/+1
|