redraw window when receiving MapNotify (not sure if correct)

This commit is contained in:
Cedric Roux
2016-05-01 14:09:20 +02:00
parent 6ffa65f1d2
commit 951882adaa
+1
View File
@@ -151,6 +151,7 @@ printf("x_events START\n");
XNextEvent(x->d, &ev);
printf("XEV %d\n", ev.type);
switch (ev.type) {
case MapNotify:
case Expose:
if ((w = find_x_window(g, ev.xexpose.window)) != NULL) {
struct x_window *xw = w->x;