Prevent user the resize client while using tile_grid vertically or
horizontally.
This commit is contained in:
parent
cee16d6f7f
commit
414273fff9
@ -247,7 +247,9 @@ mouse_resize(Client *c)
|
||||
{
|
||||
/* To resize MWFACT in tile mode */
|
||||
if((c->flags & TileFlag)
|
||||
&& tags[selscreen][seltag[selscreen]].layout.func != grid)
|
||||
&& tags[selscreen][seltag[selscreen]].layout.func != grid // for backward compatibility
|
||||
&& tags[selscreen][seltag[selscreen]].layout.func != grid_vertical
|
||||
&& tags[selscreen][seltag[selscreen]].layout.func != grid_horizontal)
|
||||
{
|
||||
if(tags[selscreen][seltag[selscreen]].layout.func == tile)
|
||||
mwf += (ROUND(ev.xmotion.x_root) - omx) / (sgeo[c->screen].width);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user