You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
Rebase against 8967e87c8a890aed7a81051c2d372f065e825bb2.
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
From d4dc0e7e0c45cce29e4b6e968184eb6c946b825e Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Lackner <sebastian@fds-team.de>
|
||||
Date: Thu, 25 May 2017 01:50:05 +0200
|
||||
Subject: winex11.drv: Fix compilation without XFixes.
|
||||
|
||||
---
|
||||
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 3da40811794..8e6e05b8288 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
|
||||
--
|
||||
2.12.2
|
||||
|
||||
Reference in New Issue
Block a user