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
d2314223
Commit
d2314223
authored
Apr 25, 2016
by
Damjan Jovanovic
Committed by
Alexandre Julliard
Apr 26, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Improve some XDND log messages.
Signed-off-by:
Damjan Jovanovic
<
damjan.jov@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
de13e818
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
xdnd.c
dlls/winex11.drv/xdnd.c
+6
-5
No files found.
dlls/winex11.drv/xdnd.c
View file @
d2314223
...
@@ -210,7 +210,7 @@ void X11DRV_XDND_EnterEvent( HWND hWnd, XClientMessageEvent *event )
...
@@ -210,7 +210,7 @@ void X11DRV_XDND_EnterEvent( HWND hWnd, XClientMessageEvent *event )
if
(
version
>
WINE_XDND_VERSION
)
if
(
version
>
WINE_XDND_VERSION
)
{
{
TRACE
(
"Ignores unsupported version
\n
"
);
ERR
(
"ignoring unsupported XDND version %d
\n
"
,
version
);
return
;
return
;
}
}
...
@@ -345,8 +345,8 @@ void X11DRV_XDND_PositionEvent( HWND hWnd, XClientMessageEvent *event )
...
@@ -345,8 +345,8 @@ void X11DRV_XDND_PositionEvent( HWND hWnd, XClientMessageEvent *event )
effect
=
DROPEFFECT_COPY
;
effect
=
DROPEFFECT_COPY
;
}
}
TRACE
(
"action
req: %ld accept(%d
) at x(%d),y(%d)
\n
"
,
TRACE
(
"action
Requested(%ld) accept(%d) chosen(0x%x
) at x(%d),y(%d)
\n
"
,
event
->
data
.
l
[
4
],
accept
,
XDNDxy
.
x
,
XDNDxy
.
y
);
event
->
data
.
l
[
4
],
accept
,
effect
,
XDNDxy
.
x
,
XDNDxy
.
y
);
/*
/*
* Let source know if we're accepting the drop by
* Let source know if we're accepting the drop by
...
@@ -381,8 +381,6 @@ void X11DRV_XDND_DropEvent( HWND hWnd, XClientMessageEvent *event )
...
@@ -381,8 +381,6 @@ void X11DRV_XDND_DropEvent( HWND hWnd, XClientMessageEvent *event )
int
accept
=
0
;
/* Assume we're not accepting */
int
accept
=
0
;
/* Assume we're not accepting */
BOOL
drop_file
=
TRUE
;
BOOL
drop_file
=
TRUE
;
TRACE
(
"
\n
"
);
/* Notify OLE of Drop */
/* Notify OLE of Drop */
if
(
XDNDAccepted
)
if
(
XDNDAccepted
)
{
{
...
@@ -441,6 +439,9 @@ void X11DRV_XDND_DropEvent( HWND hWnd, XClientMessageEvent *event )
...
@@ -441,6 +439,9 @@ void X11DRV_XDND_DropEvent( HWND hWnd, XClientMessageEvent *event )
}
}
}
}
TRACE
(
"effectRequested(0x%x) accept(%d) performed(0x%x) at x(%d),y(%d)
\n
"
,
XDNDDropEffect
,
accept
,
effect
,
XDNDxy
.
x
,
XDNDxy
.
y
);
X11DRV_XDND_FreeDragDropOp
();
X11DRV_XDND_FreeDragDropOp
();
/* Tell the target we are finished. */
/* Tell the target we are finished. */
...
...
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