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:
parent
2f72e9669f
commit
136a438daa
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue