[gsettings-desktop-schemas/wip/carlosg/shuffle-font-mouse-settings: 45/45] schemas: Move drag-threshold/double-click settings




commit f2aa1a3cc2fb423d661846f950893b4a60722769
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu Aug 27 00:01:02 2020 +0200

    schemas: Move drag-threshold/double-click settings
    
    Move these to org.gnome.desktop.peripherals.mouse. The rationale here
    is the same than font settings, these are accessed all over the board,
    so we can have them in a place that doesn't require pulling
    gnome-settings-daemon.

 schemas/org.gnome.desktop.peripherals.gschema.xml.in | 10 ++++++++++
 1 file changed, 10 insertions(+)
---
diff --git a/schemas/org.gnome.desktop.peripherals.gschema.xml.in 
b/schemas/org.gnome.desktop.peripherals.gschema.xml.in
index 0c30c8a..5bf4a79 100644
--- a/schemas/org.gnome.desktop.peripherals.gschema.xml.in
+++ b/schemas/org.gnome.desktop.peripherals.gschema.xml.in
@@ -130,6 +130,16 @@
       <summary>Emulate middle click</summary>
       <description>Set this to TRUE to enable middle click during simultaneous left and right 
click.</description>
     </key>
+    <key name="double-click" type="i">
+      <default>400</default>
+      <summary>Double click time</summary>
+      <description>Length of a double click in milliseconds.</description>
+    </key>
+    <key name="drag-threshold" type="i">
+      <default>8</default>
+      <summary>Drag threshold</summary>
+      <description>Distance before a drag is started.</description>
+    </key>
   </schema>
   <schema id="org.gnome.desktop.peripherals.tablet">
     <key name="output" type="as">


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]