File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -650,8 +650,6 @@ button_press_cb (PlumaNotebook *notebook,
650650 (event -> type == GDK_BUTTON_PRESS ) &&
651651 (tab_clicked >= 0 ))
652652 {
653- leftdown = TRUE;
654-
655653 notebook -> priv -> x_start = event -> x_root ;
656654 notebook -> priv -> y_start = event -> y_root ;
657655
@@ -700,11 +698,13 @@ button_press_cb (PlumaNotebook *notebook,
700698 else if (event -> type == GDK_2BUTTON_PRESS )
701699 {
702700 if ((tab1click != gtk_notebook_get_current_page (GTK_NOTEBOOK (notebook ))) ||
703- (tab_clicked >= 0 ) || ((tab_clicked == -1 ) && (!newfile )))
701+ (tab_clicked >= 0 ) || ((tab_clicked == -1 ) && (!newfile )) || (! leftdown ) )
704702 return TRUE;
705703
706704 newfile = FALSE;
707705 }
706+
707+ leftdown = TRUE;
708708 }
709709
710710 return FALSE;
You can’t perform that action at this time.
0 commit comments