/* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
keyboard.c for the Openbox window manager
- Copyright (c) 2004 Mikael Magnusson
+ Copyright (c) 2006 Mikael Magnusson
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
}
void keyboard_interactive_end(ObInteractiveState *s,
- guint state, gboolean cancel)
+ guint state, gboolean cancel, Time time)
{
- action_run_interactive(s->actions, s->client, state, cancel, TRUE);
+ action_run_interactive(s->actions, s->client, state, time, cancel, TRUE);
g_slist_free(s->actions);
g_free(s);
cancel = done = TRUE;
}
if (done) {
- keyboard_interactive_end(s, e->xkey.state, cancel);
+ keyboard_interactive_end(s, e->xkey.state, cancel, e->xkey.time);
handled = TRUE;
} else
keyboard_reset_chains();
action_run_key(p->actions, client, e->xkey.state,
- e->xkey.x_root, e->xkey.y_root);
+ e->xkey.x_root, e->xkey.y_root,
+ e->xkey.time);
}
break;
}