summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMike Morris <michael.patrick.morris@gmail.com>2014-09-24 23:03:50 -0400
committerMike Morris <michael.patrick.morris@gmail.com>2014-09-24 23:03:50 -0400
commitdffeaa07877c59a6a586545e45c4f6339b789a6d (patch)
treed747597dfc17e936d79eef5380707b48561d5c52 /common
parent11f90812747270de595bc624dedde86f377bb535 (diff)
downloadqtlocation-mapboxgl-dffeaa07877c59a6a586545e45c4f6339b789a6d.tar.gz
make active after resize
Diffstat (limited to 'common')
-rw-r--r--common/headless_view.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/headless_view.cpp b/common/headless_view.cpp
index 37982e6891..9dee14b393 100644
--- a/common/headless_view.cpp
+++ b/common/headless_view.cpp
@@ -109,6 +109,8 @@ void HeadlessView::resize(uint16_t width, uint16_t height, float pixelRatio) {
#if MBGL_USE_GLX
x_pixmap = XCreatePixmap(x_display, DefaultRootWindow(x_display), width, height, 32);
glx_pixmap = glXCreateGLXPixmap(x_display, x_info, x_pixmap);
+
+ make_active();
#endif
}