summaryrefslogtreecommitdiff
path: root/src/managers
Commit message (Collapse)AuthorAgeFilesLines
* xwaylandmgr: find closest output in xwayland coord translationvaxerski2023-09-041-4/+9
| | | | partially off-screen windows would be snapped to 0,0 otherwise
* dwindle: add proper movement for window move bindsvaxerski2023-09-041-3/+3
| | | | ditches the "movewindow = swapwindow" mechanism. Fixes #2804
* refactor: replace manual iteration of CWindow with existing methods (#3147)memchr2023-09-041-4/+1
|
* socket2: added "activespecial" IPC event (#3163)MightyPlaza2023-09-041-29/+2
|
* internal: Revert rounding of window size (#3153)staz2023-09-031-2/+2
| | | | | | | | | * Revert "renderer: round coords and size in renderWindow" This reverts commit fc0c1896e097b3c3b2170ae69d38724e43960fe1. * Revert "xwaylandmgr: round reported sizes" This reverts commit 2985e20e6a5868e710aa3bdaa2789a2023010611.
* keybinds: fixup global conditionsvaxerski2023-09-021-2/+2
|
* globalshortcuts: allow empty appidvaxerski2023-09-021-1/+1
|
* xwaylandmgr: round reported sizesvaxerski2023-09-021-2/+2
| | | | Since we round the sizes in the renderer, it's also a good idea to round the sizes reported to the apps. Fixes #3138
* keybinds: set special monitor id before recalcvaxerski2023-09-011-2/+2
| | | | set special workspace's monitor ID before we call recalculateMonitor in toggleSpecialWorkspace. Fixes #1151
* keybinds: suppress up event if down was consumedvaxerski2023-09-011-5/+8
| | | | Fixes #3000
* internal: Unsafe state reworks (#3114)Vaxry2023-09-013-7/+10
|
* wlr-ext-workspace: remove protocol implvaxerski2023-09-012-13/+1
| | | | Various reasons: 1st, memory issues. 2nd, MR got closed (see https://gitlab.freedesktop.org/wlroots/wlr-protocols/-/merge_requests/35) 3rd, not needed anymore (waybar has its own hyprland/workspaces module)
* text-input-v1: Fix preedit styling in chromium (#3131)q234rty2023-09-011-3/+3
|
* keybinds: fixup release conditionsvaxerski2023-08-302-11/+1
| | | | honestly I already forgot why the m_vHeldBack vec existed. Seems useless and annoying. Fixes #3113
* decos: groupbar mouse interaction (#3102)MightyPlaza2023-08-302-9/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * allow groupbar clicking modified: src/Window.cpp modified: src/Window.hpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.hpp * remove setting pos inside insertWindowToGroup() modified: src/Window.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp * add group window by index and group size functions modified: src/Window.cpp modified: src/Window.hpp modified: src/managers/input/InputManager.cpp * allow dragging into groupbar modified: src/Window.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp * allow dragging from groupbar modified: src/managers/KeybindManager.cpp * try groupbar clicking before border resize modified: src/managers/input/InputManager.cpp * block grabbing groupbar on floating (crash) remove later when crashing is fixed modified: src/managers/KeybindManager.cpp * remove redundant { } modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp * implement getWindowDecorationBox() modified: src/Window.cpp modified: src/Window.hpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/CHyprDropShadowDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.hpp * fix crash when moveoutofgroup in floating windows also removes dragging from floating windows limitation modified: src/layout/IHyprLayout.cpp modified: src/managers/KeybindManager.cpp * use CRegion in getWindowDecorationBox() modified: src/helpers/Region.cpp modified: src/helpers/Region.hpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/IHyprWindowDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.hpp * add groupbar scrolling modified: src/config/ConfigManager.cpp modified: src/managers/input/InputManager.cpp * change name to getWindowDecorationRegion() modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/IHyprWindowDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.hpp * make dragging from group less hacky for floating modified: src/managers/KeybindManager.cpp
* input: fix xwayland constraint calcsvaxerski2023-08-301-3/+5
| | | | some minor adjustments, fixes #3028
* input: warp in unconstrainMousevaxerski2023-08-301-1/+7
| | | | XWayland coord translation would fuck up if we did this in destroyConstraint
* internal: allow opening empty special workspacesvaxerski2023-08-251-8/+2
| | | | Fixes point 2 of #2596
* input: improved path handling; null check return value of fopen. (#3061)memchr2023-08-252-8/+6
|
* input: add transparent bindsvaxerski2023-08-252-9/+15
| | | | | adds a new flag for binds to be transparent (non-shadowable) fixes #3058
* input: sanitize newlines in device namesvaxerski2023-08-251-1/+2
| | | | fixes #3066 by replacing newlines with dashes in device names
* gestures: Swipe direction lock (#3052)end-42023-08-231-8/+18
|
* input: unify constraint hint logicvaxerski2023-08-182-25/+24
| | | | 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.
* animations: add slidefade and slidefadevert styles for workspaces (#3008)end-42023-08-172-2/+20
| | | | | | | | | | | | | | | * 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-172-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: 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-152-1/+29
|
* xwayland: use a completely separate coordinate systemvaxerski2023-08-151-8/+21
| | | | | | Use a completely separate coordinate system for XWayland. This fixes all issues with force_zero_scaling overlaps. Fixes #2916
* input: notify idle about activity on mouse move regardless of focusvaxerski2023-08-131-3/+3
|
* internal: Fix grouped windows not being properly focused on activation (#2925)UserSv42023-08-111-5/+0
| | | | | | | | | | | * 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
* rules: center window improvements (#2935)MightyPlaza2023-08-111-1/+5
| | | | | | | | | | | | | * 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
* keybinds: Keep aspect ratio (#2907)MightyPlaza2023-08-082-13/+18
|
* 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>
* animationmgr: avoid redundant ticksvaxerski2023-08-052-6/+41
|
* input: fix and unify client checking in mouseRequestsvaxerski2023-08-031-11/+4
|
* keybinds: add toggle to dpmsvaxerski2023-07-301-0/+3
|
* input: fix stylingvaxerski2023-07-251-22/+13
|
* input: add support for cursor-shape-v1vaxerski2023-07-242-16/+41
|
* keybinds: Make moveintogroup locking check configurable (#2796)memchr2023-07-241-2/+4
| | | | | * groups: revert to the old moveintogroup behaviour, ignore m_sGroupData.locked * groups: Make moveintogroup locking check configurable
* input: Fix #2376 mouse movement bug in XWayland (#2776)Rachel Knight2023-07-221-1/+1
|
* groups: add use_current_group_pos (#2759)MightyPlaza2023-07-201-5/+7
|
* animationmgr: avoid looping over all avars in favor of only active onesvaxerski2023-07-202-7/+3
|
* animationmanager: optimize avar statevaxerski2023-07-191-1/+2
|
* internal: Wrap regions (#2750)Vaxry2023-07-192-11/+8
|
* renderer: add occlusion for back layersvaxerski2023-07-191-1/+2
|
* keybinds: movegroupwindow-improvement (#2740)MightyPlaza2023-07-191-6/+7
| | | | | * movegroupwindow-improvement * use std::swap
* internal: Protocol C++ Wraps + XDGOutput impl (#2733)Vaxry2023-07-184-75/+11
| | | move to our own xdgoutput impl instead of wlr's
* deps: update wlroots (#2734)Jan Beich2023-07-181-8/+8
|