[four-in-a-row/arnaudb/wip/gtk4] Give focus to view after game reset.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [four-in-a-row/arnaudb/wip/gtk4] Give focus to view after game reset.
- Date: Mon, 27 Apr 2020 18:05:49 +0000 (UTC)
commit c549c3d508af4d6c5b713e64fa338279eecd2cec
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Mon Apr 27 20:05:24 2020 +0200
Give focus to view after game reset.
src/four-in-a-row.vala | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/four-in-a-row.vala b/src/four-in-a-row.vala
index 00cfafe..6051b1f 100644
--- a/src/four-in-a-row.vala
+++ b/src/four-in-a-row.vala
@@ -474,6 +474,7 @@ private class FourInARow : Gtk.Application
return Source.REMOVE;
});
}
+ game_board_view.grab_focus ();
}
private void switch_players ()
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]