wayland: Keep a reference to the surface we last attached
This commit is contained in:
@ -128,9 +128,6 @@ shell_handle_configure(void *data, struct wl_shell *shell,
|
||||
|
||||
window = wl_surface_get_user_data(surface);
|
||||
|
||||
printf("got configure: window %p, %dx%d, edges %d\n",
|
||||
window, width, height, edges);
|
||||
|
||||
display = gdk_window_get_display (window);
|
||||
|
||||
event = gdk_event_new (GDK_CONFIGURE);
|
||||
@ -249,8 +246,6 @@ gdk_display_init_egl(GdkDisplay *display)
|
||||
}
|
||||
}
|
||||
|
||||
fprintf(stderr, "egl initialized\n");
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user