[four-in-a-row/arnaudb/wip/gtk4: 37/42] Give focus to view after hint.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [four-in-a-row/arnaudb/wip/gtk4: 37/42] Give focus to view after hint.
- Date: Mon, 4 May 2020 13:20:51 +0000 (UTC)
commit dd32c8b25b470fec6ac94dff04ff7cf6878edc1a
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Mon Apr 27 19:59:07 2020 +0200
Give focus to view after hint.
src/four-in-a-row.vala | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/four-in-a-row.vala b/src/four-in-a-row.vala
index 583fe96..76b7a7c 100644
--- a/src/four-in-a-row.vala
+++ b/src/four-in-a-row.vala
@@ -923,6 +923,8 @@ private class FourInARow : Gtk.Application
window.allow_undo (false);
else
window.allow_undo (true);
+
+ game_board_view.grab_focus ();
}
private inline void on_game_undo ()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]