Xinqi Bao's Git
projects
/
st.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
Very minor grammar fixes in FAQ
[st.git]
/
st.c
diff --git
a/st.c
b/st.c
index
b221f33
..
546db41
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-89,7
+89,7
@@
char *argv0;
#define VT102ID "\033[?6c"
enum glyph_attribute {
#define VT102ID "\033[?6c"
enum glyph_attribute {
-
ATTR_NULL = 0,
+ ATTR_NULL = 0,
ATTR_BOLD = 1,
ATTR_FAINT = 2,
ATTR_ITALIC = 4,
ATTR_BOLD = 1,
ATTR_FAINT = 2,
ATTR_ITALIC = 4,
@@
-3786,6
+3786,8
@@
run(void) {
/* Waiting for window mapping */
while(1) {
XNextEvent(xw.dpy, &ev);
/* Waiting for window mapping */
while(1) {
XNextEvent(xw.dpy, &ev);
+ if(XFilterEvent(&ev, None))
+ continue;
if(ev.type == ConfigureNotify) {
w = ev.xconfigure.width;
h = ev.xconfigure.height;
if(ev.type == ConfigureNotify) {
w = ev.xconfigure.width;
h = ev.xconfigure.height;