stoken-dev / stoken

RSA SecurID-compatible software token for Linux/UNIX systems
http://stoken.sf.net
GNU Lesser General Public License v2.1
411 stars 78 forks source link

macOS: GTK+ dialog doesn't show up in foreground #40

Open manueldziuba opened 6 years ago

manueldziuba commented 6 years ago

When i start "/usr/local/bin/stoken-gui", the dialog is generated, but shown behind all other existing windows. I have to search for it first and click on the window to bring it to front.

It would be a very helpful fix, when the dialog gets focussed directly when created/shown up and also the first input field (password / PIN) is focussed to start typing directly.

I already looked into the code and in my opinion the file src/gui.c -> function do_password_dialog is the right place... The is a set_keep_above method in the reference...

OS: macOS 10.13.1 (High Sierra) Stoken was build with the instructions from the README file.