]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/xterm.c (x_focus_frame): Set input focus on outer window.
authorPo Lu <luangruo@yahoo.com>
Thu, 27 Jan 2022 01:33:11 +0000 (09:33 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 27 Jan 2022 01:33:11 +0000 (09:33 +0800)
src/xterm.c

index 1684048ea4c9c7b930f21877f3857c02d35f6e14..d52d7311bb1e5bca1f2c458e8e44368b372c3e95 100644 (file)
@@ -14026,7 +14026,7 @@ x_focus_frame (struct frame *f, bool noactivate)
     }
   else
     {
-      XSetInputFocus (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
+      XSetInputFocus (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f),
                      RevertToParent, CurrentTime);
       if (!noactivate)
        x_ewmh_activate_frame (f);