On 8/7/12 10:20 AM, Eli Zaretskii wrote: > The current code could well enough use all 3 of the headers. Your new > code precludes that. > > (Yes, I know that currently including more than one means trouble, > because there will be conflicting declarations. But still, your > change sets one more obstacle to the long-term goal of allowing > several different frame types in the same session.) > > I'd like Stefan's and Chong's opinion on this before delving into the > details of this changeset. I gave this subject some thought. I'd also like to see Emacs support multiple window systems in the future, but the way to do that isn't to include more than one window-system header. Instead, it's to entirely decouple the core code from the window system entirely, moving everything necessary into frame.h itself. The right thing to do in the future is to move to including no window-system headers at all. I don't think my patch moves us further from that goal.