Re: How to reactivate (focus?) the main window,

2016-09-04 Thread dmg
On Sun, Sep 4, 2016 at 9:57 AM, dmg wrote: > > I have tried using gtk_window_set_focus(winMain); but this does not work. > ​My mistake. I have used: ​gtk_widget_grab_focus(winMain); and it does not work. -- --dmg --- Daniel M. German http://turingmachine.org ___

How to reactivate (focus?) the main window,

2016-09-04 Thread dmg
hi everybody, i help maintain xournal. We use gtk+2. One feature we support is making a screenshot. This is done by activating the root window. Things work as expected. But... the problem is, how do I activate the main window? The focus remains in the root one. I have tried using gtk_window_s