From 979118576f00957c5cb72da2f1cac69fa1cb733d Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 17 Mar 2003 22:13:38 +0000 Subject: [PATCH] trivial reorder --- direct/src/showbase/ShowBase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/showbase/ShowBase.py b/direct/src/showbase/ShowBase.py index 63abdc00c0..ffc467927b 100644 --- a/direct/src/showbase/ShowBase.py +++ b/direct/src/showbase/ShowBase.py @@ -1162,8 +1162,8 @@ class ShowBase(DirectObject.DirectObject): return Task.cont def __windowEvent(self, win): - properties = win.getProperties() if win == self.win: + properties = win.getProperties() self.notify.info("Got window event: %s" % (repr(properties))) if not properties.getOpen(): # If the user closes the main window, we should exit.