> You could simplify the code by introducing to two global variables that
> indicate whether the master or tiled area is horizontal.
> So switching to |= would simply set tileh = True and leave masterh
> unchanged and switchting to -|= would set tileh = True and masterh = True.
> So you could simpl
Nibble <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> > And I can say that for xinerama we will probably need to adapt it to
> > support also vertical tiling. Using horitzontal it's mostly a waste of
> > space on big screens.
>
> Yes, I think you are right. Furthermore, horizontal tiling (Anselm's
>
Hi there,
> And I can say that for xinerama we will probably need to adapt it to
> support also vertical tiling. Using horitzontal it's mostly a waste of
> space on big screens.
Yes, I think you are right. Furthermore, horizontal tiling (Anselm's notation)
could be useful for some other geoms (e
Io Nibble :)
I have tested your latest patch in my dwm 4.9 and configured xinerama properly
(thanks)
And I can say that for xinerama we will probably need to adapt it to support
also
vertical tiling. Using horitzontal it's mostly a waste of space on big screens.
But the port works fine :)
I w
Sorry for noise, but this last version of ntile should fit better any geom.
Kind regards,
Nibble
int nmaster = NMASTER;
void
ntile(void) {
unsigned int i, n = counttiled(), lnx, lny, lnw, lnh, lmah, lmw, lmh, lth;
Client *c;
/* window geoms */
lmah = (n <= nmaster) ? moh : mh;
lmh = (n <= n
Sorry, there was a problem using it in a dual screen setup. Should be fixed
now.
Kind regards,
Nibble
int nmaster = NMASTER;
void
ntile(void) {
unsigned int i, n = counttiled(), lnx, lny, lnw, lnh, lmw, lmh, lth;
Client *c;
/* window geoms */
lmh = (n <= nmaster) ? mh / (n > 0 ? n : 1) : mh
Hi there,
I have adapted the nmaster ntile layout for the current dwm
hg tip. Maybe it could be useful for someone else.
You should modify config.h to include (after setting RESIZEHINTS):
#define NMASTER 1
#include "nmaster.c"
Add a new "ntile" layout
Layout layouts[] = {