From: Po Lu Date: Tue, 26 Apr 2022 12:43:15 +0000 (+0800) Subject: Fix EWMH window activation X-Git-Tag: emacs-29.0.90~1931^2~295 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0936bfcd77a671b8dce4ebcdc3e916622d68a865;p=emacs.git Fix EWMH window activation * src/xterm.c (x_ewmh_activate_frame): Add missing fields of message. (bug#55122) --- diff --git a/src/xterm.c b/src/xterm.c index 16d0ce67071..56add92f8b5 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -21479,8 +21479,10 @@ x_ewmh_activate_frame (struct frame *f) /* See the documentation at https://specifications.freedesktop.org/wm-spec/wm-spec-latest.html for more details on the format of this message. */ + msg.xclient.type = ClientMessage; msg.xclient.window = FRAME_OUTER_WINDOW (f); msg.xclient.message_type = dpyinfo->Xatom_net_active_window; + msg.xclient.format = 32; msg.xclient.data.l[0] = 1; msg.xclient.data.l[1] = dpyinfo->last_user_time; msg.xclient.data.l[2] = (!dpyinfo->x_focus_frame