imlib2_grab, imlib2_view: Unset context colormap
Should normally not be set when grabbing.
This commit is contained in:
parent
be9ac449e7
commit
3fd4347cfa
|
@ -92,6 +92,7 @@ main(int argc, char **argv)
|
|||
file = argv[0];
|
||||
|
||||
prog_x11_init();
|
||||
imlib_context_set_colormap(None);
|
||||
|
||||
if (draw == None)
|
||||
draw = DefaultRootWindow(disp);
|
||||
|
|
|
@ -658,6 +658,7 @@ main(int argc, char **argv)
|
|||
}
|
||||
|
||||
prog_x11_init();
|
||||
imlib_context_set_colormap(None);
|
||||
|
||||
win = prog_x11_create_window("imlib2_view", 10, 10);
|
||||
|
||||
|
|
Loading…
Reference in New Issue