Commit f44184f1 authored by Martin Rudalics's avatar Martin Rudalics

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.
parent a4f6b109
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment