[gcompris] fixed focus issue on windows
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcompris] fixed focus issue on windows
- Date: Thu, 15 Aug 2013 07:24:21 +0000 (UTC)
commit f298207fb68dc3d16572ece4eed0525eb4d9db9c
Author: Bruno Coudoin <bruno coudoin free fr>
Date: Thu Aug 15 08:23:07 2013 +0200
fixed focus issue on windows
When the activation code is requested, it kept the focus
even after it was destroyed. Thus 'spaces' and 'enters'
was not received by GCompris activities.
src/gcompris/gcompris.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gcompris/gcompris.c b/src/gcompris/gcompris.c
index bb6ca29..4d649fa 100644
--- a/src/gcompris/gcompris.c
+++ b/src/gcompris/gcompris.c
@@ -1067,6 +1067,7 @@ activation_done()
}
gc_board_play( get_board_to_start());
+ gtk_widget_grab_focus(GTK_WIDGET(canvas));
goo_canvas_item_remove (activation_item);
}
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]