"Stephen J. Turnbull" <stephen(a)xemacs.org> writes:
>>>>> "Jan" == Jan Rychter
<jan(a)rychter.com> writes:
Sinisa> GTK+ 2.* has been fully ported to DirectFB, so when XEmacs
Sinisa> can be built with GTK only , or almost only, I will be
Sinisa> glad to try to provide patches.
Jan> Hmm. That could actually mean I could get rid of X
Jan> alltogether for most of my work. Interesting.
I think this is unlikely in the near future; AFAIK there is a lot of
direct-to-X code left in the GTK port. I wouldn't mind being proved
wrong, though. ;-)
There is some left, but not a whole lot. With Gtk2 I think the vast
majority can be removed. Currently there is some for:
- Exporting the X id of a frame to lisp - I think this should just be nuked
- Implementing set-mouse-position - should be fixed in gtk2
- Getting the device fd (can make this X specific)
- Modifier checking for correct alt/meta/hyper/super handling. Not sure
how gtk2 handles this.
- colorize_image_instance code. Need XCopyPlane - maybe in gtk2
- MULE font stuff (find_charset_font) - will be radically different in gtk2
- To reduce flicker I use my own draw routines that calls XDrawImageString.
This may be fixed in gtk2 - they did a lot of work in this area.
-bp
--
Ceterum censeo vi esse delendam