Skip to content
Snippets Groups Projects
Commit 951882ad authored by Cedric Roux's avatar Cedric Roux
Browse files

redraw window when receiving MapNotify (not sure if correct)

parent 6ffa65f1
Branches
Tags
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment