Mercurial > emacs
comparison src/frame.c @ 107395:05f285327bae
Put non-GTK X scroll-bars on left.
* xfns.c (Fx_create_frame):
* frame.c (Vdefault_frame_scroll_bars): Put non-GTK X scroll-bars on left.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Mon, 15 Mar 2010 13:16:46 -0400 |
parents | f5c46cf84e9f |
children | 75e87467a0db |
comparison
equal
deleted
inserted
replaced
107394:e4adbc6451e9 | 107395:05f285327bae |
---|---|
4582 Vdefault_frame_alist = Qnil; | 4582 Vdefault_frame_alist = Qnil; |
4583 | 4583 |
4584 DEFVAR_LISP ("default-frame-scroll-bars", &Vdefault_frame_scroll_bars, | 4584 DEFVAR_LISP ("default-frame-scroll-bars", &Vdefault_frame_scroll_bars, |
4585 doc: /* Default position of scroll bars on this window-system. */); | 4585 doc: /* Default position of scroll bars on this window-system. */); |
4586 #ifdef HAVE_WINDOW_SYSTEM | 4586 #ifdef HAVE_WINDOW_SYSTEM |
4587 #if defined(HAVE_NTGUI) || defined(NS_IMPL_COCOA) || (defined(USE_GTK) && defined(USE_TOOLKIT_SCROLL_BARS)) | |
4588 /* MS-Windows, Mac OS X, and GTK have scroll bars on the right by | |
4589 default. */ | |
4587 Vdefault_frame_scroll_bars = Qright; | 4590 Vdefault_frame_scroll_bars = Qright; |
4591 #else | |
4592 Vdefault_frame_scroll_bars = Qleft; | |
4593 #endif | |
4588 #else | 4594 #else |
4589 Vdefault_frame_scroll_bars = Qnil; | 4595 Vdefault_frame_scroll_bars = Qnil; |
4590 #endif | 4596 #endif |
4591 | 4597 |
4592 DEFVAR_LISP ("terminal-frame", &Vterminal_frame, | 4598 DEFVAR_LISP ("terminal-frame", &Vterminal_frame, |