summaryrefslogtreecommitdiff
path: root/src/helpers/Monitor.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* renderer: Tearing implementation (#3441)Vaxry2023-09-281-0/+2
|
* internal: Further unsafe state improvements (#3404)Vaxry2023-09-241-1/+1
| | | Instead of allowing Hyprland to sit in a state where there are no monitors, which various parts of the code don't like, we create a fake headless output on all monitor disconnect, and then remove it when a monitor appears
* renderer: damage monitor on special workspace changevaxerski2023-09-221-0/+2
| | | | fixes #3396
* logging: implement std::formatter for some types (#3380)memchr2023-09-201-2/+1
|
* refactor: utilize 'middle()' method for window/montior center (#3253)memchr2023-09-111-0/+4
|
* internal: Fix wlr output management (#3234)Philip Damianik2023-09-101-2/+0
|
* fix: focusWindow on hidden workspace triggers another focusWindow. (#3216)memchr2023-09-081-3/+3
| | | | | | | | | | | This commit address an issue where focusing a window on a hidden workspace inadvertently triggered a second `focusWindow` call due to simulated mouse movement. This behaviour led to the incorrect focus on the window under the cursor instead of target window of method `focusWindow()`, disrupting `focusurgentorlast` and `focuscurrentorlast` dispatchers. Introduced a flag to the `CMonitor::changeWorkspace()` method to prevent simulated mouse movements. This flag is set to false by default. Changed the `focusWindow()` method accordingly to set this flag to true when the target window is in a hidden workspace.
* internal: Remove all `.c_str()` calls when using `std::vformat` (#3198)Philip Damianik2023-09-061-2/+2
| | | Signed-off-by: pdamianik <39028343+pdamianik@users.noreply.github.com>
* internal: Formatter rework (#3186)Vaxry2023-09-061-9/+9
|
* monitor: minor adjustmentsvaxerski2023-09-051-7/+1
|
* socket2: added "activespecial" IPC event (#3163)MightyPlaza2023-09-041-2/+17
|
* monitor: ignore no-op workspace changesvaxerski2023-09-031-0/+3
|
* internal: Unsafe state reworks (#3114)Vaxry2023-09-011-23/+19
|
* wlr-ext-workspace: remove protocol implvaxerski2023-09-011-22/+0
| | | | 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)
* fix: improved focus behaviour on workspace switching for follow_mouse!=1 (#3041)memchr2023-08-211-2/+16
| | | | | | | | | | | | | | | | | * 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>
* internal: add a new monitor auto systemvaxerski2023-08-141-0/+9
|
* internal: Wrap regions (#2750)Vaxry2023-07-191-2/+4
|
* monitor: unplug all callbacks in ~dtorvaxerski2023-07-181-0/+8
|
* monitor: disconnect bind on disconnectvaxerski2023-07-181-0/+1
|
* render: move lastFrameDamage to CMonitorvaxerski2023-07-101-0/+2
|
* xwayland: send zero scaling to xwayland if enabledvaxerski2023-06-231-0/+2
|
* internal: properly set monitor props on special windowsvaxerski2023-06-021-0/+7
|
* input: don't move monitor focus on wp change (#2320)Anthony Ruhier2023-05-171-1/+1
|
* monitors: fix some bugs with re-plugvaxerski2023-05-061-1/+1
|
* workspaces: minor fixes for multi-specialvaxerski2023-05-061-0/+5
|
* monitors: toggle special on changeworkspace with specialvaxerski2023-05-051-1/+4
|
* workspaces: restore monitor on re-plugvaxerski2023-05-031-0/+10
|
* monitor: update fullscreen fade on workspace changevaxerski2023-04-301-0/+2
|
* monitors: set special monitor ID on openvaxerski2023-04-171-1/+2
|
* Format: use %lx for all addressesvaxerski2023-04-171-1/+1
|
* internal: move workspace special check higher in changeWorkspacevaxerski2023-04-171-5/+5
|
* Render: add cursor_zoomvaxerski2023-04-161-0/+12
|
* monitor: recalc layout on switched wsvaxerski2023-04-161-0/+2
|
* damage: fix damage on moves / workspace changesvaxerski2023-04-151-0/+4
|
* workspaces: fixup workspaces not activating on workspace switchvaxerski2023-04-141-2/+10
|
* workspaces: deactivate all on monitor switchvaxerski2023-04-141-1/+1
|
* internal: workspace manip handling reworkvaxerski2023-04-141-0/+78
|
* screencopy: implement dmabufvaxerski2023-04-121-0/+3
|
* output: handle needs_framevaxerski2023-04-071-4/+7
|
* internal: listen to output.damage eventsvaxerski2023-04-071-2/+7
|
* internal: migrate to damage_ringvaxerski2023-04-071-6/+12
|
* monitors: guard scale in onConnectvaxerski2023-04-041-0/+2
|
* Feat: Introduce render_ahead_of_time (#1863)Vaxry2023-03-241-0/+13
|
* config: improve ux on workspace and transformvaxerski2023-03-181-2/+4
|
* monitors: remove from monitors on unsafevaxerski2023-03-161-0/+2
|
* Mirrors: minor fixesvaxerski2023-03-041-1/+1
|
* Added an Event Hook System (#1578)Vaxry2023-02-191-0/+2
| | | | | * added an eventHookSystem * Add all socket2 events to hooks
* ignore null ls-es in cleanupvaxerski2023-01-231-1/+2
|
* remove old comment and fixup lsl var namevaxerski2023-01-221-2/+2
|
* move monitor remove notice upvaxerski2023-01-191-4/+4
|