Skip to content

Always return GTK_RESPONSE_OK for accepted shortcut keys (fixes #20)

Harald Judt requested to merge hjudt/libxfce4ui:master into master

Commit a41dcb19 replaced the deprecated gtk_keyboard_ungrab code but also erroneously put the gtk_dialog_response call inside the gdk_seat_grab check, while it should be inside the shortcut_accepted check. This commit restores the original logic, thus properly setting the accepted shortcut key and closing the dialog.

Edited by Gaël Bonithon

Merge request reports

Loading