diff options
| author | Dana Jansens <danakj@orodu.net> | 2008-02-29 23:34:28 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-02-29 23:40:02 -0500 |
| commit | 985e7dadf9a3ebf4bd265d955c3198e96405e5d2 (patch) | |
| tree | 3e5f020b19a6f54d2439f340d3b18295d80105ee /openbox/screen.c | |
| parent | db781556d63d1a50bd1b1b4b6b5423ef703bf2c7 (diff) | |
change some of the hooks, and add all the hooks to the code so that they run
Diffstat (limited to 'openbox/screen.c')
| -rw-r--r-- | openbox/screen.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbox/screen.c b/openbox/screen.c index 60638a83..3432ac43 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -31,6 +31,7 @@ #include "event.h" #include "focus.h" #include "popup.h" +#include "hooks.h" #include "render/render.h" #include "gettext.h" #include "obt/display.h" @@ -708,6 +709,8 @@ void screen_set_desktop(guint num, gboolean dofocus) if (event_curtime != CurrentTime) screen_desktop_user_time = event_curtime; + + hooks_run(OB_HOOK_SCREEN_DESK_CHANGE, NULL); } void screen_add_desktop(gboolean current) |
