added test case for mutter gaurd window, addresses #11 and #18

This commit is contained in:
Jarcode
2018-02-08 17:13:38 -08:00
parent 33aa5274ae
commit ae09561d11

2
xwin.c
View File

@@ -30,6 +30,7 @@
#include "render.h"
#include "xwin.h"
static Window find_desktop(void) {
static Window desktop;
static bool searched = false;
@@ -54,6 +55,7 @@ static Window find_desktop(void) {
}
XFree(children);
}
searched = true;
}
return desktop;
}