Index: uspace/app/viewer/viewer.c
===================================================================
--- uspace/app/viewer/viewer.c	(revision c064b58528b1a0e1c74fe2790f8ddddcb03b3e84)
+++ uspace/app/viewer/viewer.c	(revision 10cb47eaa0c19e8c686b3c5e3d3e6084e07b901c)
@@ -157,5 +157,5 @@
 		}
 	} else {
-		canvas = create_canvas(window_root(main_window),
+		canvas = create_canvas(window_root(main_window), NULL,
 		    img_width, img_height, local_surface);
 		if (canvas == NULL) {
@@ -219,5 +219,5 @@
 		flags |= WINDOW_DECORATED;
 
-	main_window = window_open(argv[1], flags, "viewer");
+	main_window = window_open(argv[1], NULL, flags, "viewer");
 	if (!main_window) {
 		printf("Cannot open main window.\n");
