[gtk/f16c.msvc: 50/61] widget-factory: Make header buttons not steal focus




commit 7e2ddf38b4e0fac36d72b3c617dfe17eb52b6ffe
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 269b3f459f..485776c1ba 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]