Adding openurlonclick patch ref. #32
This commit is contained in:
parent
b5c196f009
commit
ee4cdc8d6e
8 changed files with 91 additions and 2 deletions
12
x.c
12
x.c
|
|
@ -710,11 +710,19 @@ brelease(XEvent *e)
|
|||
if (mouseaction(e, 1))
|
||||
return;
|
||||
#if VIM_BROWSE_PATCH
|
||||
if (e->xbutton.button == Button1 && !IS_SET(MODE_NORMAL))
|
||||
if (e->xbutton.button == Button1 && !IS_SET(MODE_NORMAL)) {
|
||||
mousesel(e, 1);
|
||||
#if OPENURLONCLICK_PATCH
|
||||
openUrlOnClick(evcol(e), evrow(e), url_opener);
|
||||
#endif // OPENURLONCLICK_PATCH
|
||||
}
|
||||
#else
|
||||
if (e->xbutton.button == Button1)
|
||||
if (e->xbutton.button == Button1) {
|
||||
mousesel(e, 1);
|
||||
#if OPENURLONCLICK_PATCH
|
||||
openUrlOnClick(evcol(e), evrow(e), url_opener);
|
||||
#endif // OPENURLONCLICK_PATCH
|
||||
}
|
||||
#endif // VIM_BROWSE_PATCH
|
||||
#if RIGHTCLICKTOPLUMB_PATCH
|
||||
else if (e->xbutton.button == Button3)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue