Commit 6b134bcb authored by Adam Sjøgren's avatar Adam Sjøgren Committed by Katsumi Yamaoka
Browse files

lisp/gnus/gnus-notifications.el (gnus-notifications-action): Replace...

lisp/gnus/gnus-notifications.el (gnus-notifications-action): Replace x-focus-frame kludge by calling gnus-select-frame-set-input-focus
parent e991af92
......@@ -81,7 +81,7 @@ not get notifications."
(article (nth 2 group-article)))
(cond ((string= key "read")
(gnus-fetch-group group (list article))
(when (and window-system (fboundp 'x-focus-frame)) (x-focus-frame (selected-frame))))
(gnus-select-frame-set-input-focus (selected-frame)))
((string= key "mark-read")
(gnus-update-read-articles
group
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment