projects
/
profile
/
ivi
/
weston-ivi-shell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3a0e18
)
compositor-x11: Use the fullscreen size provided by the configure event
author
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 24 Oct 2013 06:38:50 +0000
(23:38 -0700)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 24 Oct 2013 06:38:50 +0000
(23:38 -0700)
Make sure we initialize the x11 shm state using the right window size.
https://bugs.freedesktop.org/show_bug.cgi?id=70590
src/compositor-x11.c
patch
|
blob
|
history
diff --git
a/src/compositor-x11.c
b/src/compositor-x11.c
index
1ccd03c
..
d99bde5
100644
(file)
--- a/
src/compositor-x11.c
+++ b/
src/compositor-x11.c
@@
-921,7
+921,9
@@
x11_compositor_create_output(struct x11_compositor *c, int x, int y,
x, y, width, height, transform, scale);
if (c->use_pixman) {
- if (x11_output_init_shm(c, output, output_width, output_height) < 0)
+ if (x11_output_init_shm(c, output,
+ output->mode.width,
+ output->mode.height) < 0)
return NULL;
if (pixman_renderer_output_create(&output->base) < 0) {
x11_output_deinit_shm(c, output);