e_comp_wl_shell: call base_output_resolution_update after create shell surface 73/204773/2
authorJunseok, Kim <juns.kim@samsung.com>
Fri, 26 Apr 2019 07:44:54 +0000 (16:44 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 29 Apr 2019 04:40:04 +0000 (04:40 +0000)
Change-Id: I48e02af5ddfb3a09de20c7bc466aca41bca61356

src/bin/e_comp_wl_shell.c

index cd6debf67ac2ac7619949277542f71ab5fb99e03..b57e46aff7c7bef198fcc5d5e9a84d2903156fe8 100644 (file)
@@ -898,6 +898,9 @@ _e_shell_cb_shell_surface_get(struct wl_client *client, struct wl_resource *reso
 
    ELOGF("SHELL", "Create shell surface", ec);
 
+   // base_output_resolution.
+   e_client_base_output_resolution_update(ec);
+
    e_shell_e_client_shsurface_assign(ec, shsurf_resource, &api);
    e_comp_wl_shell_surface_ready(ec);
 }
@@ -1536,6 +1539,9 @@ _e_xdg_shell_cb_surface_get(struct wl_client *client, struct wl_resource *resour
                                   ec,
                                   _e_shell_surface_cb_destroy);
 
+   // base_output_resolution.
+   e_client_base_output_resolution_update(ec);
+
    e_shell_e_client_shsurface_assign(ec, shsurf_resource, &api);
    e_shell_e_client_toplevel_set(ec);