Sebastian Lackner : winex11.drv: Fix compilation when XFixes is not present.
Module: wine Branch: master Commit: 136a438daad40e5b601fff2b1ad3fbcc207e5b49 URL: http://source.winehq.org/git/wine.git/?a=commit;h=136a438daad40e5b601fff2b1a... Author: Sebastian Lackner <sebastian(a)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(a)fds-team.de> Signed-off-by: Piotr Caban <piotr(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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
participants (1)
-
Alexandre Julliard