Commit f7134226 authored by Pavel Cisler's avatar Pavel Cisler Committed by Pavel Cisler

Fixed an annoying bug that would sometimes cause the drag&drop feedback to

2000-03-21  Pavel Cisler  <pavel@eazel.com>

	Fixed an annoying bug that would sometimes cause the drag&drop feedback
	to come up delayed.
parent 1764f212
2000-03-21 Pavel Cisler <pavel@eazel.com>
* libnautilus/nautilus-icon-container.c
(motion_notify_event):
Fixed an annoying bug that would sometimes cause the drag&drop feedback
to come up delayed. Turned out to be a silly mistake in the drag
snap resistance test that caused the snap resistance to be infinite when
you dragged near-horizontaly or near-vertically.
2000-03-21 Darin Adler <darin@eazel.com>
Did some of the items from RENAMING.
......
......@@ -1654,7 +1654,7 @@ motion_notify_event (GtkWidget *widget,
&world_x, &world_y);
if (abs (details->drag_x - world_x) >= SNAP_RESISTANCE
&& abs (details->drag_y - world_y) >= SNAP_RESISTANCE) {
|| abs (details->drag_y - world_y) >= SNAP_RESISTANCE) {
details->drag_started = TRUE;
......
......@@ -1654,7 +1654,7 @@ motion_notify_event (GtkWidget *widget,
&world_x, &world_y);
if (abs (details->drag_x - world_x) >= SNAP_RESISTANCE
&& abs (details->drag_y - world_y) >= SNAP_RESISTANCE) {
|| abs (details->drag_y - world_y) >= SNAP_RESISTANCE) {
details->drag_started = TRUE;
......
......@@ -1654,7 +1654,7 @@ motion_notify_event (GtkWidget *widget,
&world_x, &world_y);
if (abs (details->drag_x - world_x) >= SNAP_RESISTANCE
&& abs (details->drag_y - world_y) >= SNAP_RESISTANCE) {
|| abs (details->drag_y - world_y) >= SNAP_RESISTANCE) {
details->drag_started = TRUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment