enum { ID_EXIT, ID_FULLSCREEN, ID_MINIMIZE, ID_RESIZE,
ID_CTRL, ID_ALT, ID_MENUKEY, ID_CTRLALTDEL,
- ID_REFRESH, ID_OPTIONS, ID_INFO, ID_ABOUT, ID_DISMISS };
+ ID_REFRESH, ID_OPTIONS, ID_INFO, ID_ABOUT };
// Used to detect fake input (0xaa is not a real key)
#ifdef WIN32
fltk_menu_add(contextMenu, p_("ContextMenu|", "Connection &info..."),
0, NULL, (void*)ID_INFO, 0);
fltk_menu_add(contextMenu, p_("ContextMenu|", "About &TigerVNC viewer..."),
- 0, NULL, (void*)ID_ABOUT, FL_MENU_DIVIDER);
-
- fltk_menu_add(contextMenu, p_("ContextMenu|", "Dismiss &menu"),
- 0, NULL, (void*)ID_DISMISS, 0);
+ 0, NULL, (void*)ID_ABOUT, 0);
}
case ID_ABOUT:
about_vncviewer();
break;
- case ID_DISMISS:
- // Don't need to do anything
- break;
}
}