[four-in-a-row/arnaudb/wip/gtk4: 38/42] 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: 38/42] Give focus to view after game reset.
- Date: Mon, 4 May 2020 13:20:56 +0000 (UTC)
commit 870a7841c7e4752153029cef5b3e87c4e02f1af6
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 76b7a7c..bb287b5 100644
--- a/src/four-in-a-row.vala
+++ b/src/four-in-a-row.vala
@@ -476,6 +476,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]