summaryrefslogtreecommitdiff
path: root/src/layout
Commit message (Collapse)AuthorAgeFilesLines
* Add split preselection (#2240)Dashie2023-05-062-10/+86
|
* only ignore no_gaps_when_only when the workspace rule specifies a border (#2217)jacekpoz2023-05-032-2/+2
| | | Co-authored-by: jacekpoz <jacekpoz@cock.li>
* Added some workspace-specific rules (#1986)levnikmyskin2023-05-012-32/+48
| | | | | | | | | | | | | | | | | | | | | | * 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-252-6/+58
| | | | | * Window resizing for pseudotiled windows * Use `m_vRealSize` to determine scaled window size
* IHyprLayout: add missing static modifiers to config varsvaxerski2023-04-251-6/+6
|
* layouts: add missing static modifiers to config varsvaxerski2023-04-252-16/+16
|
* Format: use %lx for all addressesvaxerski2023-04-173-8/+8
|
* Add ability to split master when only 1 additional window (#2025)Person18732023-04-131-25/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix: enable master split less than 2 windows added a config flag "master:allow_small_split" added config to minimum windows check. TODO: check that no bug added (remove all masters?) * IMPL:FIX: multiple master windows full width Implemented the ability to have multiple master windows filling the full monitor width in master mode. this is controlled by the config option master:allow_small_split (true/false) this defaults to false as it was the original behaviour before this patch * BUGFIX: corrected issue with blanks re: addmaster FIX 1: Treat ORIENTATION_CENTER the same as ORIENTATION_LEFT unless there are enough STACK_WINDOWS to fill both wings. FIX 2: enforced last window always set as master in MasterLayout::CHyperMasterLayout::calculateWorkspace(); FIX 3: fix 2, also fixed focus issues previously noted. * Changes requested by vaxerski changed how we access config variables (by reference not value) fixed a regression previously missed prior to requested changes. I had somehow broken the very functionality i meant to add. * added static keyword to config variables * removed superfluous static tags I made a mistake with making too many variables static. this made them only evaluate once per runtime breaking things majorly. My appologies. I haven't touched C++ in nearly 20 years. * remove annoying comment --------- Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com>
* internal: make togglefloat better visible on small size deltasvaxerski2023-04-061-0/+5
|
* fix: a fullscreen bug. (#1821) (#1831)lisuke2023-03-202-22/+21
|
* internal: wrap wlr surfaces (#1822)Vaxry2023-03-201-1/+1
|
* groups: fix moving between displaysvaxerski2023-03-181-0/+2
|
* master: better cyclevaxerski2023-03-131-58/+11
|
* Dwindle: Added default_split_ratiovaxerski2023-03-071-1/+3
|
* fix mfact not applying to addmaster (#1715)hillyu2023-03-061-1/+2
| | | Co-authored-by: Hill <hillyu@live.com>
* add mfact setting for master layout (#1666)hillyu2023-03-051-2/+3
| | | | | | | * add mfact setting for master layout --------- Co-authored-by: Hill <hillyu@live.com>
* crashReporter: remove inconsistent log from crash reportsvaxerski2023-03-041-6/+12
|
* Convert reverse iterators to rangesvaxerski2023-03-011-13/+14
|
* make window reserved area less stupidvaxerski2023-02-282-23/+30
|
* Add option to disable/enable mouse window dragging animations (#1658)Dashie2023-02-281-2/+3
|
* Added center orientation to master layout (#1642)Marcus Kellerman2023-02-262-14/+97
| | | | | | | * Added center orientation to master layout to improve experience on ultra widescreen monitors. * Added support for orientationcenter layout message for master layout * Added ability to optionally always center master window when in centered master mode.
* fix cursor image on drag not resizevaxerski2023-02-261-0/+3
|
* use corner cursors on resize (#1638)Mihai Fufezan2023-02-261-6/+10
|
* added a lockgroups dispatchervaxerski2023-02-212-3/+3
|
* unset hidden at grouped removevaxerski2023-02-191-0/+2
|
* Group/Tab Rework (#1580)Vaxry2023-02-196-461/+82
|
* Added an Event Hook System (#1578)Vaxry2023-02-193-1/+4
| | | | | * added an eventHookSystem * Add all socket2 events to hooks
* Resize on border (#1347)Ching Pei Yang2023-02-181-3/+8
|
* properly clamp size in dragging floating cornersvaxerski2023-02-122-25/+29
|
* Fix some issues with a lost focus of the maximized window after using ↵Philipp Mildenberger2023-02-111-23/+29
| | | | | | | swapwithmaster in fullscreen mode (#1524) * Fix some issues with a lost focus of the maximized window after using swapwithmaster in fullscreen mode * Keep current fullscreen mode when `prepareNewFocus` is executed
* Added support for layoutmsg params and added the param 'newfocus' for ↵Philipp Mildenberger2023-02-101-17/+45
| | | | | 'swapwithmaster' and 'focusmaster' (#1522) * Added support for layoutmsg params and added the param 'newfocus' for 'swapwithmaster' and 'focusmaster', which lets the user decide what the new focused window should be
* minor adjustments to xwayland positioningvaxerski2023-02-031-3/+12
|
* reset layout-set render vars on floatingvaxerski2023-01-313-0/+10
|
* Unbreak build with libc++ (#1457)Jan Beich2023-01-312-3/+3
|
* fix: cursor changing on window move and resize (#1371)eriedaberrie2023-01-271-2/+2
| | | * Just use grab cursor for everything
* reset dragged window on failed beginvaxerski2023-01-201-0/+3
|
* master layout: remember size & pos of floating windows on fullscreen 1 (#1374)Maxim Baz2023-01-131-4/+6
|
* clean draggedwindow in dragendvaxerski2023-01-021-0/+2
|
* support gradients in dwindle group colorsvaxerski2022-12-312-35/+35
|
* fix mouse resize on master orientationsvaxerski2022-12-301-10/+28
|
* remove main_modvaxerski2022-12-281-3/+2
|
* fix for gap in master layout orientation right #1171 (#1260)Maarten van Gompel2022-12-201-2/+2
|
* remember master width on master closevaxerski2022-12-171-1/+2
|
* Add 'exact' option for 'splitratio' (#1245)Julian Schuler2022-12-175-9/+11
| | | | | * Simplify getPlusMinusKeywordResult() * Add an 'exact' option for 'splitratio'
* Fix cycleprev bug introduced in 46891b12cf (#1213) (#1242)Julian Schuler2022-12-171-1/+1
|
* remember size and pos on fullscreen 1vaxerski2022-12-171-6/+8
|
* ignore self in candidate floatingvaxerski2022-12-161-3/+4
|
* Added clang format (#1239)Vaxry2022-12-166-434/+451
| | | * clang-format stuff and format files
* log more in group creationvaxerski2022-12-161-6/+12
|
* static-ize master optvaxerski2022-12-121-1/+1
|