Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
FIXED recognition of button press while moving mouse (hopefully)
  • Loading branch information
ksterker committed Aug 6, 2010
1 parent 9c34d4e commit 57c359e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dlgedit/gui_graph_events.cc
Expand Up @@ -122,7 +122,7 @@ gint motion_notify_event (GtkWidget *widget, GdkEventMotion *event, gpointer dat
graph->prepareScrolling (point);

// Dragging dialogue nodes
if (event->state == GDK_BUTTON_PRESS_MASK)
if (event->state & GDK_BUTTON1_MASK)
{
// don't allow dragging if in preview mode
if (GuiDlgedit::window->mode () == L10N_PREVIEW)
Expand Down

0 comments on commit 57c359e

Please sign in to comment.