diff --git a/simpledisplay.d b/simpledisplay.d index 2c7fd06..16f353a 100644 --- a/simpledisplay.d +++ b/simpledisplay.d @@ -2526,7 +2526,7 @@ struct EventLoopImpl { scope(exit) this.mtUnlock(); done = doXNextEvent(this.display); } - if(!done && !closed && pulseTimeout !=0) { + if(!done && pulseTimeout !=0) { if(handlePulse !is null) handlePulse(); import core.thread;