From: Alex Wu <[email protected]>
Rotation and then fullscreen leads to fullscreen display rotation.
---
src/shell.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/shell.c b/src/shell.c
index fd66462..1a206af 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -925,6 +925,12 @@ shell_surface_set_fullscreen(struct wl_client *client,
if (weston_surface_is_mapped(es))
shsurf->force_configure = 1;
+ if (!wl_list_empty(&shsurf->rotation.transform.link)) {
+ wl_list_remove(&shsurf->rotation.transform.link);
+ wl_list_init(&shsurf->rotation.transform.link);
+ shsurf->surface->geometry.dirty = 1;
+ }
+
wl_shell_surface_send_configure(&shsurf->resource, 0,
shsurf->output->current->width,
shsurf->output->current->height);
--
1.7.5.4
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel