]> git.eshelyaron.com Git - emacs.git/commit
Slightly adjust EWMH frame activation code for child frames
authorPo Lu <luangruo@yahoo.com>
Fri, 11 Nov 2022 02:31:14 +0000 (10:31 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 11 Nov 2022 02:31:57 +0000 (10:31 +0800)
commitea8ed105fdbb7b14ac7f507483f19373738f2941
treeb3e88d5ba151ef0ea0d7a45705f614cb62152293
parent52d9c51816d633f93bd0718d45b4c0e1cc2d4987
Slightly adjust EWMH frame activation code for child frames

* src/xterm.c (x_get_toplevel_parent): New function.
(x_focus_frame): Do not use EWMH activation in two cases: focus
transfers to child frames (this is not guaranteed to work if the
focus and the child frame do not share the same toplevel) or
focus transfers from child frames to their toplevel parents.
src/xterm.c