projects
/
mikachu
/
openbox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add Lock action.
[mikachu/openbox.git]
/
openbox
/
actions.c
diff --git
a/openbox/actions.c
b/openbox/actions.c
index
bf00c6c
..
fa8ba24
100644
(file)
--- a/
openbox/actions.c
+++ b/
openbox/actions.c
@@
-502,3
+502,10
@@
void actions_client_move(ObActionsData *data, gboolean start)
event_end_ignore_all_enters(ignore_start);
}
}
+
+gboolean actions_client_locked(ObActionsData *data)
+{
+ ObClient *c = data->client;
+
+ return c && c->locked;
+}