summaryrefslogtreecommitdiffstats
path: root/bsp/meta-rcar/meta-rcar-gen3-adas/recipes-graphics/wayland/weston-8.0.0/0007-Add-call-for-setting-fullscreen-with-IVI.patch
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/meta-rcar/meta-rcar-gen3-adas/recipes-graphics/wayland/weston-8.0.0/0007-Add-call-for-setting-fullscreen-with-IVI.patch')
-rw-r--r--bsp/meta-rcar/meta-rcar-gen3-adas/recipes-graphics/wayland/weston-8.0.0/0007-Add-call-for-setting-fullscreen-with-IVI.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/bsp/meta-rcar/meta-rcar-gen3-adas/recipes-graphics/wayland/weston-8.0.0/0007-Add-call-for-setting-fullscreen-with-IVI.patch b/bsp/meta-rcar/meta-rcar-gen3-adas/recipes-graphics/wayland/weston-8.0.0/0007-Add-call-for-setting-fullscreen-with-IVI.patch
new file mode 100644
index 00000000..90893cde
--- /dev/null
+++ b/bsp/meta-rcar/meta-rcar-gen3-adas/recipes-graphics/wayland/weston-8.0.0/0007-Add-call-for-setting-fullscreen-with-IVI.patch
@@ -0,0 +1,44 @@
+From 9f1228fad3e549fd0ead4fd37573e02b874d1661 Mon Sep 17 00:00:00 2001
+From: Grigory Kletsko <grigory.kletsko@cogentembedded.com>
+Date: Tue, 13 Dec 2016 18:20:11 +0300
+Subject: [PATCH] Add call for setting fullscreen with IVI
+
+---
+ clients/toytoolkit.h | 3 +++
+ clients/window.c | 6 ++++++
+ 2 files changed, 9 insertions(+)
+
+diff --git a/clients/toytoolkit.h b/clients/toytoolkit.h
+index 45d322a..481bfe1 100644
+--- a/clients/toytoolkit.h
++++ b/clients/toytoolkit.h
+@@ -442,6 +442,9 @@ window_set_fullscreen(struct window *window, int fullscreen);
+ void
+ window_set_fullscreen_at_output(struct window *window, int fullscreen, struct output *output);
+
++void
++window_set_fullscreen_hack(struct window *window, int fullscreen);
++
+ int
+ window_is_maximized(struct window *window);
+
+diff --git a/clients/window.c b/clients/window.c
+index c0b25e8..0ba9307 100644
+--- a/clients/window.c
++++ b/clients/window.c
+@@ -4699,6 +4699,12 @@ window_set_fullscreen_at_output(struct window *window, int fullscreen, struct ou
+ xdg_toplevel_unset_fullscreen(window->xdg_toplevel);
+ }
+
++void
++window_set_fullscreen_hack(struct window *window, int fullscreen)
++{
++ window->fullscreen = fullscreen;
++}
++
+ int
+ window_is_maximized(struct window *window)
+ {
+--
+2.7.4
+