[four-in-a-row/arnaudb/wip/gtk4: 87/92] 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: 87/92] Give focus to view after game reset.
- Date: Sat, 26 Sep 2020 10:29:08 +0000 (UTC)
commit 6ca629061bd128f1ddf9092ce73f7d73a63c9017
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 75e1dc6..a7508d8 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]