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>
#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"
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,