mirror of https://github.com/adamdruppe/arsd.git
oops
This commit is contained in:
parent
2ec2a64536
commit
680030d378
|
@ -6172,8 +6172,11 @@ class Window : Widget {
|
||||||
win.close();
|
win.close();
|
||||||
// I synchronize here upon window closing to ensure all child windows
|
// I synchronize here upon window closing to ensure all child windows
|
||||||
// get updated too before the event loop. This avoids some random X errors.
|
// get updated too before the event loop. This avoids some random X errors.
|
||||||
static if(UsingSimpledisplayX11)
|
static if(UsingSimpledisplayX11) {
|
||||||
XSync(XDisplayConnection.get, false);
|
runInGuiThread( {
|
||||||
|
XSync(XDisplayConnection.get, false);
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool dispatchKeyEvent(KeyEvent ev) {
|
bool dispatchKeyEvent(KeyEvent ev) {
|
||||||
|
|
Loading…
Reference in New Issue