forked from enlightenment/enlightenment
Revert "verify valid client comp_data before accessing it directly"
Reverting this in favor of a different fix.
This reverts commit bbad744060
.
This commit is contained in:
parent
bbad744060
commit
cc795bfbda
|
@ -881,10 +881,7 @@ _e_xdg_shell_cb_bind(struct wl_client *client, void *data EINA_UNUSED, uint32_t
|
|||
static void
|
||||
_xdg5_client_hook_del(void *d EINA_UNUSED, E_Client *ec)
|
||||
{
|
||||
E_Shell_Data *shd;
|
||||
|
||||
if (!ec->comp_data) return;
|
||||
shd = ec->comp_data->shell.data;
|
||||
E_Shell_Data *shd = ec->comp_data->shell.data;
|
||||
|
||||
if (shd && (shd->version != 5)) return;
|
||||
if (ec->comp_data->shell.surface)
|
||||
|
|
|
@ -1325,7 +1325,6 @@ _xdg6_client_destroy(E_Client *ec)
|
|||
{
|
||||
E_Shell_Data *shd;
|
||||
|
||||
if (!ec->comp_data) return;
|
||||
shd = ec->comp_data->shell.data;
|
||||
if (shd && (shd->version != 6)) return;
|
||||
if (ec->comp_data->shell.surface)
|
||||
|
|
Loading…
Reference in New Issue