e_comp_wl: calculate the buffer-transformed size first
authorBoram Park <boram1288.park@samsung.com>
Sun, 23 Apr 2017 03:58:00 +0000 (12:58 +0900)
committerBoram Park <boram1288.park@samsung.com>
Tue, 16 May 2017 04:53:45 +0000 (13:53 +0900)
Change-Id: I7b9156f4ca148c228e288b5f28af15ae0e334668

src/bin/e_comp_wl.c

index 619cf0aa082c856070e70a089e2fd1aef2c08215..2af3ca167c660e2b185f5bc9fabd471aa94b7896 100644 (file)
@@ -5023,8 +5023,8 @@ e_comp_wl_surface_attach(E_Client *ec, E_Comp_Wl_Buffer *buffer)
    e_pixmap_dirty(ec->pixmap);
    e_pixmap_refresh(ec->pixmap);
 
-   _e_comp_wl_surface_state_size_update(ec, &ec->comp_data->pending);
    e_comp_wl_map_size_cal_from_buffer(ec);
+   _e_comp_wl_surface_state_size_update(ec, &ec->comp_data->pending);
 
    /* wm-policy module uses it */
    _e_comp_wl_hook_call(E_COMP_WL_HOOK_BUFFER_CHANGE, ec);