mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-05 20:26:09 +01:00
fix compilation errors with new globalconf stuff
This commit is contained in:
parent
ce556ec743
commit
eb57f68ed3
1 changed files with 3 additions and 3 deletions
|
@ -74,8 +74,8 @@ cleanup_screen(int screen)
|
|||
Tag *t, *tn;
|
||||
|
||||
XftFontClose(globalconf.display, globalconf.screens[screen].font);
|
||||
XUngrabKey(globalconf.display, AnyKey, AnyModifier, RootWindow(globalconf.display, get_phys_screen(globalconf.display, screen)));
|
||||
XDestroyWindow(globalconf.display, globalconf.screens[screen].statusbar.window);
|
||||
XUngrabKey(globalconf.display, AnyKey, AnyModifier, RootWindow(globalconf.display, get_phys_screen(screen)));
|
||||
XDestroyWindow(globalconf.display, globalconf.screens[screen].statusbar->window);
|
||||
|
||||
for(t = globalconf.screens[screen].tags; t; t = tn)
|
||||
{
|
||||
|
@ -137,7 +137,7 @@ cleanup()
|
|||
|
||||
p_delete(&globalconf.configpath);
|
||||
|
||||
for(screen = 0; screen < get_screen_count(globalconf.display); screen++)
|
||||
for(screen = 0; screen < get_screen_count(); screen++)
|
||||
cleanup_screen(screen);
|
||||
|
||||
XSetInputFocus(globalconf.display, PointerRoot, RevertToPointerRoot, CurrentTime);
|
||||
|
|
Loading…
Reference in a new issue