Commit 951882ad authored by Cedric Roux's avatar Cedric Roux
Browse files

redraw window when receiving MapNotify (not sure if correct)

parent 6ffa65f1
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment