diff options
author | Kristian Høgsberg <krh@hinata.localdomain> | 2008-12-12 10:33:04 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@hinata.localdomain> | 2008-12-12 10:33:04 -0500 |
commit | 997e71eb1e6322fb91b0c8be2fe7e29c68b8b4df (patch) | |
tree | d3b05351e9d2420b9f383cd6f698609a6bb06d70 | |
parent | 9e4c76b5300c5eee252c5ad0251411ce05a983dd (diff) |
Use the screen size for sizing the background.
-rw-r--r-- | egl-compositor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/egl-compositor.c b/egl-compositor.c index be25849..50c0d59 100644 --- a/egl-compositor.c +++ b/egl-compositor.c @@ -1113,7 +1113,7 @@ egl_compositor_create(struct wl_display *display) filename = getenv("WAYLAND_BACKGROUND"); if (filename == NULL) filename = "background.jpg"; - ec->background = background_create(filename, 1280, 800); + ec->background = background_create(filename, ec->width, ec->height); ec->overlay = overlay_create(0, ec->height, ec->width, 200); ec->overlay_y = ec->height; ec->overlay_target = ec->height; |