forked from enlightenment/enlightenment
add debug info when x11 client messages are missed
This commit is contained in:
parent
52fd0581fa
commit
31d0fd0417
|
@ -1931,7 +1931,11 @@ _e_comp_x_message(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_X_Event_Cl
|
||||||
E_Client *ec;
|
E_Client *ec;
|
||||||
|
|
||||||
ec = _e_comp_x_client_find_by_window(ev->win);
|
ec = _e_comp_x_client_find_by_window(ev->win);
|
||||||
if (!ec) return ECORE_CALLBACK_RENEW;
|
if (!ec)
|
||||||
|
{
|
||||||
|
DBG("missed client message '%s' for %u", ecore_x_atom_name_get(ev->message_type), ev->win);
|
||||||
|
return ECORE_CALLBACK_RENEW;
|
||||||
|
}
|
||||||
if (ev->message_type == ECORE_X_ATOM_NET_WM_WINDOW_OPACITY)
|
if (ev->message_type == ECORE_X_ATOM_NET_WM_WINDOW_OPACITY)
|
||||||
{
|
{
|
||||||
ec->netwm.fetch.opacity = 1;
|
ec->netwm.fetch.opacity = 1;
|
||||||
|
|
Loading…
Reference in New Issue