[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master f44184f: Restrict fix of Bug#24963 and Bug#25887 to
From: |
Martin Rudalics |
Subject: |
[Emacs-diffs] master f44184f: Restrict fix of Bug#24963 and Bug#25887 to GTK builds |
Date: |
Thu, 31 Aug 2017 03:37:38 -0400 (EDT) |
branch: master
commit f44184f1c34fed8e6e1db93de37d3ea76419c5ac
Author: Martin Rudalics <address@hidden>
Commit: Martin Rudalics <address@hidden>
Restrict fix of Bug#24963 and Bug#25887 to GTK builds
* src/xterm.c (handle_one_xevent): Restrict earlier fix of
Bug#24963 and Bug#25887 to avoid that a non-GTK Emacs won't
react to state changes received via ConfigureNotify.
---
src/xterm.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/xterm.c b/src/xterm.c
index 64e8970..b7dc884 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -8723,9 +8723,11 @@ handle_one_xevent (struct x_display_info *dpyinfo,
#endif
if (f)
{
- /* Don't call x_net_wm_state for the scroll bar window.
- (Bug#24963, Bug#25887) */
+#ifdef USE_GTK
+ /* For GTK+ don't call x_net_wm_state for the scroll bar
+ window. (Bug#24963, Bug#25887) */
if (configureEvent.xconfigure.window == FRAME_X_WINDOW (f))
+#endif
x_net_wm_state (f, configureEvent.xconfigure.window);
#ifdef USE_X_TOOLKIT
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master f44184f: Restrict fix of Bug#24963 and Bug#25887 to GTK builds,
Martin Rudalics <=