aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/xfns.c b/src/xfns.c
index c138c4cacb1..b111c120f8a 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -90,9 +90,6 @@ extern void free_frame_menubar ();
90/* X Resource data base */ 90/* X Resource data base */
91static XrmDatabase xrdb; 91static XrmDatabase xrdb;
92 92
93/* 1 if using a toolkit, 0 otherwise. */
94static int x_toolkit;
95
96/* The class of this X application. */ 93/* The class of this X application. */
97#define EMACS_CLASS "Emacs" 94#define EMACS_CLASS "Emacs"
98 95
@@ -4447,12 +4444,8 @@ or when you set the mouse color.");
4447 DEFVAR_LISP ("x-no-window-manager", &Vx_no_window_manager, 4444 DEFVAR_LISP ("x-no-window-manager", &Vx_no_window_manager,
4448 "Non-nil if no X window manager is in use."); 4445 "Non-nil if no X window manager is in use.");
4449 4446
4450 DEFVAR_BOOL ("x-toolkit", &x_toolkit,
4451 "Non-nil if this Emacs was built to use an X toolkit.");
4452#ifdef USE_X_TOOLKIT 4447#ifdef USE_X_TOOLKIT
4453 x_toolkit = 1; 4448 Fprovide (intern ("x-toolkit"));
4454#else
4455 x_toolkit = 0;
4456#endif 4449#endif
4457 4450
4458#ifdef HAVE_X11 4451#ifdef HAVE_X11