WMII Reforge  Artifact [c81af9664c]

Artifact c81af9664c2549523440723d975dabe35b9a22d3fd4e66b79b0bbea5c79628ee:

  • File lib/libstuff/event/destroynotify.c — part of check-in [15eae1e8e6] at 2019-06-20 16:42:23 on branch trunk — Import sources to have something to work with (user: KhazAkar size: 313)

/* Copyright ©2006-2010 Kris Maglione <maglione.k at Gmail>
 * See LICENSE file for license details.
 */
#include "event.h"

void
event_destroynotify(XDestroyWindowEvent *ev) {
	Window *w;

	if(!ev->send_event)
		event_lastconfigure = ev->serial;
	if((w = findwin(ev->window)))
		event_handle(w, destroy, ev);
}