Xinqi Bao's Git
projects
/
st.git
/ diff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
1811b60
)
Fix indentation.
author
noname <
[email protected]
>
Sun, 3 May 2015 02:49:23 +0000
(
02:49
+0000)
committer
Roberto E. Vargas Caballero <
[email protected]
>
Mon, 4 May 2015 10:00:10 +0000
(12:00 +0200)
st.c
diff
|
blob
|
history
diff --git
a/st.c
b/st.c
index
d6dd4de
..
cf6556a
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-1084,8
+1084,8
@@
selrequest(XEvent *e) {
xev.selection = xsre->selection;
xev.target = xsre->target;
xev.time = xsre->time;
xev.selection = xsre->selection;
xev.target = xsre->target;
xev.time = xsre->time;
-
if (xsre->property == None)
- xsre->property = xsre->target;
+ if (xsre->property == None)
+
xsre->property = xsre->target;
/* reject */
xev.property = None;
/* reject */
xev.property = None;
@@
-1134,8
+1134,8
@@
xsetsel(char *str, Time t) {
sel.primary = str;
XSetSelectionOwner(xw.dpy, XA_PRIMARY, xw.win, t);
sel.primary = str;
XSetSelectionOwner(xw.dpy, XA_PRIMARY, xw.win, t);
-
if (XGetSelectionOwner(xw.dpy, XA_PRIMARY) != xw.win)
- selclear(0);
+ if (XGetSelectionOwner(xw.dpy, XA_PRIMARY) != xw.win)
+
selclear(0);
}
void
}
void