nanogui: Keyboard Focus can not be resumed
Subject:
Keyboard Focus can not be resumed
From:
"Michael Gao" ####@####.####
Date:
4 Sep 2005 22:02:10 +0100
Message-Id: <5EC7EB573FF6D044AF060EE3D1B3525F242C18@nasrvdc01.neurosaudio.com>
Hi, there,
I am not sure if this is a bug or feature,
With mouse disabled, do the following,
1. ROOT window selects SCREEN_SAVER event, enable SCREEN_SAVER.
2. Create root->main-window, map it.
3. Create main-window->pop-window, map it, set focus
4. Wait till SCREEN_SAVER fires, press any key to get rid of SCREEN_SAVER.
After 3 and before 4, pop-window has the keyboard focus.
After 4, I am assuming the keyboard focus is resumed to the pop-window, but actually main-window gets the keyboard focus.
In my case, I really want to see a "modal" pop window remains "modal" after the SCREEN_SAVER cycle, any ideas?
Thanks,
/Michael.