diff options
author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2019-10-15 14:38:14 +0000 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2019-10-15 18:31:50 +0000 |
commit | bf17e040101a51cda34ed246768a175afabd9a14 (patch) | |
tree | 62e5cec66184c7b0cb57f32981143f27cec2abb4 /clutter/clutter | |
parent | a22731e2b2982019863784f30177dac2b7942be3 (diff) | |
download | mutter-bf17e040101a51cda34ed246768a175afabd9a14.tar.gz |
clutter/stage: Actually set key focus to an actor on key focus
As per commit c2d03bf73 we're using a private method to set the actors key
focus and emit key-focus-in signal, but we're using inverted logic here.
So flip the parameter to match the expected result.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/860
(cherry picked from commit 553211dd81a849f33f0aca447c8683f031fff868)
Diffstat (limited to 'clutter/clutter')
-rw-r--r-- | clutter/clutter/clutter-stage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clutter/clutter/clutter-stage.c b/clutter/clutter/clutter-stage.c index 3a8a019d2..c4b88b32e 100644 --- a/clutter/clutter/clutter-stage.c +++ b/clutter/clutter/clutter-stage.c @@ -3064,7 +3064,7 @@ clutter_stage_set_key_focus (ClutterStage *stage, if (actor != NULL) { priv->key_focused_actor = actor; - _clutter_actor_set_has_key_focus (actor, FALSE); + _clutter_actor_set_has_key_focus (actor, TRUE); } else _clutter_actor_set_has_key_focus (CLUTTER_ACTOR (stage), TRUE); |