summaryrefslogtreecommitdiff
path: root/src/ui/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/util.h')
-rw-r--r--src/ui/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/util.h b/src/ui/util.h
index 96e08e95..9e45f369 100644
--- a/src/ui/util.h
+++ b/src/ui/util.h
@@ -39,6 +39,9 @@ const char * command_UserEvent (const SDL_Event *);
39iLocalDef iBool isResize_UserEvent(const SDL_Event *d) { 39iLocalDef iBool isResize_UserEvent(const SDL_Event *d) {
40 return isCommand_UserEvent(d, "window.resized"); 40 return isCommand_UserEvent(d, "window.resized");
41} 41}
42iLocalDef iBool isMetricsChange_UserEvent(const SDL_Event *d) {
43 return isCommand_UserEvent(d, "metrics.changed");
44}
42 45
43#if defined (iPlatformApple) 46#if defined (iPlatformApple)
44# define KMOD_PRIMARY KMOD_GUI 47# define KMOD_PRIMARY KMOD_GUI