From 58ff3f35c2b712ec92b093ffd8b96331615f546a Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 17 Jan 2003 06:07:20 +0000 Subject: [PATCH] add commented code for future maybe --- otk/eventdispatcher.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/otk/eventdispatcher.cc b/otk/eventdispatcher.cc index c5cefe2c..9e40947d 100644 --- a/otk/eventdispatcher.cc +++ b/otk/eventdispatcher.cc @@ -100,7 +100,11 @@ void EventDispatcher::dispatchEvents(void) void EventDispatcher::dispatchFocus(const XEvent &e) { // ignore focus changes from grabs - if (e.xfocus.mode == NotifyGrab) + if (e.xfocus.mode == NotifyGrab) // || + // From Metacity, from WindowMaker, ignore all funky pointer root events + // its commented out cuz I don't think we need this at all. If problems + // arise we can look into it + //e.xfocus.detail > NotifyNonlinearVirtual) return; if (e.type == FocusIn) { -- 2.45.2