Compare commits
2 Commits
75dea136df
...
88051b8007
Author | SHA1 | Date | |
---|---|---|---|
88051b8007 | |||
07d63aa5f6 |
6
x.c
6
x.c
@ -686,6 +686,8 @@ setsel(char *str, Time t)
|
||||
XSetSelectionOwner(xw.dpy, XA_PRIMARY, xw.win, t);
|
||||
if (XGetSelectionOwner(xw.dpy, XA_PRIMARY) != xw.win)
|
||||
selclear();
|
||||
|
||||
xclipcopy();
|
||||
}
|
||||
|
||||
void
|
||||
@ -709,7 +711,9 @@ brelease(XEvent *e)
|
||||
|
||||
if (mouseaction(e, 1))
|
||||
return;
|
||||
if (btn == Button1)
|
||||
if (btn == Button3)
|
||||
selpaste(NULL);
|
||||
else if (btn == Button1)
|
||||
mousesel(e, 1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user