Change the parent window to root to fix a bug when multiple instance of
xwinwrap are running.
This commit is contained in:
Charles Durieux 2020-08-05 18:11:34 +02:00
parent ec32e9b725
commit 6920062edd
1 changed files with 1 additions and 1 deletions

View File

@ -489,7 +489,7 @@ int main(int argc, char **argv)
flags |= CWBackPixel;
}
window.window = XCreateWindow(display, window.desktop, window.x,
window.window = XCreateWindow(display, window.root, window.x,
window.y, window.width, window.height, 0, depth, InputOutput, visual,
flags, &attrs);
XLowerWindow(display, window.window);