gtk: shorten double-click time to 250ms

This commit is contained in:
rope 2026-09-06 21:46:35 +01:00
parent 408e19b6f6
commit e9df1a7118

View file

@ -89,6 +89,12 @@
# `messagedialog.csd.background button { color: rgba(0,0,6,0.8); }`, which
# is why nemo's delete confirmation had near-black buttons on dark bg.
gtk.gtk3.extraConfig.gtk-application-prefer-dark-theme = true;
# GTK's default double-click window is 400ms — wide enough that two
# deliberate single clicks merge into a double (nemo opening files you
# only meant to select). 250ms is the usual sweet spot.
gtk.gtk3.extraConfig.gtk-double-click-time = 250;
gtk.gtk4.extraConfig.gtk-double-click-time = 250;
};
};
}