emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Andreas Schwab
Subject: [Emacs-diffs] Changes to emacs/src/xselect.c
Date: Thu, 17 Feb 2005 07:50:08 -0500

Index: emacs/src/xselect.c
diff -c emacs/src/xselect.c:1.149 emacs/src/xselect.c:1.150
*** emacs/src/xselect.c:1.149   Mon Feb 14 00:59:42 2005
--- emacs/src/xselect.c Thu Feb 17 12:50:08 2005
***************
*** 2189,2195 ****
  {
    Time timestamp;
    Atom selection_atom;
!   struct selection_input_event event;
    Display *display;
    struct x_display_info *dpyinfo;
    struct frame *sf = SELECTED_FRAME ();
--- 2189,2198 ----
  {
    Time timestamp;
    Atom selection_atom;
!   union {
!     struct selection_input_event sie;
!     struct input_event ie;
!   } event;
    Display *display;
    struct x_display_info *dpyinfo;
    struct frame *sf = SELECTED_FRAME ();
***************
*** 2217,2226 ****
       the selection owner to None.  The NCD server does, the MIT Sun4 server
       doesn't.  So we synthesize one; this means we might get two, but
       that's ok, because the second one won't have any effect.  */
!   SELECTION_EVENT_DISPLAY (&event) = display;
!   SELECTION_EVENT_SELECTION (&event) = selection_atom;
!   SELECTION_EVENT_TIME (&event) = timestamp;
!   x_handle_selection_clear ((struct input_event *) &event);
  
    return Qt;
  }
--- 2220,2229 ----
       the selection owner to None.  The NCD server does, the MIT Sun4 server
       doesn't.  So we synthesize one; this means we might get two, but
       that's ok, because the second one won't have any effect.  */
!   SELECTION_EVENT_DISPLAY (&event.sie) = display;
!   SELECTION_EVENT_SELECTION (&event.sie) = selection_atom;
!   SELECTION_EVENT_TIME (&event.sie) = timestamp;
!   x_handle_selection_clear (&event.ie);
  
    return Qt;
  }




reply via email to

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