~mdw
/
xtoys
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6935312
)
xrepaint.c: Handle the other kinds of events we requested.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 24 Apr 2022 11:17:32 +0000
(12:17 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 24 Apr 2022 11:25:07 +0000
(12:25 +0100)
xrepaint.c
patch
|
blob
|
blame
|
history
diff --git
a/xrepaint.c
b/xrepaint.c
index
b957650
..
08ef3b6
100644
(file)
--- a/
xrepaint.c
+++ b/
xrepaint.c
@@
-154,7
+154,9
@@
int main(int argc, char *argv[])
while (n) {
XNextEvent(dpy, &ev);
switch (ev.type) {
- case Expose: case KeyPress: case ButtonPress:
+ case MapNotify:
+ w = ev.xmap.window; goto window_visible;
+ case VisibilityNotify: case Expose: case KeyPress: case ButtonPress:
w = ev.xany.window; goto window_visible;
window_visible:
for (i = 0; i < n; i++)