On 05/12/2013 18:39, Keith Packard wrote: > Jon TURNEY writes: > >> xcb_button_press_event_t *button = (xcb_button_press_event_t *)xev; >> + KdScreenInfo *screen = screen_from_window(button->event); > > I suspect you won't want a local variable here -- when debug isn't > enabled, this variable won't be used at all, right? So, just in-line the > value each place it is used. (there are two instances of exactly this code)
Yes. Changed as suggested in v2. _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
