e_xdg_shell_v6: fix bug for updating min_max size
[platform/upstream/enlightenment.git] / src / bin / e_xdg_shell_v6.c
index ab1c5c0..35e58fb 100644 (file)
@@ -523,7 +523,7 @@ _e_xdg_toplevel_v6_min_max_size_update(E_Xdg_Toplevel_V6 *toplevel)
    E_Client *ec = toplevel->ec;
    struct ds_xdg_toplevel_v6 *ds_toplevel = toplevel->ds_toplevel;
 
-   if (!ec->lock_client_size)
+   if (ec->lock_client_size)
      return;
 
    ec->icccm.min_w = ds_toplevel->current.min_width;