Hi all: I'm creating a guake-like terminal, but I'm having problems to ensure that the window has the focus.
The idea is that I have a global shortcut that, when pressed, will show a terminal window. The problem is that, under certain circumstances, I'm unable to ensure that the window will receive the focus. I tried to use "present()". Also a "show/hide/show" trick. I tried to call "grab_focus" on the "map" callback... but doesn't work. If the window had previously the focus before being hiden, then it regains the focus when presented; but if it loses the focus before being hiden, then it doesn't recover the focus until I do a click on the window. I'm working with Vala and Gtk3. -- Nos leemos RASTER (Linux user #228804) ras...@rastersoft.com http://www.rastersoft.com _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list