cosmectic

This commit is contained in:
Julien Danjou 2007-09-15 14:23:18 +02:00
parent fa7d80ac4f
commit 636459d85d
1 changed files with 6 additions and 5 deletions

View File

@ -103,7 +103,11 @@ _tile(Display *disp, awesome_config *awesomeconf, const Bool right)
if(!IS_TILED(c, awesomeconf->selected_tags, awesomeconf->ntags)) if(!IS_TILED(c, awesomeconf->selected_tags, awesomeconf->ntags))
continue; continue;
if(use_screen == -1 || (screen_numbers > 1 && i && ((i - last_i) >= nmaster_screen + otherwin_screen || n == screen_numbers))) if(use_screen == -1
|| (screen_numbers > 1
&& i
&& ((i - last_i) >= nmaster_screen + otherwin_screen
|| n == screen_numbers)))
{ {
use_screen++; use_screen++;
last_i = i; last_i = i;
@ -148,10 +152,7 @@ _tile(Display *disp, awesome_config *awesomeconf, const Bool right)
if(li < awesomeconf->nmaster) if(li < awesomeconf->nmaster)
{ /* master */ { /* master */
ny = way + li * mh; ny = way + li * mh;
if(right) nx = wax + (right ? 0: waw - mw);
nx = wax;
else
nx = wax + (waw - mw);
nw = mw - 2 * c->border; nw = mw - 2 * c->border;
nh = mh - 2 * c->border; nh = mh - 2 * c->border;
} }