does SDL have any window management ?
if it has one, we could write an x server, Xlib, widget sets (e.g. Qt)
etc.
based directly on SDL. The hardware would sit now in SDL
(OGL,GGI,fbdev,…).
this would have the following advantages:
-
the access would be as “native” as possible.
(i think one aim of SDL was to provide an direct access) -
no more conflicts between some SDL backends and X-servers.
-
for local usage, the xwindow protocol is not needed anymore.
(now the xserver is loaded when it’s really needed) -
we bypass an old interface - use the newer, better one and
if we really need the old one, we emulate it.
we could port the most important widget sets (Qt, motif, …) to SDL, so
all apps which use them, go (almost) directly to SDL. with this we also
have widget set for our SDL applications.
the system which i imagine would perhaps look like this :
| remote X app | | local X app | | widget app |
|| || ||
\/ \/ \/
| SDL X Server | | local Xlib | | widget libs |
|| || ||
\/ \/ \/---------------------------------------------------
S.D.L. Library |
---|
my motto: put as much as possible on the server site …
bye,
ew.