ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/clip_unix.cpp
(Generate patch)

Comparing BasiliskII/src/Unix/clip_unix.cpp (file contents):
Revision 1.11 by gbeauche, 2005-01-30T21:42:14Z vs.
Revision 1.13 by gbeauche, 2005-06-22T08:50:07Z

# Line 240 | Line 240 | static bool read_property(Display *dpy,
240  
241  
242   /*
243 < *  Timed wait for an SelectionNotify event
243 > *  Timed wait for a SelectionNotify event
244   */
245  
246   static const uint64 SELECTION_MAX_WAIT = 500000; // 500 ms
# Line 296 | Line 296 | void ClipInit(void)
296   void ClipExit(void)
297   {
298          // Close window
299 <        XDestroyWindow(x_display, clip_win);
299 >        if (clip_win)
300 >                XDestroyWindow(x_display, clip_win);
301   }
302  
303  
# Line 661 | Line 662 | static bool handle_selection(XSelectionR
662                  out_event.xselection.time      = req->time;
663                  XSendEvent(x_display, req->requestor, False, 0, &out_event);
664          }
665 +
666 +        return handled;
667   }
668  
669   void ClipboardSelectionRequest(XSelectionRequestEvent *req)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines