[libadwaita/wip/exalm/escape: 11/11] tab-box: Don't reset focus globally
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/escape: 11/11] tab-box: Don't reset focus globally
- Date: Sun, 18 Sep 2022 23:12:16 +0000 (UTC)
commit e97d36dc8f60d281b83a0bc97a2cbe3223ebe34d
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon Sep 19 03:08:01 2022 +0400
tab-box: Don't reset focus globally
Same as the last one.
src/adw-tab-box.c | 5 -----
1 file changed, 5 deletions(-)
---
diff --git a/src/adw-tab-box.c b/src/adw-tab-box.c
index 0b1c7168..1c2ca064 100644
--- a/src/adw-tab-box.c
+++ b/src/adw-tab-box.c
@@ -1686,12 +1686,7 @@ reorder_end_cb (AdwTabBox *self,
static void
reset_focus (AdwTabBox *self)
{
- GtkRoot *root = gtk_widget_get_root (GTK_WIDGET (self));
-
gtk_widget_set_focus_child (GTK_WIDGET (self), NULL);
-
- if (root)
- gtk_root_set_focus (root, NULL);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]