e_policy_wl: Send configure event to client regardless of maximize state. 69/174169/1
authorSeunghun Lee <shiin.lee@samsung.com>
Thu, 29 Mar 2018 01:05:37 +0000 (10:05 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Thu, 29 Mar 2018 01:08:22 +0000 (10:08 +0900)
Change-Id: Ie377dac597d3ffbd546ef5e935f1a1fa243216e8

src/bin/e_policy_wl.c

index 51351839c80df60a278f50f145566bff5fc304b5..379dc0527e3cb34afd7c4540769715893590b347 100644 (file)
@@ -6003,22 +6003,17 @@ e_policy_wl_clipboard_data_selected_send(E_Client *ec)
 static void
 _e_policy_wl_cb_hook_shell_surface_ready(void *d, E_Client *ec)
 {
-   Eina_Bool res;
-
    if (EINA_UNLIKELY(!ec))
      return;
 
    _e_policy_wl_aux_hint_apply(ec);
 
-   res = e_policy_client_maximize(ec);
-   if (res)
+   e_policy_client_maximize(ec);
+   if ((ec->comp_data->shell.configure_send) &&
+       (ec->comp_data->shell.surface))
      {
-        if ((ec->comp_data->shell.configure_send) &&
-            (ec->comp_data->shell.surface))
-          {
-             ec->comp_data->shell.configure_send(ec->comp_data->shell.surface,
-                                                 0, ec->w, ec->h);
-          }
+        ec->comp_data->shell.configure_send(ec->comp_data->shell.surface,
+                                            0, ec->w, ec->h);
      }
 }