rem: puts("got button press");
add: dputs("got button press");
context: handleButtonPress(XEvent *event){    WObjDescriptor *desc;    WScreen *scr;#ifdef DEBUG        puts("got button press");#endif    scr = wScreenForRootWindow(event->xbutton.root);    #ifdef BALLOON_TEXT    wBalloonHide(scr);#endif    #ifndef LITE    if (event->xbutton.window==scr->root_win) {	if (event->xbutton.button==wPreferences.menu_button) {	    OpenRootMenu(scr, event->xbutton.x_root,                         event->xbutton.y_root, False);	    /* ugly hack */	    if (scr->root_menu) {		if (scr->root_menu->brother->flags.mapped)		  event->xbutton.window = scr->root_menu->brother->frame->core->window;		else		  event->xbutton.window = scr->root_menu->frame->core->window;	    }	} else if (event->xbutton.button==wPreferences.windowl_button) {	    OpenSwitchMenu(scr, event->xbutton.x_root,			   event->xbutton.y_root, False);	    if (scr->switch_menu) {		if (scr->switch_menu->brother->flags.mapped)		  event->xbutton.window = scr->switch_menu->brother->frame->core->window;		else		  event->xbutton.window = scr->switch_menu->frame->core->window;	    }	} else if (event->xbutton.button==wPreferences.select_button) {	    wUnselectWindows(scr);	    wSelectWindows(scr, event);	}#ifdef MOUSE_WS_SWITCH	else if (event->xbutton.button==Button5) {	    wWorkspaceRelativeChange(scr, -1);	} else if (event->xbutton.button==Button4) {	    wWorkspaceRelativeChange(scr, 1);	}#endif /* MOUSE_WS_SWITCH */#ifdef GNOME_STUFF	else if (wGNOMEProxyizeButtonEvent(scr, event))	    return;#endif    }#endif /* !LITE */    if (XFindContext(dpy, event->xbutton.subwindow, wWinContext,		     (XPointer *)&desc)==XCNOENT) {	if (XFindContext(dpy, event->xbutton.window, wWinContext,			 (XPointer *)&desc)==XCNOENT) {	    return;	}    }    if (desc->handle_mousedown!=NULL) {	(*desc->handle_mousedown)(desc, event);    }    if (desc->parent_type == WCLASS_WINDOW) {	XSync(dpy, 0);    	if (event->xbutton.state & MOD_MASK) {	    XAllowEvents(dpy, AsyncPointer, CurrentTime);	}     	if (wPreferences.focus_mode == WKF_CLICK) {	    if (wPreferences.ignore_focus_click) {		XAllowEvents(dpy, AsyncPointer, CurrentTime);	    }	    XAllowEvents(dpy, ReplayPointer, CurrentTime);	}	XSync(dpy, 0);    } else if (desc->parent_type == WCLASS_APPICON	       || desc->parent_type == WCLASS_MINIWINDOW	       || desc->parent_type == WCLASS_DOCK_ICON) {	if (event->xbutton.state & MOD_MASK) {	    XSync(dpy, 0);	    XAllowEvents(dpy, AsyncPointer, CurrentTime);	    XSync(dpy, 0);	}    }    /* save double-click information */    if (scr->flags.next_click_is_not_double) {	scr->flags.next_click_is_not_double = 0;    } else {	scr->last_click_time = event->xbutton.time;	scr->last_click_button = event->xbutton.button;	scr->last_click_window = event->xbutton.window;    }}