summaryrefslogtreecommitdiff
path: root/src/layout/DwindleLayout.cpp
Commit message (Collapse)AuthorAgeFilesLines
* groupbar fixes (#2630)MightyPlaza2023-07-031-9/+24
| | | | | | | | | | | | | | 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>
* feat: add lockactivegroup dispatcher (#2478)memchr2023-06-091-1/+3
| | | | | | | | | | | | | | | | | * 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
* layouts: make aware of borderSize propvaxerski2023-06-041-3/+4
|
* layouts: ignore direction forces on non-mapvaxerski2023-05-241-1/+1
|
* decos: recalc on addvaxerski2023-05-231-0/+2
|
* Add split preselection (#2240)Dashie2023-05-061-9/+75
|
* only ignore no_gaps_when_only when the workspace rule specifies a border (#2217)jacekpoz2023-05-031-1/+1
| | | Co-authored-by: jacekpoz <jacekpoz@cock.li>
* Added some workspace-specific rules (#1986)levnikmyskin2023-05-011-16/+24
| | | | | | | | | | | | | | | | | | | | | | * added some workspace-specific rules * added some worskpace-specific rules, with windowrule like syntax * monitor is not mandatory anymore * pointers to config are now static * fixed optional WorkspaceRule fields * Windows can now specify border size * removed CHyprOpenGLImpl::renderBorder borderSize default value * stuff --------- Co-authored-by: Alessio Molinari <alessiomolinari@gmail.com> Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com>
* Window resizing for pseudotiled windows (#2140)outfoxxed2023-04-251-0/+44
| | | | | * Window resizing for pseudotiled windows * Use `m_vRealSize` to determine scaled window size
* layouts: add missing static modifiers to config varsvaxerski2023-04-251-8/+8
|
* Format: use %lx for all addressesvaxerski2023-04-171-3/+3
|
* fix: a fullscreen bug. (#1821) (#1831)lisuke2023-03-201-9/+6
|
* Dwindle: Added default_split_ratiovaxerski2023-03-071-1/+3
|
* make window reserved area less stupidvaxerski2023-02-281-0/+4
|
* added a lockgroups dispatchervaxerski2023-02-211-1/+1
|
* Group/Tab Rework (#1580)Vaxry2023-02-191-449/+20
|
* Added an Event Hook System (#1578)Vaxry2023-02-191-0/+1
| | | | | * added an eventHookSystem * Add all socket2 events to hooks
* reset layout-set render vars on floatingvaxerski2023-01-311-0/+4
|
* support gradients in dwindle group colorsvaxerski2022-12-311-8/+8
|
* Add 'exact' option for 'splitratio' (#1245)Julian Schuler2022-12-171-2/+3
| | | | | * Simplify getPlusMinusKeywordResult() * Add an 'exact' option for 'splitratio'
* remember size and pos on fullscreen 1vaxerski2022-12-171-6/+8
|
* Added clang format (#1239)Vaxry2022-12-161-191/+196
| | | * clang-format stuff and format files
* log more in group creationvaxerski2022-12-161-6/+12
|
* fix drag resizing on special ws-esvaxerski2022-12-091-1/+1
|
* add failsafe for dwindle windowsvaxerski2022-12-071-0/+10
|
* Added handling more special workspacesvaxerski2022-11-271-8/+8
|
* fix decorations missing after no_gaps_when_only toggle floatingvaxerski2022-11-261-0/+4
|
* damage windows after switchvaxerski2022-11-251-0/+3
|
* damage monitor on group switchvaxerski2022-11-221-0/+2
|
* respect no_gaps_when_only in fullscreen 1vaxerski2022-11-191-1/+1
|
* fix fullscreen maximize sizevaxerski2022-11-051-6/+0
|
* Multiple animation optimization and xwayland wine fixesvaxerski2022-11-041-0/+6
|
* rework focus system to be more safe and fastervaxerski2022-10-141-9/+9
|
* Merge pull request #736 from Dickby/fix_bordersize_againVaxry2022-09-291-5/+4
|\ | | | | Scale the border size, revert the window scaling according to border
| * Merge branch 'main' into fix_bordersize_againFelix Dick2022-09-291-7/+7
| |\
| * | Scale the border size, revert the window scaling according to borderFelix Dick2022-09-261-5/+4
| | |
* | | apply new node data to all group windows on closevaxerski2022-09-291-0/+11
| | |
* | | fix crash on dwindle splitratio alter on single groupvaxerski2022-09-291-1/+1
| |/ |/|
* | Use double literals, don't cast a integer literal to double.Felix Dick2022-09-281-7/+7
| |
* | Replace clamp with max if there is no upper bound.Felix Dick2022-09-261-1/+1
|/
* Remove trailing whitespace.Felix Dick2022-09-251-15/+15
|
* scale border size in dwindle layout window sizes.Dickby2022-09-251-4/+5
|
* Fixing my last changeDickby2022-09-231-6/+5
| | | | | It wasn't a problem with the bug i tried to fix. But there would be a problem if some function would dereference pPreviousGroupMember from the node that was PHEAD->pNextGroupMember. Please don't be mean!
* Merge pull request #715 from Dickby/mainVaxry2022-09-231-2/+10
|\ | | | | fix crash
| * stylevaxerski2022-09-231-2/+3
| |
| * style fixDickby2022-09-231-8/+6
| |
| * fix crash Dickby2022-09-231-2/+11
| | | | | | Fixes #711
* | don't decorate on only no gapsvaxerski2022-09-231-0/+2
|/
* disable enabling groups on fullscreen windowsvaxerski2022-09-201-2/+4
|
* better dwindle swapping with groupsvaxerski2022-09-201-15/+98
|