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 @@ -624,8 +624,6 @@ button_press_cb (PlumaNotebook *notebook,
624624 (event -> type == GDK_BUTTON_PRESS ) &&
625625 (tab_clicked >= 0 ))
626626 {
627- leftdown = TRUE;
628-
629627 notebook -> priv -> x_start = event -> x_root ;
630628 notebook -> priv -> y_start = event -> y_root ;
631629
@@ -674,11 +672,13 @@ button_press_cb (PlumaNotebook *notebook,
674672 else if (event -> type == GDK_2BUTTON_PRESS )
675673 {
676674 if ((tab1click != gtk_notebook_get_current_page (GTK_NOTEBOOK (notebook ))) ||
677- (tab_clicked >= 0 ) || ((tab_clicked == -1 ) && (!newfile )))
675+ (tab_clicked >= 0 ) || ((tab_clicked == -1 ) && (!newfile )) || (! leftdown ) )
678676 return TRUE;
679677
680678 newfile = FALSE;
681679 }
680+
681+ leftdown = TRUE;
682682 }
683683
684684 return FALSE;
You can’t perform that action at this time.
0 commit comments