We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea60fd3 commit 79f71d7Copy full SHA for 79f71d7
1 file changed
pluma/pluma-notebook.c
@@ -624,8 +624,6 @@ button_press_cb (PlumaNotebook *notebook,
624
(event->type == GDK_BUTTON_PRESS) &&
625
(tab_clicked >= 0))
626
{
627
- leftdown = TRUE;
628
-
629
notebook->priv->x_start = event->x_root;
630
notebook->priv->y_start = event->y_root;
631
@@ -674,11 +672,13 @@ button_press_cb (PlumaNotebook *notebook,
674
672
else if (event->type == GDK_2BUTTON_PRESS)
675
673
676
if ((tab1click != gtk_notebook_get_current_page (GTK_NOTEBOOK (notebook))) ||
677
- (tab_clicked >= 0) || ((tab_clicked == -1) && (!newfile)))
+ (tab_clicked >= 0) || ((tab_clicked == -1) && (!newfile)) || (!leftdown))
678
return TRUE;
679
680
newfile = FALSE;
681
}
+
+ leftdown = TRUE;
682
683
684
return FALSE;
0 commit comments