From 4ad2206942b9762b9760bfeb793bf354696ec0ab Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Thu, 9 Jun 2016 10:40:26 -0400 Subject: [PATCH] lol ketmar bug --- simpledisplay.d | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/simpledisplay.d b/simpledisplay.d index ec1b986..e156d04 100644 --- a/simpledisplay.d +++ b/simpledisplay.d @@ -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;