mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 15:59:31 +02:00
compositor-x11: Use the fullscreen size provided by the configure event
Make sure we initialize the x11 shm state using the right window size. https://bugs.freedesktop.org/show_bug.cgi?id=70590
This commit is contained in:
parent
8b7d91334f
commit
df566b2c89
1 changed files with 3 additions and 1 deletions
|
|
@ -900,7 +900,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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue