Commit ae883561 authored by Martin Rudalics's avatar Martin Rudalics

Don't call x_net_wm_state for scroll bar windows (Bug#24963, Bug#25887)

* src/xterm.c (handle_one_xevent): For ConfigureNotify events
don't call x_net_wm_state when the window is a scroll bar window.
(Bug#24963, Bug#25887)
parent 4da7aaa3
......@@ -8551,8 +8551,10 @@ handle_one_xevent (struct x_display_info *dpyinfo,
#endif
if (f)
{
x_net_wm_state (f, configureEvent.xconfigure.window);
/* Don't call x_net_wm_state for the scroll bar window.
(Bug#24963, Bug#25887) */
if (configureEvent.xconfigure.window == FRAME_X_WINDOW (f))
x_net_wm_state (f, configureEvent.xconfigure.window);
#ifdef USE_X_TOOLKIT
/* Tip frames are pure X window, set size for them. */
......
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