GNOME Bugzilla – Bug 133043
Don't accept focus on the parents of modal dialogs
Last modified: 2018-02-10 03:26:50 UTC
Using the new API from bug #64613 and the globally active input model generally ( bug #133040 ), the parents of modal dialogs should refuse focus offered by the window manager. However, the WM_TAKE_FOCUS message should not just be rejected. It should be used to set input focus to the correct modal dialog. This can be done by translating the message into a GdkEvent, as in the rejected patch at bug #64613 , and then using the timestamp of that event to set focus with an API provided by bug #133042 .
*** Bug 133044 has been marked as a duplicate of this bug. ***
We're moving to gitlab! As part of this move, we are closing bugs that haven't seen activity in more than 5 years. If this issue is still imporant to you and still relevant with GTK+ 3.22 or master, please consider creating a gitlab issue for it.