mirror of https://github.com/adamdruppe/arsd.git
lol ketmar bug
This commit is contained in:
parent
3a1ebbcf6d
commit
4ad2206942
|
@ -5256,12 +5256,13 @@ version(X11) {
|
||||||
glViewport(0, 0, event.width, event.height);
|
glViewport(0, 0, event.width, event.height);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(win.windowResized !is null)
|
if(win.windowResized !is null) {
|
||||||
XUnlockDisplay(display);
|
XUnlockDisplay(display);
|
||||||
scope(exit) XLockDisplay(display);
|
scope(exit) XLockDisplay(display);
|
||||||
win.windowResized(event.width, event.height);
|
win.windowResized(event.width, event.height);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case EventType.Expose:
|
case EventType.Expose:
|
||||||
if(auto win = e.xexpose.window in SimpleWindow.nativeMapping) {
|
if(auto win = e.xexpose.window in SimpleWindow.nativeMapping) {
|
||||||
|
|
Loading…
Reference in New Issue