export if an interactive grab is in progress
This commit is contained in:
parent
5f5160b40c
commit
0aa7f70d91
2 changed files with 6 additions and 0 deletions
|
@ -155,6 +155,11 @@ gboolean keyboard_bind(GList *keylist, ObAction *action)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
gboolean keyboard_interactive_grab_in_progress()
|
||||
{
|
||||
return interactive_states != NULL;
|
||||
}
|
||||
|
||||
void keyboard_interactive_grab(guint state, ObClient *client,
|
||||
ObAction *action)
|
||||
{
|
||||
|
|
|
@ -43,6 +43,7 @@ void keyboard_interactive_grab(guint state, struct _ObClient *client,
|
|||
struct _ObAction *action);
|
||||
gboolean keyboard_process_interactive_grab(const XEvent *e,
|
||||
struct _ObClient **client);
|
||||
gboolean keyboard_interactive_grab_in_progress();
|
||||
|
||||
void keyboard_grab_for_client(struct _ObClient *c, gboolean grab);
|
||||
|
||||
|
|
Loading…
Reference in a new issue