iswitchwin is not always focused after activation ------------------------------------------------- This is a known problem happening under linux/X11. The focus is managed by window manager and application (iswitchwin) can not focus its windows without interacting with window manager. It sometimes happens that iswitchwin is brought up onscreen by pressing a hotkey, but focus stays somewhere else. It's a major pain and I am seeking help to solve this problem. Meanwhile a workaround has been found using gtk_widget_realize and gdk_x11_* that works for me quite stable. I have stolen this code from gedit, but I'm not sure it's the right way to go, neither I know why it works. iswitchwin generating wrong timestamps for _NET_ACTIVE_WINDOW ------------------------------------------------------------- Latest metacity prints warnings any time window is activated via iswiwtchwin, this means our algorithm for timestamp computation is entirely wrong, but I don't understand this timestamp issue at all.