remove a DefaultScreen()
This commit is contained in:
parent
1ca3c565ee
commit
ab75756d62
2
tag.c
2
tag.c
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue