[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 0936bfcd77: Fix EWMH window activation
From: |
Po Lu |
Subject: |
master 0936bfcd77: Fix EWMH window activation |
Date: |
Tue, 26 Apr 2022 08:44:40 -0400 (EDT) |
branch: master
commit 0936bfcd77a671b8dce4ebcdc3e916622d68a865
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Fix EWMH window activation
* src/xterm.c (x_ewmh_activate_frame): Add missing fields of
message. (bug#55122)
---
src/xterm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/xterm.c b/src/xterm.c
index 16d0ce6707..56add92f8b 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 0936bfcd77: Fix EWMH window activation,
Po Lu <=