projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e4c76b
)
Use the screen size for sizing the background.
author
Kristian Høgsberg
<krh@hinata.localdomain>
Fri, 12 Dec 2008 15:33:04 +0000
(10:33 -0500)
committer
Kristian Høgsberg
<krh@hinata.localdomain>
Fri, 12 Dec 2008 15:33:04 +0000
(10:33 -0500)
egl-compositor.c
patch
|
blob
|
history
diff --git
a/egl-compositor.c
b/egl-compositor.c
index
be25849
..
50c0d59
100644
(file)
--- 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;