Sebastian Lackner : winex11.drv: Fix compilation when XFixes is not present.
Alexandre Julliard
julliard at winehq.org
Tue May 30 16:05:13 CDT 2017
Module: wine
Branch: master
Commit: 136a438daad40e5b601fff2b1ad3fbcc207e5b49
URL: http://source.winehq.org/git/wine.git/?a=commit;h=136a438daad40e5b601fff2b1ad3fbcc207e5b49
Author: Sebastian Lackner <sebastian at fds-team.de>
Date: Mon May 29 21:45:35 2017 +0200
winex11.drv: Fix compilation when XFixes is not present.
Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/winex11.drv/clipboard.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/winex11.drv/clipboard.c b/dlls/winex11.drv/clipboard.c
index 3da4081..8e6e05b 100644
--- a/dlls/winex11.drv/clipboard.c
+++ b/dlls/winex11.drv/clipboard.c
@@ -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
More information about the wine-cvs
mailing list