comparison src/console.h @ 3360:316fddbf58e2

[xemacs-hg @ 2006-04-25 14:01:52 by stephent] Repair broken commit to Xft code. <87aca9n4in.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Tue, 25 Apr 2006 14:02:09 +0000
parents da8cdcec6dff
children aa5ed11f473b
comparison
equal deleted inserted replaced
3359:af8dab703edc 3360:316fddbf58e2
26 #define INCLUDED_console_h_ 26 #define INCLUDED_console_h_
27 27
28 /* Devices and consoles are similar entities. The idea is that 28 /* Devices and consoles are similar entities. The idea is that
29 a console represents a physical keyboard/mouse/other-input-source 29 a console represents a physical keyboard/mouse/other-input-source
30 while a device represents a display where frames appear on. 30 while a device represents a display where frames appear on.
31 Nowadays "multi-headed" displays with multiple physical screens
32 are becoming familiar; in the XEmacs nomenclature, this maps to a
33 "console" supporting multiple "devices".
34
31 In the X world, a console is a "Display" while a device is a 35 In the X world, a console is a "Display" while a device is a
32 "Screen". Implementationally, it can sometimes get confusing: 36 "Screen". Implementationally, it can sometimes get confusing:
33 under X, multiple devices on a single console are different 37 under X, multiple devices on a single console are different
34 "Display" connections to what is in reality the same Display on 38 "Display" connections to what is in reality the same Display on
35 the same server. Because of this, input comes from the device 39 the same server. Furthermore, in the X model input comes from the
36 and not from the console. This is OK because events are basically 40 device and not from the console. This causes no confusion because
37 always tagged to a particular X window (i.e. frame), 41 events are basically always tagged to a particular X window (i.e.
38 which exists on only one screen; therefore the event won't be 42 frame), which exists on only one screen; therefore the event won't
39 reported multiple times even if there are multiple devices on 43 be reported multiple times even if there are multiple devices on
40 the same physical display. This is an implementation detail 44 the same physical display.
41 specific to X consoles (e.g. under NeXTstep or Windows, this 45
42 could be different, and input would come directly from the console). 46 This is an implementation detail specific to X consoles (e.g. under
47 NeXTstep or Windows, this could be different, and input would come
48 directly from the console).
43 */ 49 */
44
45 50
46 /* GCC does not like forward enum declaration. This needs to be 51 /* GCC does not like forward enum declaration. This needs to be
47 defined here. What a disgust! */ 52 defined here. What a disgust! */
48 53
49 enum console_variant 54 enum console_variant