Skip to content

Commit

Permalink
x11: Patched to compile with DEBUG_XEVENTS defined.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Aug 25, 2017
1 parent 8c39d1d commit e58c792
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/video/x11/SDL_x11events.c
Expand Up @@ -604,7 +604,7 @@ X11_HandleClipboardEvent(_THIS, const XEvent *xevent)
case SelectionNotify: {
#ifdef DEBUG_XEVENTS
printf("window CLIPBOARD: SelectionNotify (requestor = %ld, target = %ld)\n",
xevent.xselection.requestor, xevent.xselection.target);
xevent->xselection.requestor, xevent->xselection.target);
#endif
videodata->selection_waiting = SDL_FALSE;
}
Expand All @@ -616,7 +616,7 @@ X11_HandleClipboardEvent(_THIS, const XEvent *xevent)

#ifdef DEBUG_XEVENTS
printf("window CLIPBOARD: SelectionClear (requestor = %ld, target = %ld)\n",
xevent.xselection.requestor, xevent.xselection.target);
xevent->xselection.requestor, xevent->xselection.target);
#endif

if (xevent->xselectionclear.selection == XA_PRIMARY ||
Expand Down

0 comments on commit e58c792

Please sign in to comment.