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
b6d0df6a
Commit
b6d0df6a
authored
May 27, 2014
by
Damjan Jovanovic
Committed by
Alexandre Julliard
Jun 12, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Use the clipboard to import text/html XDND selections.
parent
e339e0d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
23 deletions
+0
-23
xdnd.c
dlls/winex11.drv/xdnd.c
+0
-23
No files found.
dlls/winex11.drv/xdnd.c
View file @
b6d0df6a
...
...
@@ -74,7 +74,6 @@ static HWND XDNDLastDropTargetWnd;
static
void
X11DRV_XDND_InsertXDNDData
(
int
property
,
int
format
,
void
*
data
,
unsigned
int
len
);
static
int
X11DRV_XDND_DeconstructTextURIList
(
int
property
,
void
*
data
,
int
len
);
static
int
X11DRV_XDND_DeconstructTextPlain
(
int
property
,
void
*
data
,
int
len
);
static
int
X11DRV_XDND_DeconstructTextHTML
(
int
property
,
void
*
data
,
int
len
);
static
void
X11DRV_XDND_MapFormat
(
Display
*
display
,
Window
xwin
,
unsigned
int
property
,
unsigned
char
*
data
,
int
len
);
static
void
X11DRV_XDND_ResolveProperty
(
Display
*
display
,
Window
xwin
,
Time
tm
,
Atom
*
types
,
unsigned
long
count
);
...
...
@@ -569,8 +568,6 @@ static void X11DRV_XDND_MapFormat(Display *display, Window xwin, unsigned int pr
X11DRV_XDND_DeconstructTextURIList
(
property
,
data
,
len
);
else
if
(
property
==
x11drv_atom
(
text_plain
))
X11DRV_XDND_DeconstructTextPlain
(
property
,
data
,
len
);
else
if
(
property
==
x11drv_atom
(
text_html
))
X11DRV_XDND_DeconstructTextHTML
(
property
,
data
,
len
);
else
{
/* use the clipboard import functions for other types */
...
...
@@ -698,26 +695,6 @@ static int X11DRV_XDND_DeconstructTextPlain(int property, void* data, int len)
/**************************************************************************
* X11DRV_XDND_DeconstructTextHTML
*
* Interpret text/html data and add records to <dndfmt> linked list
*/
static
int
X11DRV_XDND_DeconstructTextHTML
(
int
property
,
void
*
data
,
int
len
)
{
char
*
dostext
;
X11DRV_XDND_UnixToDos
(
&
dostext
,
data
,
len
);
X11DRV_XDND_InsertXDNDData
(
property
,
RegisterClipboardFormatA
(
"HTML Format"
),
dostext
,
strlen
(
dostext
));
TRACE
(
"HTML Format: %s
\n
"
,
dostext
);
return
1
;
}
/**************************************************************************
* X11DRV_XDND_SendDropFiles
*/
static
void
X11DRV_XDND_SendDropFiles
(
HWND
hwnd
)
...
...
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