AisleRiot (card game): middle mouse btn to do double-click
Submitted by dbe..@..le.com
Assigned to Rosanna Yuen
Description
Package: gnome-games Version: 1.0.51 Severity: wishlist
Playing solitare (Klondike), my fingers get tired double-clicking all the time. Here is a patch to make the middle mouse button perform the single- click.
diff events.c.old events.c 133,135c133,148 < if ((event->button == 2) || < (event->button == 3 && (press_data->status == STATUS_IS_DRAG)) || < (event->button == 1 && (press_data->status == STATUS_SHOW || press_data->status == STATUS_IS_DRAG)))
if (event->button == 2) { /* middle button is double-click */ first_press = gdk_time_get(); press_data->status = cardid > 0 ? STATUS_MAYBE_DRAG : STATUS_NOT_DRAG; #ifdef SINGLE_ACTION timer_click = gtk_timeout_add (dbl_click_time, (GtkFunction) (single_click), NULL); #endif event->button = 1; press_data->status = STATUS_CLICK; }
if ((event->button == 3 && (press_data->status == STATUS_IS_DRAG)) || (event->button == 1 && (press_data->status == STATUS_SHOW || press_data->status == STATUS_IS_DRAG)))
-Don Beusee
------- Bug moved to this database by debbugs-export@bugzilla.gnome.org 2001-01-27 16:31 ------- This bug was previously known as bug 2844 at http://bugs.gnome.org/ http://bugs.gnome.org/show_bug.cgi?id=2844 Originally filed under the gnome-games product and general component.
Unknown version 1.0.x in product gnome-games. Setting version to the default, "unspecified". The original reporter (dbeusee@us.oracle.com) of this bug does not have an account here. Reassigning to the exporter, debbugs-export@bugzilla.gnome.org. Reassigning to the default owner of the component, bugmeister@canvas.gnome.org.
Resolution: RESOLVED FIXED