diff --git a/src/screen_interface.h b/src/screen_interface.h
index 82962420f8c064ce11a90ae3e14e6e7b2910d31d..e11813a10f88ca1395ae773d63d9164faf2758da 100644 (file)
--- a/src/screen_interface.h
+++ b/src/screen_interface.h
*/
bool (*cmd)(struct mpdclient *c, command_t cmd);
+#ifdef HAVE_GETMOUSE
+ /**
+ * Handle a mouse event.
+ *
+ * @return true if the event was handled (and should not be
+ * handled by the ncmpc core)
+ */
+ bool (*mouse)(struct mpdclient *c, int x, int y, mmask_t bstate);
+#endif
+
const char *(*get_title)(char *s, size_t size);
};