From d1928515e5787f246a095375f508e7df19124e11 Mon Sep 17 00:00:00 2001 From: Jared Finder Date: Thu, 28 Dec 2023 15:38:42 -0800 Subject: [PATCH] Expanding device-class workaround. --- 00.emacs-patches.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/00.emacs-patches.el b/00.emacs-patches.el index 13ce3ff..61f18bb 100644 --- a/00.emacs-patches.el +++ b/00.emacs-patches.el @@ -106,7 +106,8 @@ ;; Currently, only x and pgtk distinguish between touchpad and mouse ;; via `device-class' so prompt the user (me!) to choose if using ;; pixel-scroll. -(unless (memq window-system '(x pgtk)) +(unless (and (memq window-system '(x pgtk)) + (not (string-match "microsoft" (shell-command-to-string "uname -r")))) (with-eval-after-load 'pixel-scroll (display-warning 'emacs