diff options
Diffstat (limited to 'matchbox/mb-wm-comp-mgr.c')
-rw-r--r-- | matchbox/mb-wm-comp-mgr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/matchbox/mb-wm-comp-mgr.c b/matchbox/mb-wm-comp-mgr.c index 4ce51a6..ce69eb8 100644 --- a/matchbox/mb-wm-comp-mgr.c +++ b/matchbox/mb-wm-comp-mgr.c @@ -439,7 +439,7 @@ mb_wm_comp_mgr_turn_on (MBWMCompMgr *mgr) klass->turn_on (mgr); mgr->damage_cb_id = - mb_wm_main_context_x_event_handler_add (wm->main_ctx, + mb_wm_manager_add_event_handler (wm, None, wm->damage_event_base + XDamageNotify, (MBWMXEventFunc)klass->handle_damage, @@ -458,7 +458,7 @@ mb_wm_comp_mgr_turn_off (MBWMCompMgr *mgr) MBWM_ASSERT (klass->turn_off != NULL); klass->turn_off (mgr); - mb_wm_main_context_x_event_handler_remove (wm->main_ctx, + mb_wm_manager_remove_event_handler (wm, wm->damage_event_base + XDamageNotify, mgr->damage_cb_id); |