Skip to content

Commit

Permalink
Merge pull request #1696 from sakurawald/ban-mouse-clicking-in-popup-…
Browse files Browse the repository at this point in the history
…window

fix: ban mouse click event in popup-window made by popup-message function
  • Loading branch information
cxxxr authored Dec 9, 2024
2 parents 772d145 + 7774a40 commit 237bdf1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ext/popup-message.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
;; NOTE: Block mouse clicks on popup windows to prevent them from gaining focus.
;; If a popup window gains focus, it becomes the only active window in the window-tree,
;; which prevents Lem from being able to close it.
;; Mouse scrolling remains enabled since popup windows are used for displaying text content. :clickable nil
;; Mouse scrolling remains enabled since popup windows are used for displaying text content.
:clickable nil
:style style)))
(buffer-start (window-view-point window))
(window-see window)
Expand Down

0 comments on commit 237bdf1

Please sign in to comment.