From 9841131e1cde6cee61353fb21f85ef568d50c733 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Tue, 11 Jun 2013 09:21:31 +0100 Subject: [PATCH] Assign an output to a surface when we map it Signed-off-by: Chris Michael --- src/modules/wl_desktop/e_mod_main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/wl_desktop/e_mod_main.c b/src/modules/wl_desktop/e_mod_main.c index b861acddc..70c5a45fd 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) {