Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
12d6985f
Commit
12d6985f
authored
Jul 20, 2012
by
Erwan Tulou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skins2(Linux): fix a drag&drop issue with some sources (konqueror, dolphin)
This fixes #7165 and can be backported.
parent
bf5cbbd0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/gui/skins2/x11/x11_dragdrop.cpp
modules/gui/skins2/x11/x11_dragdrop.cpp
+2
-2
No files found.
modules/gui/skins2/x11/x11_dragdrop.cpp
View file @
12d6985f
...
...
@@ -104,9 +104,9 @@ void X11DragDrop::dndEnter( ldata_t data )
void
X11DragDrop
::
dndPosition
(
ldata_t
data
)
{
Window
src
=
data
[
0
];
//Time time = data[3];
m_xPos
=
data
[
2
]
>>
16
;
m_yPos
=
data
[
2
]
&
0xffff
;
Time
time
=
data
[
3
];
Atom
selectionAtom
=
XInternAtom
(
XDISPLAY
,
"XdndSelection"
,
0
);
//Atom targetAtom = XInternAtom( XDISPLAY, "text/plain", 0 );
...
...
@@ -119,7 +119,7 @@ void X11DragDrop::dndPosition( ldata_t data )
// Convert the selection into the given target
// NEEDED or it doesn't work!
XConvertSelection
(
XDISPLAY
,
selectionAtom
,
targetAtom
,
propAtom
,
src
,
CurrentT
ime
);
t
ime
);
actionAtom
=
XInternAtom
(
XDISPLAY
,
"XdndActionCopy"
,
0
);
typeAtom
=
XInternAtom
(
XDISPLAY
,
"XdndStatus"
,
0
);
...
...
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