[gtk/gtk-4-2: 30/91] widget-factory: Make header buttons not steal focus
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-4-2: 30/91] widget-factory: Make header buttons not steal focus
- Date: Tue, 4 May 2021 02:05:40 +0000 (UTC)
commit cc5d2f24e85102bd966327118226199472c73c95
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Apr 11 15:24:10 2021 -0400
widget-factory: Make header buttons not steal focus
This is rarely useful, and is confusing when it
happens as side-effect of dragging the window.
demos/widget-factory/widget-factory.ui | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui
index 2153591e30..5b9ec5f280 100644
--- a/demos/widget-factory/widget-factory.ui
+++ b/demos/widget-factory/widget-factory.ui
@@ -438,6 +438,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
<child type="end">
<object class="GtkMenuButton" id="gear_menu_button">
<property name="valign">center</property>
+ <property name="focus-on-click">0</property>
<property name="popover">
<object class="GtkPopoverMenu" id="gear_menu">
<property name="menu-model">gear_menu_model</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]