davidh@dent.Berkeley.EDU (David S. Harrison) (02/04/89)
Under X10, I used to use the DisplayType() macro determine the device type. This information was used to allow a user to customize color and stipple patterns based on a particular device. I can't find an equivalent call or macro under X11. The ServerVendor() macro appears to return information about the vendor only (no information about the display the server is driving). Is there such a call or has this concept been dropped? David Harrison UC Berkeley Electronics Research Lab (davidh@ic.Berkeley.EDU, ...!ucbvax!ucbcad!davidh)
rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (02/04/89)
There is no explicit provision for "device type" in X11. One of the reasons is that we didn't want to be in the business of acting as registrar for all the world's devices. The other is that it's really the wrong kind of information for most purposes (but I'd have a hard time giving you any spec for what the right information is :-). Vendors can embed device information in the vendor string; whether any do, I don't know.