X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Ffocus.c;h=87f589f2d055cc24eeb2dc400662e24e20beb7c5;hb=16fcb1213d4ccfccd4e4a8ad5e8b0c826dc5c16e;hp=59dd0d0d4f8eccbb230cdeb9ff53781e36493fe5;hpb=8874ec1fc4a142ea67d7c5a45ae9ea92ffdec5ea;p=chaz%2Fopenbox diff --git a/openbox/focus.c b/openbox/focus.c index 59dd0d0d..87f589f2 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -166,6 +166,8 @@ ObClient* focus_fallback(gboolean allow_refocus, gboolean allow_pointer) focus_nothing(); new = focus_fallback_target(allow_refocus, allow_pointer, old); + /* get what was really focused */ + if (new) new = client_focus_target(new); return new; }