diff options
| author | Dana Jansens <danakj@orodu.net> | 2008-03-01 01:52:38 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-03-01 01:52:38 -0500 |
| commit | a47d0a53652a96ca1df96fc9268757df1431ae55 (patch) | |
| tree | 5815a3fab5d8332a5a62b148ab9486ba28e66c15 /openbox/screen.c | |
| parent | 93a38d46bfec781ff9783c0d5ff065f7b2f2b875 (diff) | |
queue hooks so that they don't run as each thing happens, instead run them at the end. keep the openbox code paths fast.
Diffstat (limited to 'openbox/screen.c')
| -rw-r--r-- | openbox/screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/screen.c b/openbox/screen.c index 3432ac43..cd46c53b 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -710,7 +710,7 @@ 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); + hooks_queue(OB_HOOK_SCREEN_DESK_CHANGE, NULL); } void screen_add_desktop(gboolean current) |
