wlt: fix shl_hook API changes
We changed the hook_add() API but forgot to fix WLT to use the new API. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
parent
e0f798071c
commit
6a7cbd8fc0
@ -37,10 +37,10 @@
|
||||
#include <xkbcommon/xkbcommon.h>
|
||||
#include "conf.h"
|
||||
#include "eloop.h"
|
||||
#include "font.h"
|
||||
#include "log.h"
|
||||
#include "pty.h"
|
||||
#include "shl_misc.h"
|
||||
#include "text.h"
|
||||
#include "tsm_unicode.h"
|
||||
#include "tsm_screen.h"
|
||||
#include "tsm_vte.h"
|
||||
|
@ -1230,7 +1230,7 @@ int wlt_display_register_cb(struct wlt_display *disp,
|
||||
if (!disp)
|
||||
return -EINVAL;
|
||||
|
||||
return shl_hook_add_cast(disp->listeners, cb, data);
|
||||
return shl_hook_add_cast(disp->listeners, cb, data, false);
|
||||
}
|
||||
|
||||
void wlt_display_unregister_cb(struct wlt_display *disp,
|
||||
|
Loading…
x
Reference in New Issue
Block a user