aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2019-08-25 09:37:25 +0100
committerHarry Jeffery <harry@exec64.co.uk>2019-08-25 09:37:25 +0100
commite3cf680b7d4b98051eeed3c2c923be17361f0c3a (patch)
tree281cf199a56c4b2618bfdc51dfcb45de04387c1a /src
parent2b4ef5563b6e7a6ff2ab1d9ac26c5fb76fa120d7 (diff)
downloadimv-e3cf680b7d4b98051eeed3c2c923be17361f0c3a.tar.gz
wl_window: Fix segfault under velox WM
Diffstat (limited to 'src')
-rw-r--r--src/wl_window.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/wl_window.c b/src/wl_window.c
index a80eac9..e82d8fa 100644
--- a/src/wl_window.c
+++ b/src/wl_window.c
@@ -701,9 +701,6 @@ static void create_window(struct imv_window *window, int width, int height,
xdg_toplevel_set_title(window->wl_xdg_toplevel, title);
xdg_toplevel_set_app_id(window->wl_xdg_toplevel, "imv");
- wl_surface_commit(window->wl_surface);
- wl_display_roundtrip(window->wl_display);
-
window->egl_window = wl_egl_window_create(window->wl_surface, width, height);
window->egl_surface = eglCreateWindowSurface(window->egl_display, config, window->egl_window, NULL);
eglMakeCurrent(window->egl_display, window->egl_surface, window->egl_surface, window->egl_context);