active.cc:58:	if (find (aa, event->x.xcrossing.window))
bindings.cc:96:	if (event->x.type==ButtonPress)
bindings.cc:97:	if ((button == event->x.xbutton.button || button == 0) &&
bindings.cc:98:			(context & event->context) && 
bindings.cc:99:			(mods == (event->x.xbutton.state & mods_used) || mods == AnyModifier))
bindings.cc:102:		event->handled = 1;
bindings.cc:173:	return (keycode == event->x.xkey.keycode &&
bindings.cc:174:		(mods == (event->x.xkey.state & mods_used) || mods == AnyModifier) &&
bindings.cc:175:		context & event->context);
bindings.cc:181:	if (event->x.type==KeyPress || event->x.type==KeyRelease)
bindings.cc:184:		event->handled = 1;
bindings.cc:252:	for (i = first; i && !event->handled; i = i->next)
boxes.cc:256:	if (event->x.xany.window == w)
boxes.cc:483:	switch (event->x.type)
boxes.cc:486:		if (overlap (event->x.xexpose.x, event->x.xexpose.y,
boxes.cc:487:		 event->x.xexpose.width, event->x.xexpose.height))
boxes.cc:495:		if (contains (event->x.xbutton.x, event->x.xbutton.y))
boxes.cc:502:		for (i=first; i && !event->handled; i=i->next)
boxes.cc:732:	switch (event->x.type)
boxes.cc:735:		if (overlap (event->x.xexpose.x, event->x.xexpose.y,
boxes.cc:736:		 event->x.xexpose.width, event->x.xexpose.height))
commands.cc:191:			event->next ();
commands.cc:193:			//      event->handled = 1;
commands.cc:195:			switch (event->x.type)
commands.cc:198:				event->kbd_shortcuts ();
commands.cc:199:				if (event->keysym == XK_Return || event->keysym == XK_space)
commands.cc:208:				if (wl.find_pager_view (sw, event->x.xcrossing.window)
commands.cc:209:					|| wl.findw (sw, event->x.xcrossing.window)
commands.cc:210:					|| wl.find_dwin (sw, event->x.xcrossing.window))
commands.cc:216:				event->handled = 0;
commands.cc:220:			if (!(event->handled))
commands.cc:221:				event->handle ();
commands.cc:325:	if (event->x.type==KeyPress) {
commands.cc:328:	else if (event->x.type==KeyRelease) {
events.cc:127:		//      send_message (_XA_WM_TAKE_FOCUS, event->x.xmaprequest.time);
events.cc:223:				XGetAtomName (dpy, event->x.xproperty.atom));
events.cc:249:	switch (event->x.xbutton.button) {
events.cc:284:		event->mask (ButtonPressMask | ButtonReleaseMask | PointerMotionMask
events.cc:287:		switch (event->x.type)
events.cc:290:			event->handle ();
events.cc:296:			switch (event->keysym) {
events.cc:307:			event->handled = 1;
events.cc:310:			switch (event->keysym) {
events.cc:316:			event->handled = 1;
events.cc:321:			pager.p2r (event->x.xbutton.x_root - px, event->x.xbutton.y_root - py, nx, ny);
events.cc:322:			if (event->x.xmotion.state & Button1Mask) {
events.cc:329:			else if (event->x.xmotion.state & Button3Mask) {
events.cc:375:		switch (event->x.xbutton.button) {
log.cc:112:#define cn event->x.xconfigure
main.cc:254:		if (!event->check_mask (SubstructureRedirectMask | SubstructureNotifyMask
main.cc:262:		event->next ();
main.cc:263:		event->handle ();
menus.cc:262:		if (wr.contains (ppos.rx, ppos.ry)) event->window (w, EnterWindowMask);
menus.cc:324:		event->mask (MENU_EVENT_MASK);
menus.cc:327:		if (!event->handled) 
menus.cc:329:			switch (event->x.type)
menus.cc:332:				//	if (event->x.xany.window == root)
menus.cc:334:				event->handled = 1;
menus.cc:341:					event->handled = 1;
menus.cc:348:				event->handled = 1; // otherwise winops won't work
menus.cc:349:				                    // (event->handle () would focus to none == root)
menus.cc:354:		if (!event->handled) event->handle ();
menus.cc:365:	if (event->x.type == KeyPress)
menus.cc:373:	else if (event->x.xany.window == w)
menus.cc:378:		switch (event->x.type) {
menus.cc:387:		if (!event->handled) hbox->handle_event ();
menus.cc:396:	switch (event->keysym)
menus.cc:401:		event->handled = 1;
menus.cc:422:		event->handled = 1;
menus.cc:426:		event->handled = 1;
menus.cc:430:		event->handled = 1;
menus.cc:730:	switch (event->x.type) {
menus.cc:732:		if (overlap (event->r)) draw ();
menus.cc:736:		if (contains (event->x.xcrossing.x, event->x.xcrossing.y)) {
menus.cc:738:			event->handled = 1;
menus.cc:742:		if (contains (event->x.xmotion.x, event->x.xmotion.y)) {
menus.cc:744:			event->handled = 1;
menus.cc:748:		if (contains (event->x.xbutton.x, event->x.xbutton.y)) {
menus.cc:750:			event->handled = 1;
menus.cc:882:	switch (event->x.type)
menus.cc:885:		if (event->keysym == hotkey)
menus.cc:891:			event->handled = 1;
menus.cc:1010://	printf ("%d ", event->x.type); fflush(stdout);
menus.cc:1011:	switch (event->x.type)
menus.cc:1014:		if (contains (event->x.xmotion.x, event->x.xmotion.y))
menus.cc:1018:			if (!(flag & MP_CLICKABLE) && event->x.xmotion.x > x + wd / 2)
menus.cc:1020:			event->handled = 1;
menus.cc:1025:		if (event->keysym == hotkey)
menus.cc:1030:			event->handled = 1;
misc.cc:386:	while (event->check_mask (PointerMotionMask | EnterWindowMask))
misc.cc:387:		event->handle ();
pager.cc:232:	switch (event->x.type) {
pager.cc:234:		event->handle_KeyPress ();
pager.cc:237:		if (event->x.xbutton.button == 1) {
pager.cc:239:			p2ir (event->x.xbutton.x, event->x.xbutton.y, nx, ny);
pager.cc:242:		else if (event->x.xbutton.button == 3) {
pager.cc:244:			p2r (event->x.xbutton.x, event->x.xbutton.y, nx, ny);
pager.cc:259:		// event->..."
pager.cc:260:		if (event->x.xmotion.state & Button3Mask)
pager.cc:262:			p2r (event->x.xbutton.x, event->x.xbutton.y, nx, ny);
pager.cc:269:		else if (event->x.xmotion.state & Button1Mask)
pager.cc:271:			p2ir (event->x.xbutton.x, event->x.xbutton.y, nx, ny);
pager.cc:278:		if (event->x.xcrossing.detail != NotifyInferior)
pager.cc:289:		if (event->x.xcrossing.detail == NotifyInferior)
pager.cc:294:			if (wl.find_pager_view (sw, event->x.xcrossing.subwindow))
windows.cc:156:	switch (event->x.type)
windows.cc:159:		if (overlap (event->x.xexpose.x, event->x.xexpose.y, event->x.xexpose.width, event->x.xexpose.height))
windows.cc:168:		if (contains (event->x.xbutton.x, event->x.xbutton.y)) {
windows.cc:182:		if (contains (event->x.xbutton.x, event->x.xbutton.y))
windows.cc:186:			grab_setup (event->x.xany.window);
windows.cc:192:				event->mask (ButtonPressMask | ButtonReleaseMask | PointerMotionMask | EnterWindowMask);
windows.cc:199:			event->handled = 1;
windows.cc:210:	switch (event->x.type)
windows.cc:214:		if (event->x.xany.window == grab_win) {
windows.cc:215:			if (contains (event->x.xbutton.x, event->x.xbutton.y)) {
windows.cc:228:		if (contains (event->x.xbutton.x, event->x.xbutton.y))
windows.cc:233:				event->handled = 1;
windows.cc:278:	cq.add (new CClose (event->sw));
windows.cc:298:	cq.add (new CMax (event->sw));
windows.cc:318:	cq.add (new CHide (event->sw));
windows.cc:363:	if (event->x.type == Expose)
windows.cc:366:		if (overlap (event->x.xexpose.x, event->x.xexpose.y, event->x.xexpose.width, event->x.xexpose.height))
windows.cc:426:	switch (event->x.type)
windows.cc:429:		if (!event->handled)
windows.cc:431:			event->context = C_DECOR;
windows.cc:438:		if (event->sw != spager)
windows.cc:441:		event->sw->focus ();
windows.cc:442:		wl.focus = event->sw;
windows.cc:1049:	if (event->x.type == ButtonPress)
windows.cc:1051:		event->context = C_DECOR;
windows.cc:1498:	//  Window w = event->x.xunmap.window;
windows.cc:2171:		event->mask (KeyPressMask | KeyReleaseMask | ButtonPressMask
windows.cc:2174:		switch (event->x.type)
windows.cc:2179:				event->handle_Expose ();
windows.cc:2183:				event->handle_Expose ();
windows.cc:2188:			event->kbd_shortcuts ();
windows.cc:2189:			switch (event->keysym)
windows.cc:2209:			event->handled = 1;
windows.cc:2213:			event->handled = 1;
windows.cc:2233:			event->handled = 1;
windows.cc:2240:			if (event->x.type == EnterNotify)
windows.cc:2242:				x = event->x.xcrossing.x_root;
windows.cc:2243:				y = event->x.xcrossing.y_root;
windows.cc:2247:				x = event->x.xmotion.x_root;
windows.cc:2248:				y = event->x.xmotion.y_root;
windows.cc:2322:			event->handled = 1;
windows.cc:2328:		if (!event->handled)
windows.cc:2329:			event->handle ();
windows.cc:2449:		event->mask (KeyPressMask | ButtonPressMask | ButtonReleaseMask |
windows.cc:2452:		switch (event->x.type) {
windows.cc:2456:				event->handle_Expose ();
windows.cc:2459:			else event->handle_Expose ();
windows.cc:2462:			event->kbd_shortcuts ();
windows.cc:2463:			switch (event->keysym) {
windows.cc:2474:			event->handled = 1;
windows.cc:2477:			event->handled = 1;
windows.cc:2481:			event->handled = 1;
windows.cc:2492:			if (event->x.type == EnterNotify)
windows.cc:2494:				x = event->x.xcrossing.x_root;
windows.cc:2495:				y = event->x.xcrossing.y_root;
windows.cc:2499:				x = event->x.xmotion.x_root;
windows.cc:2500:				y = event->x.xmotion.y_root;
windows.cc:2526:			event->handled = 1;
windows.cc:2532:		//    if (!event->handled)
windows.cc:2533:		//      event->handle ();
windows.cc:2596:		while (event->check_mask (EnterWindowMask));
windows.cc:2608:#define cre event->x.xconfigurerequest
windows.cc:2699:				 name, XGetAtomName (dpy, event->x.xproperty.atom));
windows.cc:2702:	switch (event->x.xproperty.atom)
windows.cc:2732:		wmhints = XGetWMHints (dpy, event->x.xany.window);
windows.cc:2743:		if (event->x.xproperty.atom == _XA_WM_STATE) {
windows.cc:2748:		else if (event->x.xproperty.atom == _XA_WM_PROTOCOLS) {
windows.cc:2765:		else if (event->x.xproperty.atom == _XA_WM_TAKE_FOCUS) {
windows.cc:2767:			if (flags & DoesWmTakeFocus) send_message (_XA_WM_TAKE_FOCUS, event->x.xproperty.time);
windows.cc:2769:		else if (event->x.xproperty.atom == _XA_MOTIF_WM_HINTS) {
windows.cc:3129:		event->mask (MENU_EVENT_MASK);
windows.cc:3131:		if (event->x.type==KeyRelease) {
windows.cc:3132:			if (event->keysym == XK_Super_L) {
windows.cc:3135:				event->handled = 1;
windows.cc:3139:		if (!event->handled) event->handle ();
windows.cc:3147:	while (event->check_mask (EnterWindowMask));
windows.cc:3179:		event->mask (MENU_EVENT_MASK);
windows.cc:3183:		if (!event->handled) {
windows.cc:3184:			switch (event->x.type)
windows.cc:3188:				switch (event->keysym)
windows.cc:3193:					event->handled = 1;
windows.cc:3198:			//      event->handled = 1;
windows.cc:3202:				switch (event->keysym) {
windows.cc:3210:			event->handled = 1;
windows.cc:3215:		if (!event->handled) event->handle ();
windows.cc:3225:	while (event->check_mask (EnterWindowMask));
