[mutter/wip/focus: 11/16] display: Don't grab the window actor's key focus
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/focus: 11/16] display: Don't grab the window actor's key focus
- Date: Thu, 27 Feb 2014 02:14:36 +0000 (UTC)
commit 7f195aec7a9f5d86464013db94f23db91abc2283
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Feb 25 19:20:45 2014 -0500
display: Don't grab the window actor's key focus
This breaks gnome-shell's actor tracking code.
src/core/display.c | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/src/core/display.c b/src/core/display.c
index 65be882..da05ca8 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -1785,19 +1785,9 @@ update_focus_window (MetaDisplay *display,
if (display->focus_window)
{
- ClutterActor *window_actor;
-
meta_topic (META_DEBUG_FOCUS, "* Focus --> %s with serial %lu\n",
display->focus_window->desc, serial);
meta_window_set_focused_internal (display->focus_window, TRUE);
-
- /* XXX -- this is sort of a layer violation, but because we
- * rely on the compositor for event delivery anyway, I don't
- * think it's too bad... */
-
- window_actor = CLUTTER_ACTOR (display->focus_window->compositor_private);
- if (window_actor)
- clutter_actor_grab_key_focus (window_actor);
}
else
meta_topic (META_DEBUG_FOCUS, "* Focus --> NULL with serial %lu\n", serial);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]