Skip to content

Commit

Permalink
Expanding device-class workaround.
Browse files Browse the repository at this point in the history
  • Loading branch information
chaosemer committed Dec 28, 2023
1 parent e93efc6 commit d192851
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 00.emacs-patches.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d192851

Please sign in to comment.