b += OUTSIDE_MARGIN;
{
- Rect const *area = screen_physical_area_all_monitors();
+ const Rect *area = screen_physical_area_all_monitors();
maxw = MIN(MAX_WIDTH, area->width*4/5);
}
if (sym == XK_Escape)
prompt_cancel(self);
- else if (sym == XK_Return || sym == XK_space)
+ else if (sym == XK_Return || sym == XK_KP_Enter || sym == XK_space)
prompt_run_callback(self, self->focus->result);
else if (sym == XK_Tab || sym == XK_Left || sym == XK_Right) {
gint i;