Leon Henrik Plickat
ec0631dcef
Doc: Add layout documentation
2020-06-16 15:48:53 +02:00
Leon Henrik Plickat
4cbef71a8d
Contrib: Add debug layouts
2020-06-16 15:48:53 +02:00
Leon Henrik Plickat
5de21d0d23
Commands: rework layout command
2020-06-16 15:48:53 +02:00
Leon Henrik Plickat
2fce8c7108
Output: Add layoutExternal()
2020-06-16 15:48:53 +02:00
Leon Henrik Plickat
754e24a710
Output: Rework layout switching in arrangeViews()
2020-06-16 15:48:53 +02:00
Leon Henrik Plickat
bdc56517e9
Output: Remove layoutMasterStack() and rework layoutFull()
...
layoutFull() now enforces a minimum view size of 50x50
2020-06-16 15:48:53 +02:00
Leon Henrik Plickat
2575f642f1
Fix layout bugs
...
This fixes two bugs: First, the height of the slave stack was to high
when using the TopMaster or BottomMaster layouts with no views in the
master stack. Second, the view padding was not respected when using the
Full layout.
2020-05-22 11:21:36 +02:00
Leon Henrik Plickat
7934cbfaea
Add layout command
2020-05-20 23:02:28 +02:00
Leon Henrik Plickat
3c5eaec50b
Add layout variable to Output class
...
This variable in controls which layout is chosen when
arrangeViews() is called. The default is LeftMaster
2020-05-20 23:02:28 +02:00
Leon Henrik Plickat
fd3f48c1a7
Switch to layoutFull() for one or no visible views
2020-05-20 23:02:28 +02:00
Leon Henrik Plickat
444cf77ad3
Add "full" layout
...
Similar to dwm's "monocle" layout
2020-05-20 23:02:28 +02:00
Leon Henrik Plickat
b40c5d912e
Modify default layout to allow master area on all four sides
...
Also move it into a separate function
2020-05-20 23:02:28 +02:00