diff options
author | Eli Zaretskii <eliz@gnu.org> | 2013-09-05 15:43:11 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-09-05 15:43:11 +0300 |
commit | 5877bb8d7e55eda3f81a36bfabe4dd816a34269f (patch) | |
tree | 779550b544f248132cd97c819070fb8aa0aa8bd7 /src/menu.c | |
parent | e7873136dd8dbacbbebf534500355d29a07fed8e (diff) | |
download | emacs-5877bb8d7e55eda3f81a36bfabe4dd816a34269f.tar.gz |
Removed unnecessary tests for GUI sessions and created menu faces.
Diffstat (limited to 'src/menu.c')
-rw-r--r-- | src/menu.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/menu.c b/src/menu.c index 2b199ffdf09..b9d1b7668b1 100644 --- a/src/menu.c +++ b/src/menu.c @@ -1077,8 +1077,6 @@ no quit occurs and `x-popup-menu' returns nil. */) { bool get_current_pos_p = 0; - check_window_system (SELECTED_FRAME ()); - /* Decode the first argument: find the window and the coordinates. */ if (EQ (position, Qt) || (CONSP (position) && (EQ (XCAR (position), Qmenu_bar) @@ -1194,11 +1192,6 @@ no quit occurs and `x-popup-menu' returns nil. */) xpos += XINT (x); ypos += XINT (y); - /* FIXME: Find a more general check! */ - if (!(FRAME_X_P (f) || FRAME_MSDOS_P (f) - || FRAME_W32_P (f) || FRAME_NS_P (f))) - error ("Can not put GUI menu on this terminal"); - XSETFRAME (Vmenu_updating_frame, f); } #endif /* HAVE_MENUS */ |