aboutsummaryrefslogtreecommitdiffstats
path: root/src/androidgui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/androidgui.h')
-rw-r--r--src/androidgui.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/androidgui.h b/src/androidgui.h
index 8450a1f637b..0e075fda95e 100644
--- a/src/androidgui.h
+++ b/src/androidgui.h
@@ -233,6 +233,7 @@ enum android_event_type
233 ANDROID_WHEEL, 233 ANDROID_WHEEL,
234 ANDROID_ICONIFIED, 234 ANDROID_ICONIFIED,
235 ANDROID_DEICONIFIED, 235 ANDROID_DEICONIFIED,
236 ANDROID_CONTEXT_MENU,
236 }; 237 };
237 238
238struct android_any_event 239struct android_any_event
@@ -371,6 +372,18 @@ struct android_iconify_event
371 android_window window; 372 android_window window;
372}; 373};
373 374
375struct android_menu_event
376{
377 /* Type of the event. */
378 enum android_event_type type;
379
380 /* Window associated with the event. Always None. */
381 android_window window;
382
383 /* Menu event ID. */
384 int menu_event_id;
385};
386
374union android_event 387union android_event
375{ 388{
376 enum android_event_type type; 389 enum android_event_type type;
@@ -395,6 +408,9 @@ union android_event
395 /* This has no parallel in X because Android doesn't have window 408 /* This has no parallel in X because Android doesn't have window
396 properties. */ 409 properties. */
397 struct android_iconify_event iconified; 410 struct android_iconify_event iconified;
411
412 /* This is only used to transmit selected menu items. */
413 struct android_menu_event menu;
398}; 414};
399 415
400enum 416enum