Drags can only be started with the left button.

Wed Mar  4 20:06:47 1998  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gdk/gdk.c (gdk_event_translate): Drags can only be started with
	the left button.
This commit is contained in:
Miguel de Icaza 1998-03-05 02:01:47 +00:00 committed by Arturo Espinosa
parent f5c00ed917
commit 793a130520
9 changed files with 37 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Wed Mar 4 20:06:47 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdk/gdk.c (gdk_event_translate): Drags can only be started with
the left button.
Wed Mar 4 16:02:44 GMT 1998 Tony Gale <gale@gimp.org>
* docs/gtkfaq.sgml: widget hierarchy update from Tim Janik

View File

@ -1,3 +1,8 @@
Wed Mar 4 20:06:47 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdk/gdk.c (gdk_event_translate): Drags can only be started with
the left button.
Wed Mar 4 16:02:44 GMT 1998 Tony Gale <gale@gimp.org>
* docs/gtkfaq.sgml: widget hierarchy update from Tim Janik

View File

@ -1,3 +1,8 @@
Wed Mar 4 20:06:47 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdk/gdk.c (gdk_event_translate): Drags can only be started with
the left button.
Wed Mar 4 16:02:44 GMT 1998 Tony Gale <gale@gimp.org>
* docs/gtkfaq.sgml: widget hierarchy update from Tim Janik

View File

@ -1,3 +1,8 @@
Wed Mar 4 20:06:47 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdk/gdk.c (gdk_event_translate): Drags can only be started with
the left button.
Wed Mar 4 16:02:44 GMT 1998 Tony Gale <gale@gimp.org>
* docs/gtkfaq.sgml: widget hierarchy update from Tim Janik

View File

@ -1,3 +1,8 @@
Wed Mar 4 20:06:47 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdk/gdk.c (gdk_event_translate): Drags can only be started with
the left button.
Wed Mar 4 16:02:44 GMT 1998 Tony Gale <gale@gimp.org>
* docs/gtkfaq.sgml: widget hierarchy update from Tim Janik

View File

@ -1,3 +1,8 @@
Wed Mar 4 20:06:47 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdk/gdk.c (gdk_event_translate): Drags can only be started with
the left button.
Wed Mar 4 16:02:44 GMT 1998 Tony Gale <gale@gimp.org>
* docs/gtkfaq.sgml: widget hierarchy update from Tim Janik

View File

@ -1,3 +1,8 @@
Wed Mar 4 20:06:47 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdk/gdk.c (gdk_event_translate): Drags can only be started with
the left button.
Wed Mar 4 16:02:44 GMT 1998 Tony Gale <gale@gimp.org>
* docs/gtkfaq.sgml: widget hierarchy update from Tim Janik

View File

@ -1911,6 +1911,7 @@ gdk_event_translate (GdkEvent *event,
if(window_private
&& window_private->dnd_drag_enabled
&& !gdk_dnd.drag_perhaps
&& event->button.button == 1
&& !gdk_dnd.drag_really)
{
gdk_dnd.drag_perhaps = 1;

View File

@ -1911,6 +1911,7 @@ gdk_event_translate (GdkEvent *event,
if(window_private
&& window_private->dnd_drag_enabled
&& !gdk_dnd.drag_perhaps
&& event->button.button == 1
&& !gdk_dnd.drag_really)
{
gdk_dnd.drag_perhaps = 1;