Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
thunar
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
280
Issues
280
List
Boards
Labels
Service Desk
Milestones
Custom Issue Tracker
Custom Issue Tracker
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xfce
thunar
Commits
58568697
Commit
58568697
authored
Dec 20, 2009
by
Jannis Pohlmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid requesting drag data if target is GDK_NONE (bug #5771).
Patch provided by k.blammo@gmail.com.
parent
eb6e6fc3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
thunar/thunar-standard-view.c
thunar/thunar-standard-view.c
+3
-1
No files found.
thunar/thunar-standard-view.c
View file @
58568697
...
...
@@ -2814,6 +2814,7 @@ thunar_standard_view_drag_motion (GtkWidget *view,
{
/* check if we can handle that drag data (yet?) */
target
=
gtk_drag_dest_find_target
(
view
,
context
,
NULL
);
if
((
target
==
gdk_atom_intern_static_string
(
"XdndDirectSave0"
))
||
(
target
==
gdk_atom_intern_static_string
(
"_NETSCAPE_URL"
)))
{
/* determine the file for the given coordinates */
...
...
@@ -2857,7 +2858,8 @@ thunar_standard_view_drag_motion (GtkWidget *view,
else
{
/* request the drag data from the source */
gtk_drag_get_data
(
view
,
context
,
target
,
timestamp
);
if
(
target
!=
GDK_NONE
)
gtk_drag_get_data
(
view
,
context
,
target
,
timestamp
);
}
/* tell Gdk whether we can drop here */
...
...
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