WMII Reforge  Artifact [f476d5675e]

Artifact f476d5675e364774dce842e3ff78f2f61e272b7123c87138ba4d8ea73bbb75df:

  • File lib/libstuff/event/selection.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: 296)

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

void
event_selection(XSelectionEvent *ev) {
	Window *w;

	if(!ev->send_event)
		event_xtime = ev->time;
	if((w = findwin(ev->requestor)))
		event_handle(w, selection, ev);
}