Mercurial > hg > xemacs-beta
comparison src/device.c @ 545:9a775fb11bb7
[xemacs-hg @ 2001-05-18 04:39:39 by kkm]
My 3 patches of 05/01-05/03
author | kkm |
---|---|
date | Fri, 18 May 2001 04:39:44 +0000 |
parents | 0784d089fdc9 |
children | 183866b06e0b |
comparison
equal
deleted
inserted
replaced
544:ffd4d00ff0b6 | 545:9a775fb11bb7 |
---|---|
1173 { | 1173 { |
1174 /* This cannot GC */ | 1174 /* This cannot GC */ |
1175 Lisp_Object winsy = domain_device_type (domain); | 1175 Lisp_Object winsy = domain_device_type (domain); |
1176 struct console_methods *meth = decode_console_type (winsy, ERROR_ME_NOT); | 1176 struct console_methods *meth = decode_console_type (winsy, ERROR_ME_NOT); |
1177 assert (meth); | 1177 assert (meth); |
1178 return (MAYBE_INT_CONTYPE_METH (meth, device_implementation_flags, ()) | 1178 return CONMETH_IMPL_FLAG (meth, XDEVIMPF_PIXEL_GEOMETRY); |
1179 & XDEVIMPF_PIXEL_GEOMETRY); | |
1180 } | 1179 } |
1181 | 1180 |
1182 DEFUN ("domain-device-type", Fdomain_device_type, 0, 1, 0, /* | 1181 DEFUN ("domain-device-type", Fdomain_device_type, 0, 1, 0, /* |
1183 Return the device type symbol for a DOMAIN, e.g. 'x or 'tty. | 1182 Return the device type symbol for a DOMAIN, e.g. 'x or 'tty. |
1184 DOMAIN can be either a window, frame, device or console. | 1183 DOMAIN can be either a window, frame, device or console. |