diff options
Diffstat (limited to 'src/FbTk/ImageImlib2.cc')
-rw-r--r-- | src/FbTk/ImageImlib2.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/ImageImlib2.cc b/src/FbTk/ImageImlib2.cc index 9983604..d710c4f 100644 --- a/src/FbTk/ImageImlib2.cc +++ b/src/FbTk/ImageImlib2.cc | |||
@@ -91,8 +91,8 @@ PixmapWithMask *ImageImlib2::load(const std::string &filename, int screen_num) c | |||
91 | imlib_context_push(new_context); | 91 | imlib_context_push(new_context); |
92 | 92 | ||
93 | imlib_context_set_display(dpy); | 93 | imlib_context_set_display(dpy); |
94 | imlib_context_set_visual(DefaultVisual(dpy, screen_num)); | 94 | imlib_context_set_visual(FbTk::App::instance()->defaultVisual(screen_num)); |
95 | imlib_context_set_colormap(DefaultColormap(dpy, screen_num)); | 95 | imlib_context_set_colormap(FbTk::App::instance()->defaultColormap(screen_num)); |
96 | imlib_context_set_drawable(RootWindow(dpy, screen_num)); | 96 | imlib_context_set_drawable(RootWindow(dpy, screen_num)); |
97 | 97 | ||
98 | imlib_context_pop(); | 98 | imlib_context_pop(); |