lol ketmar bug

This commit is contained in:
Adam D. Ruppe 2016-06-09 10:40:26 -04:00
parent 3a1ebbcf6d
commit 4ad2206942
1 changed files with 2 additions and 1 deletions

View File

@ -5256,10 +5256,11 @@ version(X11) {
glViewport(0, 0, event.width, event.height);
}
if(win.windowResized !is null)
if(win.windowResized !is null) {
XUnlockDisplay(display);
scope(exit) XLockDisplay(display);
win.windowResized(event.width, event.height);
}
}
}
break;