#21 key focus lost

open
nobody
5
2012-12-15
2012-12-15
hohomore
No

Before i commented the code below ,
my typing had been consistently interrupted by a pop-up-window or something like that .
Those windows quickly take focus and quickly disappear to take our attention , however , our key focuses are never returned .

modules/FrontEnd/scim_x11_frontend.cpp , int X11FrontEnd::ims_destroy_ic_handler (XIMS ims, IMDestroyICStruct *call_data)
...
...
...
m_panel_client.send ();

/*if (is_focused_ic (ic))
m_focus_ic = 0;
else*/
m_focus_ic = old_focus;

m_ic_manager.destroy_ic (call_data);
return 1;

Discussion