summaryrefslogtreecommitdiff
path: root/src/Window.cpp
Commit message (Collapse)AuthorAgeFilesLines
* groupbar fixes (#2630)MightyPlaza2023-07-031-4/+3
| | | | | | | | | | | | | | Fixes multiple groupbar decoration issues: - togglegroup removes fullscreen to avoid to avoid weird state - fixes issue where a group had multiple windows with head = true - fixes issue where merging 2 groups would cause a window to have 2 groupbar decorations - fixes issue where merging a group with more than 1 window into another group would make windows have no groupbar decoration - fixes issue where ungrouping windows could just move them into another group on the same workspace --------- Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com>
* damage: account for popups in getFullWindowBoundingBoxvaxerski2023-06-231-0/+31
|
* internal: damage window on change groupvaxerski2023-06-141-0/+2
|
* feat: add lockactivegroup dispatcher (#2478)memchr2023-06-091-0/+1
| | | | | | | | | | | | | | | | | * 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
* 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()
* window: recalc on deco removevaxerski2023-06-051-1/+7
|
* deps: update wlrootsvaxerski2023-06-031-1/+2
|
* rules: add nodimvaxerski2023-05-311-0/+3
|
* window: reveal current from group on toplevel activatevaxerski2023-05-261-3/+11
|
* renderer: skip rendering bottom layers on fullscreen opaquevaxerski2023-04-221-0/+15
|
* Format: use %lx for all addressesvaxerski2023-04-171-1/+1
|
* internal: workspace manip handling reworkvaxerski2023-04-141-1/+5
|
* fractional-scale: notify all surfaces on window movevaxerski2023-04-141-0/+11
|
* swallow: move swallowed on workspace changevaxerski2023-04-021-0/+5
|
* Fix some typos (#1907)Alexander Seiler2023-03-291-2/+2
| | | Signed-off-by: Alexander Seiler <seileralex@gmail.com>
* windows: only connect unmap when mappedvaxerski2023-03-281-0/+4
|
* feat: add forcergbx rulevaxerski2023-03-261-0/+3
|
* window: unassign surface on unmapvaxerski2023-03-231-0/+2
|
* internal: wrap wlr surfaces (#1822)Vaxry2023-03-201-3/+5
|
* groups: fix moving between displaysvaxerski2023-03-181-8/+29
|
* groups: fix fullscreen behavior with groupsvaxerski2023-03-101-1/+9
|
* Renderer: Nuke onWindowResize{start/end}vaxerski2023-03-031-3/+0
|
* fix credentials of invalid surfacesvaxerski2023-03-031-0/+4
|
* Allow decos to request interactivityvaxerski2023-02-281-0/+37
|
* Added decoration reserved areavaxerski2023-02-281-0/+16
|
* properly meld groups togethervaxerski2023-02-191-0/+18
|
* Group/Tab Rework (#1580)Vaxry2023-02-191-0/+68
|
* Added an Event Hook System (#1578)Vaxry2023-02-191-0/+1
| | | | | * added an eventHookSystem * Add all socket2 events to hooks
* Resize on border (#1347)Ching Pei Yang2023-02-181-0/+54
|
* don't loop border anim on disabledvaxerski2023-02-141-1/+1
|
* feat: border angle animations (#1469)ozwaldorf2023-02-011-4/+29
| | | Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com>
* add hyprctl setpropvaxerski2023-01-241-1/+1
|
* wp-fractional-scaling-v1 impl (#1373)Vaxry2023-01-201-0/+3
| | | | | | | | | | | * Initial fractional scaling impl * apply UV after geom calcs * fix scaling -> scale * meson: add fractional scale proto Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* add a focus history vecvaxerski2023-01-201-0/+4
|
* account for dimAround in fullboundingboxvaxerski2022-12-311-1/+6
|
* added dimaroundvaxerski2022-12-281-0/+3
|
* touch up the clang format and format all filesvaxerski2022-12-201-10/+2
|
* Added clang format (#1239)Vaxry2022-12-161-58/+49
| | | * clang-format stuff and format files
* add override to opacity rulesvaxerski2022-12-111-8/+17
|
* added border gradientsvaxerski2022-11-261-4/+4
|
* override force opaque rule on keybindvaxerski2022-11-231-2/+4
|
* return full monitor box for fullscreen windows in idealBBvaxerski2022-11-211-0/+7
|
* Reset callbacks on remapvaxerski2022-11-181-0/+10
|
* apply some rules dynamically when state of window changes (#1020)Jef2022-11-151-1/+71
| | | Co-authored-by: Jef Steelant <jef.steelant_ext@softathome.com>
* Added resize transitionsvaxerski2022-11-061-0/+9
|
* fix unregistering avars on sethiddenvaxerski2022-11-051-2/+2
|
* Multiple animation optimization and xwayland wine fixesvaxerski2022-11-041-1/+23
|
* rework focus system to be more safe and fastervaxerski2022-10-141-0/+17
|
* Remove trailing whitespace.Felix Dick2022-09-251-2/+2
|
* simplify some local varsvaxerski2022-09-211-5/+3
|