Mercurial > hg > xemacs-beta
comparison src/console-x.c @ 380:8626e4521993 r21-2-5
Import from CVS: tag r21-2-5
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:07:10 +0200 |
parents | c5d627a313b1 |
children | 74fd4e045ea6 |
comparison
equal
deleted
inserted
replaced
379:76b7d63099ad | 380:8626e4521993 |
---|---|
102 static Lisp_Object | 102 static Lisp_Object |
103 get_display_arg_connection (void) | 103 get_display_arg_connection (void) |
104 { | 104 { |
105 CONST char *disp_name; | 105 CONST char *disp_name; |
106 | 106 |
107 /* If the user didn't explicitly specifify a display to use when | 107 /* If the user didn't explicitly specify a display to use when |
108 they called make-x-device, then we first check to see if a | 108 they called make-x-device, then we first check to see if a |
109 display was specified on the command line with -display. If | 109 display was specified on the command line with -display. If |
110 so, we set disp_name to it. Otherwise we use XDisplayName to | 110 so, we set disp_name to it. Otherwise we use XDisplayName to |
111 see what DISPLAY is set to. XtOpenDisplay knows how to do | 111 see what DISPLAY is set to. XtOpenDisplay knows how to do |
112 both of these things, but we need to know the name to use. */ | 112 both of these things, but we need to know the name to use. */ |