Commit 136a438d authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

winex11.drv: Fix compilation when XFixes is not present.

parent 2f72e966
......@@ -1954,21 +1954,21 @@ static BOOL wait_clipboard_mutex(void)
/**************************************************************************
* handle_selection_notify_event
* selection_notify_event
*
* Called when x11 clipboard content changes
*/
#ifdef SONAME_LIBXFIXES
static BOOL selection_notify_event( HWND hwnd, XEvent *event )
{
#ifdef SONAME_LIBXFIXES
XFixesSelectionNotifyEvent *req = (XFixesSelectionNotifyEvent*)event;
if (!is_clipboard_owner) return FALSE;
if (req->owner == selection_window) return FALSE;
request_selection_contents( req->display, TRUE );
return FALSE;
#endif
}
#endif
/**************************************************************************
* xfixes_init
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment