diff options
| author | Chong Yidong | 2010-03-15 13:16:46 -0400 |
|---|---|---|
| committer | Chong Yidong | 2010-03-15 13:16:46 -0400 |
| commit | 303500aa06fb042fb63a02858bf15bad2fc192f7 (patch) | |
| tree | d924b0c7fd9ba2656142702ff6d5b61fdaf83fe2 /src/frame.c | |
| parent | ddf5d974aa5f8cfa9348339527352ab0ddb5f12d (diff) | |
| download | emacs-303500aa06fb042fb63a02858bf15bad2fc192f7.tar.gz emacs-303500aa06fb042fb63a02858bf15bad2fc192f7.zip | |
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.
Diffstat (limited to 'src/frame.c')
| -rw-r--r-- | src/frame.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c index c779f1c5b65..40930af594c 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -4584,8 +4584,14 @@ Setting this variable does not affect existing frames, only new ones. */); | |||
| 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; |
| 4588 | #else | 4591 | #else |
| 4592 | Vdefault_frame_scroll_bars = Qleft; | ||
| 4593 | #endif | ||
| 4594 | #else | ||
| 4589 | Vdefault_frame_scroll_bars = Qnil; | 4595 | Vdefault_frame_scroll_bars = Qnil; |
| 4590 | #endif | 4596 | #endif |
| 4591 | 4597 | ||