diff options
author | Alyssa Rosenzweig <alyssa@rosenzweig.io> | 2020-11-01 20:21:56 -0500 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-11-02 07:13:40 +0200 |
commit | 8605b747b3eac83e6af7907de7659bfb989d0358 (patch) | |
tree | 347299311f9c104d3fb165c7fb38beee1051b1b7 /src/gmdocument.h | |
parent | 26d797bca21ff157d87c4cc1f5fa59e17b1b8e16 (diff) |
Fix opening of mailto: links
This code path is used for opening both http/s and mailto links. On
macOS, open is used generically handling both nicely. On Linux,
x-www-browser was used for both, meaning it would attempt to open mailto
links with the browser. This -does- work but is clunky. On my system, my
defaults are Firefox for web and mutt for email, so if I clicked a
mailto, Firefox would open (slow!) just to go out of focus as it opens
mutt.
Let's just mirror the macOS behaviour and use xdg-open for both kinds of
links. Then the browser will be used for http/s and the mail client for
mailto and everyone's happy.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Diffstat (limited to 'src/gmdocument.h')
0 files changed, 0 insertions, 0 deletions