remove a DefaultScreen()

This commit is contained in:
Julien Danjou 2007-09-16 12:14:22 +02:00
parent 1ca3c565ee
commit ab75756d62
1 changed files with 1 additions and 1 deletions

2
tag.c
View File

@ -239,7 +239,7 @@ uicb_toggleview(Display *disp,
for(j = 0; j < awesomeconf->ntags && !awesomeconf->selected_tags[j]; j++); for(j = 0; j < awesomeconf->ntags && !awesomeconf->selected_tags[j]; j++);
if(j == awesomeconf->ntags) if(j == awesomeconf->ntags)
awesomeconf->selected_tags[i] = True; /* cannot toggle last view */ awesomeconf->selected_tags[i] = True; /* cannot toggle last view */
saveawesomeprops(disp, DefaultScreen(disp), awesomeconf); saveawesomeprops(disp, screen, awesomeconf);
arrange(disp, screen, drawcontext, awesomeconf); arrange(disp, screen, drawcontext, awesomeconf);
} }