x11: Patched to compile with DEBUG_XEVENTS defined.
This commit is contained in:
parent
e1c35f01fb
commit
ae2ce839f8
1 changed files with 2 additions and 2 deletions
|
@ -604,7 +604,7 @@ X11_HandleClipboardEvent(_THIS, const XEvent *xevent)
|
||||||
case SelectionNotify: {
|
case SelectionNotify: {
|
||||||
#ifdef DEBUG_XEVENTS
|
#ifdef DEBUG_XEVENTS
|
||||||
printf("window CLIPBOARD: SelectionNotify (requestor = %ld, target = %ld)\n",
|
printf("window CLIPBOARD: SelectionNotify (requestor = %ld, target = %ld)\n",
|
||||||
xevent.xselection.requestor, xevent.xselection.target);
|
xevent->xselection.requestor, xevent->xselection.target);
|
||||||
#endif
|
#endif
|
||||||
videodata->selection_waiting = SDL_FALSE;
|
videodata->selection_waiting = SDL_FALSE;
|
||||||
}
|
}
|
||||||
|
@ -616,7 +616,7 @@ X11_HandleClipboardEvent(_THIS, const XEvent *xevent)
|
||||||
|
|
||||||
#ifdef DEBUG_XEVENTS
|
#ifdef DEBUG_XEVENTS
|
||||||
printf("window CLIPBOARD: SelectionClear (requestor = %ld, target = %ld)\n",
|
printf("window CLIPBOARD: SelectionClear (requestor = %ld, target = %ld)\n",
|
||||||
xevent.xselection.requestor, xevent.xselection.target);
|
xevent->xselection.requestor, xevent->xselection.target);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (xevent->xselectionclear.selection == XA_PRIMARY ||
|
if (xevent->xselectionclear.selection == XA_PRIMARY ||
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue