Commit Graph

2 Commits

Author SHA1 Message Date
Damien Miller d5d6b7d76d perform report_failed_grab() inline 2021-04-10 18:45:00 +10:00
Damien Miller ea996ce2d0 dedicated gnome-ssk-askpass3 source
Compatibility with Wayland requires that we use the gdk_seat_grab()
API for grabbing mouse/keyboard, however these API don't exist in
Gtk+2.

This branches gnome-ssk-askpass2.c => gnome-ssk-askpass3.c and
makes the changes to use the gdk_seat_grab() instead of grabbing
mouse/focus separately via GDK.

In the future, we can also use the branched file to avoid some
API that has been soft-deprecated in GTK+3, e.g. gtk_widget_modify_fg
2021-04-10 18:22:57 +10:00