bakkeby / dwm-flexipatch

A dwm build with preprocessor directives to decide which patches to include during build time
MIT License
1.15k stars 235 forks source link

New windows spawn only on top #209

Closed hard-tek closed 2 years ago

hard-tek commented 2 years ago

Hello and happy new year to all.

As the title says, I just installed DWM thru flexipatch and was ok with some patched but the problem is that on tile mode (default), every new window spawn only on top of the other. I removed the patches, started from 0 with no patch but still new window, programs and all are opening one on top of the others, no matter how many window I open.

Is there anything that I can do to fox it?

I'll attach a photo to see the example. image

fov95 commented 2 years ago

Just a guess but have u set master to 0?

hard-tek commented 2 years ago

I'm sorry, I don't know what is that and where it is? I'm new to DWM.

Edit: Are you referring to this ? 36 static const int nmaster = 1; /* number of clients in master area */ ? Is is a fresh config.h with just little modification, another font and Mod4 instead of Mod1.

bakkeby commented 2 years ago

Try MOD+i vs MOD+d, the latter decreases nmaster, which is the variable that controls how many clients are to be placed in the master area.