emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/xterm.c


From: Kim F. Storm
Subject: [Emacs-diffs] Changes to emacs/src/xterm.c
Date: Tue, 16 May 2006 10:54:48 +0000

Index: emacs/src/xterm.c
diff -u emacs/src/xterm.c:1.912 emacs/src/xterm.c:1.913
--- emacs/src/xterm.c:1.912     Sun May 14 11:26:07 2006
+++ emacs/src/xterm.c   Tue May 16 10:54:48 2006
@@ -5821,6 +5821,8 @@
                images, only, which should have 1 page.  */
             Pixmap pixmap = (Pixmap) event.xclient.data.l[1];
            f = x_window_to_frame (dpyinfo, event.xclient.window);
+           if (!f)
+             goto OTHER;
             x_kill_gs_process (pixmap, f);
             expose_frame (f, 0, 0, 0, 0);
            goto done;
@@ -5839,10 +5841,8 @@
 #endif /* USE_TOOLKIT_SCROLL_BARS */
 
        f = x_any_window_to_frame (dpyinfo, event.xclient.window);
-
        if (!f)
          goto OTHER;
-
        if (x_handle_dnd_message (f, &event.xclient, dpyinfo, &inev.ie))
          *finish = X_EVENT_DROP;
       }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]