rem: scr->last_click_window = None;
add: scr->last_click_window = event->xbutton.window;
context: IsDoubleClick(WScreen *scr, XEvent *event){    if ((scr->last_click_time>0) && 	(event->xbutton.time-scr->last_click_time<=wPreferences.dblclick_time)	&& (event->xbutton.button == scr->last_click_button)	&& (event->xbutton.subwindow == scr->last_click_window)) {	scr->flags.next_click_is_not_double = 1;	scr->last_click_time = 0;	scr->last_click_window = None;	return True;    }    return False;}