Fix bug
Change the parent window to root to fix a bug when multiple instance of xwinwrap are running.
This commit is contained in:
parent
ec32e9b725
commit
6920062edd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user