diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/cookie_manager.c | 2 | ||||
-rw-r--r-- | desktop/cookie_manager.h | 4 | ||||
-rw-r--r-- | desktop/mouse.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/desktop/cookie_manager.c b/desktop/cookie_manager.c index 13c6ac93b..800e97ddf 100644 --- a/desktop/cookie_manager.c +++ b/desktop/cookie_manager.c @@ -836,7 +836,7 @@ void cookie_manager_redraw(int x, int y, struct rect *clip, /* Exported interface, documented in cookie_manager.h */ -void cookie_manager_mouse_action(browser_mouse_state mouse, int x, int y) +void cookie_manager_mouse_action(enum browser_mouse_state mouse, int x, int y) { treeview_mouse_action(cm_ctx.tree, mouse, x, y); } diff --git a/desktop/cookie_manager.h b/desktop/cookie_manager.h index aa61a3e65..3565caf63 100644 --- a/desktop/cookie_manager.h +++ b/desktop/cookie_manager.h @@ -26,12 +26,12 @@ #include <stdbool.h> #include <stdint.h> -#include "desktop/browser.h" #include "desktop/core_window.h" #include "desktop/textinput.h" #include "utils/errors.h" struct cookie_data; +enum browser_mouse_state; /** * Initialise the cookie manager. @@ -92,7 +92,7 @@ void cookie_manager_redraw(int x, int y, struct rect *clip, * \param x X coordinate * \param y Y coordinate */ -void cookie_manager_mouse_action(browser_mouse_state mouse, int x, int y); +void cookie_manager_mouse_action(enum browser_mouse_state mouse, int x, int y); /** * Key press handling. diff --git a/desktop/mouse.h b/desktop/mouse.h index 9a3a16702..bec221bb8 100644 --- a/desktop/mouse.h +++ b/desktop/mouse.h @@ -27,7 +27,7 @@ /* Mouse state. 1 is primary mouse button (e.g. Select on RISC OS). * 2 is secondary mouse button (e.g. Adjust on RISC OS). */ -typedef enum { +typedef enum browser_mouse_state { BROWSER_MOUSE_HOVER = 0, /* No mouse buttons pressed, * May be used to indicate * hover or end of drag. */ |