From 986002e778d7591e75014fd1e439bade35cdd627 Mon Sep 17 00:00:00 2001 From: kitty piapiac Date: Fri, 31 Jul 2020 04:50:15 -0700 Subject: d(>_< ) small bugfix see previous commit...? --- src/windowmanager.nim | 1 + 1 file changed, 1 insertion(+) (limited to 'src/windowmanager.nim') diff --git a/src/windowmanager.nim b/src/windowmanager.nim index 6053aa0..7f5c111 100644 --- a/src/windowmanager.nim +++ b/src/windowmanager.nim @@ -234,6 +234,7 @@ proc onReparentNotify (wm: WindowManager, e: PXReparentEvent) = return proc onMapNotify (wm: WindowManager, e: PXMapEvent) = return proc onUnmapNotify (wm: WindowManager, e: PXUnmapEvent) = if wm.focused == wm.clients.high: wm.focused -= 1 + discard wm.display.XSetInputFocus(wm.clients[wm.focused], RevertToParent, CurrentTime) let index = wm.clients.find(e.window) if index > -1: wm.clients.delete index wm.tileWindows() -- cgit v1.2.3