struct sna_dri2_event *chain;
assert(win->drawable.type == DRAWABLE_WINDOW);
- DBG(("%s: remove[%p] from window %ld)\n",
- __FUNCTION__, info, (long)win->drawable.id));
+ DBG(("%s: remove[%p] from window %ld, active? %d\n",
+ __FUNCTION__, info, (long)win->drawable.id, info->darw != NULL));
priv = dri2_window(win);
assert(priv);
if (client->clientState != ClientStateGone)
return;
- DBG(("%s()\n", __FUNCTION__));
+ DBG(("%s(active?=%d)\n", __FUNCTION__
+ !list_is_empty(&priv->events)));
while (!list_is_empty(&priv->events)) {
struct sna_dri2_event *event;