diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2012-06-26 22:15:53 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-06-27 10:24:21 -0400 |
commit | 1a73a6335ddd81bfdefbcb6c330943ac91002095 (patch) | |
tree | bc70b03d935c2bea015bee7febfad7f89837eef7 /clients/wscreensaver.c | |
parent | 730c94d62ec56a4621d35c1f4837a84a3b627111 (diff) |
shell: Make screensaver just a wl_surface
Diffstat (limited to 'clients/wscreensaver.c')
-rw-r--r-- | clients/wscreensaver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clients/wscreensaver.c b/clients/wscreensaver.c index 21cc41e6..2b0ea465 100644 --- a/clients/wscreensaver.c +++ b/clients/wscreensaver.c @@ -181,7 +181,7 @@ create_wscreensaver_instance(struct wscreensaver *screensaver, if (!mi) return NULL; - mi->window = window_create(screensaver->display); + mi->window = window_create_custom(screensaver->display); if (!mi->window) { fprintf(stderr, "%s: creating a window failed.\n", progname); free(mi); @@ -194,7 +194,7 @@ create_wscreensaver_instance(struct wscreensaver *screensaver, window_set_custom(mi->window); mi->widget = window_add_widget(mi->window, mi); screensaver_set_surface(screensaver->interface, - window_get_wl_shell_surface(mi->window), + window_get_wl_surface(mi->window), output); } else { mi->widget = frame_create(mi->window, mi); |