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

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sebastian Lackner 2017-05-29 21:45:35 +02:00 committed by Alexandre Julliard
parent 2f72e9669f
commit 136a438daa
1 changed files with 3 additions and 3 deletions

View File

@ -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