summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2013-06-11 09:21:31 +0100
committerChris Michael <cp.michael@samsung.com>2013-06-11 09:21:31 +0100
commit9841131e1cde6cee61353fb21f85ef568d50c733 (patch)
treedfb78b243372d589e53903c30c67571165b4a6ab
parent5af1978ef3695a7cd285b547cae6f62ad714177d (diff)
downloadenlightenment-9841131e1cde6cee61353fb21f85ef568d50c733.tar.gz
Assign an output to a surface when we map it
Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/modules/wl_desktop/e_mod_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/wl_desktop/e_mod_main.c b/src/modules/wl_desktop/e_mod_main.c
index b861acddcb..70c5a45fde 100644
--- a/src/modules/wl_desktop/e_mod_main.c
+++ b/src/modules/wl_desktop/e_mod_main.c
@@ -313,6 +313,9 @@ _e_desktop_shell_shell_surface_map(E_Surface *es, Evas_Coord x, Evas_Coord y, Ev
/* stacking */
+ if (es->shell_surface->type != E_SHELL_SURFACE_TYPE_NONE)
+ e_surface_output_assign(es);
+
/* activate */
switch (es->shell_surface->type)
{