mirror of
https://github.com/0intro/wmii
synced 2024-11-29 09:03:25 +03:00
15 lines
308 B
C
15 lines
308 B
C
/* Copyright ©2006-2010 Kris Maglione <maglione.k at Gmail>
|
|
* See LICENSE file for license details.
|
|
*/
|
|
#include "event.h"
|
|
|
|
void
|
|
event_buttonpress(XButtonPressedEvent *ev) {
|
|
Window *w;
|
|
|
|
if((w = findwin(ev->window)))
|
|
event_handle(w, bdown, ev);
|
|
else
|
|
XAllowEvents(display, ReplayPointer, ev->time);
|
|
}
|