diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-18 19:51:56 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-18 19:51:56 +0000 |
| commit | 598c5d6c07118517b47d7c416a79dc9743271aa8 (patch) | |
| tree | 66e56ab23f40c9bbf894c337bec7b8bd8a0950d7 /openbox/openbox.c | |
| parent | 3dfe9f4ebeb7abd8446c52db0232b9f610a78846 (diff) | |
provide functions for grabbing and ungrabbing the keyboard and pointer
Diffstat (limited to 'openbox/openbox.c')
| -rw-r--r-- | openbox/openbox.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c index bf8913bc..fd4973da 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -8,6 +8,7 @@ #include "focus.h" #include "extensions.h" #include "gettext.h" +#include "grab.h" #include "engine.h" #include "themerc.h" #include "plugin.h" @@ -137,11 +138,13 @@ int main(int argc, char **argv) screen_startup(); focus_startup(); client_startup(); + grab_startup(); plugin_startup(); /* XXX load all plugins!! */ plugin_open("focus"); plugin_open("keyboard"); + plugin_open("mouse"); /* get all the existing windows */ client_manage_all(); @@ -154,7 +157,8 @@ int main(int argc, char **argv) client_unmanage_all(); - plugin_shutdown(); + plugin_shutdown(); /* calls all the plugins' shutdown functions */ + grab_shutdown(); client_shutdown(); screen_shutdown(); event_shutdown(); |
