Commit 82aebaf4 authored by Fred Pierresteguy's avatar Fred Pierresteguy

(XTread_socket): For case ClientMessage and Xatom_wm_delete_window, use

x_any_window_to_frame.
parent aceb65a6
......@@ -2854,7 +2854,7 @@ XTread_socket (sd, bufp, numchars, waitp, expected)
}
else if (event.xclient.data.l[0] == Xatom_wm_delete_window)
{
struct frame *f = x_window_to_frame (event.xclient.window);
struct frame *f = x_any_window_to_frame (event.xclient.window);
if (f)
{
......
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