Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
b7c340de
Commit
b7c340de
authored
Jun 03, 2015
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Get rid of the unused parameter in the EmptyClipboard driver entry point.
parent
f5066488
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
23 additions
and
21 deletions
+23
-21
clipboard.c
dlls/user32/clipboard.c
+1
-2
driver.c
dlls/user32/driver.c
+3
-3
user_private.h
dlls/user32/user_private.h
+1
-1
clipboard.c
dlls/winemac.drv/clipboard.c
+2
-2
winemac.drv.spec
dlls/winemac.drv/winemac.drv.spec
+1
-1
clipboard.c
dlls/winex11.drv/clipboard.c
+14
-11
winex11.drv.spec
dlls/winex11.drv/winex11.drv.spec
+1
-1
No files found.
dlls/user32/clipboard.c
View file @
b7c340de
...
...
@@ -299,8 +299,7 @@ BOOL WINAPI EmptyClipboard(void)
* to clear its cache. */
USER_Driver
->
pAcquireClipboard
(
cbinfo
.
hWndOpen
);
/* Empty the local cache */
USER_Driver
->
pEmptyClipboard
(
FALSE
);
USER_Driver
->
pEmptyClipboard
();
bCBHasChanged
=
TRUE
;
...
...
dlls/user32/driver.c
View file @
b7c340de
...
...
@@ -344,7 +344,7 @@ static BOOL CDECL nulldrv_CountClipboardFormats(void)
return
0
;
}
static
void
CDECL
nulldrv_EmptyClipboard
(
BOOL
keepunowned
)
static
void
CDECL
nulldrv_EmptyClipboard
(
void
)
{
}
...
...
@@ -684,9 +684,9 @@ static BOOL CDECL loaderdrv_CountClipboardFormats(void)
return
load_driver
()
->
pCountClipboardFormats
();
}
static
void
CDECL
loaderdrv_EmptyClipboard
(
BOOL
keepunowned
)
static
void
CDECL
loaderdrv_EmptyClipboard
(
void
)
{
load_driver
()
->
pEmptyClipboard
(
keepunowned
);
load_driver
()
->
pEmptyClipboard
();
}
static
void
CDECL
loaderdrv_EndClipboardUpdate
(
void
)
...
...
dlls/user32/user_private.h
View file @
b7c340de
...
...
@@ -82,7 +82,7 @@ typedef struct tagUSER_DRIVER {
/* clipboard functions */
INT
(
CDECL
*
pAcquireClipboard
)(
HWND
);
/* Acquire selection */
BOOL
(
CDECL
*
pCountClipboardFormats
)(
void
);
/* Count available clipboard formats */
void
(
CDECL
*
pEmptyClipboard
)(
BOOL
);
/* Empty clipboard data */
void
(
CDECL
*
pEmptyClipboard
)(
void
);
/* Empty clipboard data */
void
(
CDECL
*
pEndClipboardUpdate
)(
void
);
/* End clipboard update */
UINT
(
CDECL
*
pEnumClipboardFormats
)(
UINT
);
/* Enumerate clipboard formats */
HANDLE
(
CDECL
*
pGetClipboardData
)(
UINT
);
/* Get specified selection data */
...
...
dlls/winemac.drv/clipboard.c
View file @
b7c340de
...
...
@@ -1952,9 +1952,9 @@ INT CDECL macdrv_CountClipboardFormats(void)
*
* Empty cached clipboard data.
*/
void
CDECL
macdrv_EmptyClipboard
(
BOOL
keepunowne
d
)
void
CDECL
macdrv_EmptyClipboard
(
voi
d
)
{
TRACE
(
"
keepunowned %d
\n
"
,
keepunowned
);
TRACE
(
"
()
\n
"
);
macdrv_clear_pasteboard
();
}
...
...
dlls/winemac.drv/winemac.drv.spec
View file @
b7c340de
...
...
@@ -14,7 +14,7 @@
@ cdecl CreateWindow(long) macdrv_CreateWindow
@ cdecl DestroyCursorIcon(long) macdrv_DestroyCursorIcon
@ cdecl DestroyWindow(long) macdrv_DestroyWindow
@ cdecl EmptyClipboard(
long
) macdrv_EmptyClipboard
@ cdecl EmptyClipboard() macdrv_EmptyClipboard
@ cdecl EndClipboardUpdate() macdrv_EndClipboardUpdate
@ cdecl EnumClipboardFormats(long) macdrv_EnumClipboardFormats
@ cdecl EnumDisplayMonitors(long ptr ptr long) macdrv_EnumDisplayMonitors
...
...
dlls/winex11.drv/clipboard.c
View file @
b7c340de
...
...
@@ -129,7 +129,6 @@ static int selectionAcquired = 0; /* Contains the current selection
static
Window
selectionWindow
=
None
;
/* The top level X window which owns the selection */
static
Atom
selectionCacheSrc
=
XA_PRIMARY
;
/* The selection source from which the clipboard cache was filled */
void
CDECL
X11DRV_EmptyClipboard
(
BOOL
keepunowned
);
void
CDECL
X11DRV_EndClipboardUpdate
(
void
);
static
HANDLE
X11DRV_CLIPBOARD_ImportClipboardData
(
Display
*
d
,
Window
w
,
Atom
prop
);
static
HANDLE
X11DRV_CLIPBOARD_ImportEnhMetaFile
(
Display
*
d
,
Window
w
,
Atom
prop
);
...
...
@@ -171,6 +170,7 @@ static BOOL X11DRV_CLIPBOARD_RenderSynthesizedDIB(Display *display);
static
BOOL
X11DRV_CLIPBOARD_RenderSynthesizedBitmap
(
Display
*
display
);
static
BOOL
X11DRV_CLIPBOARD_RenderSynthesizedEnhMetaFile
(
Display
*
display
);
static
void
X11DRV_HandleSelectionRequest
(
HWND
hWnd
,
XSelectionRequestEvent
*
event
,
BOOL
bIsMultiple
);
static
void
empty_clipboard
(
BOOL
keepunowned
);
/* Clipboard formats */
...
...
@@ -621,7 +621,7 @@ static BOOL X11DRV_CLIPBOARD_UpdateCache(void)
}
else
if
(
wSeqNo
<
seqno
)
{
X11DRV_EmptyClipboard
(
TRUE
);
empty_clipboard
(
TRUE
);
if
(
X11DRV_CLIPBOARD_QueryAvailableData
(
thread_init_display
())
<
0
)
{
...
...
@@ -2862,7 +2862,7 @@ static void X11DRV_CLIPBOARD_ReleaseSelection(Display *display, Atom selType, Wi
selectionWindow
=
None
;
X11DRV_EmptyClipboard
(
FALSE
);
empty_clipboard
(
FALSE
);
/* Reset the selection flags now that we are done */
selectionAcquired
=
S_NOSELECTION
;
...
...
@@ -2982,12 +2982,7 @@ int CDECL X11DRV_AcquireClipboard(HWND hWndClipWindow)
}
/**************************************************************************
* X11DRV_EmptyClipboard
*
* Empty cached clipboard data.
*/
void
CDECL
X11DRV_EmptyClipboard
(
BOOL
keepunowned
)
static
void
empty_clipboard
(
BOOL
keepunowned
)
{
WINE_CLIPDATA
*
data
,
*
next
;
...
...
@@ -3003,7 +2998,15 @@ void CDECL X11DRV_EmptyClipboard(BOOL keepunowned)
TRACE
(
" %d entries remaining in cache.
\n
"
,
ClipDataCount
);
}
/**************************************************************************
* X11DRV_EmptyClipboard
*
* Empty cached clipboard data.
*/
void
CDECL
X11DRV_EmptyClipboard
(
void
)
{
empty_clipboard
(
FALSE
);
}
/**************************************************************************
* X11DRV_SetClipboardData
...
...
@@ -3154,7 +3157,7 @@ void X11DRV_ResetSelectionOwner(void)
WARN
(
"Failed to find another thread to take selection ownership. Clipboard data will be lost.
\n
"
);
X11DRV_CLIPBOARD_ReleaseOwnership
();
X11DRV_EmptyClipboard
(
FALSE
);
empty_clipboard
(
FALSE
);
}
...
...
dlls/winex11.drv/winex11.drv.spec
View file @
b7c340de
...
...
@@ -28,7 +28,7 @@
@ cdecl CreateDesktopWindow(long) X11DRV_CreateDesktopWindow
@ cdecl CreateWindow(long) X11DRV_CreateWindow
@ cdecl DestroyWindow(long) X11DRV_DestroyWindow
@ cdecl EmptyClipboard(
long
) X11DRV_EmptyClipboard
@ cdecl EmptyClipboard() X11DRV_EmptyClipboard
@ cdecl EndClipboardUpdate() X11DRV_EndClipboardUpdate
@ cdecl EnumClipboardFormats(long) X11DRV_EnumClipboardFormats
@ cdecl GetClipboardData(long) X11DRV_GetClipboardData
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment