diff options
author | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2009-10-13 12:54:11 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-10-13 13:59:57 -0700 |
commit | 5b91dfac6fbdf35288a4558638d4923e230ab8d3 (patch) | |
tree | 238ad3888f6a40cd81d35466475e4f048fa3879a /hw/xwin/winscrinit.c | |
parent | 72f5874434c0c015b671c492c1318f35f1793668 (diff) |
Rootless: Abstract some of the Xplugin specific stuff which has crept into rootlessWindow.c
The rootless extension now directly calls some Xplugin functions, and relies
on types defined in Xplugin.h, which isn't very abstracted :-)
This patch is a start at abstracting some of the Xplugin specific stuff which
has crept into rootlessWindow.c. This has been done in a pretty mindless fashion,
without much thought as to if the additions to the generic rootless interface are
the correct ones
There is some confusion as to if RootlesscolormapCallback() returns a Bool or
xp_error_enum value (not so abstact), but I have no way of checking, of finding
out if Xplugin actually checks the result :-)
Based on patches from Colin Harrison, Jon Turney and Yaakov Selkowitz
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'hw/xwin/winscrinit.c')
-rw-r--r-- | hw/xwin/winscrinit.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/hw/xwin/winscrinit.c b/hw/xwin/winscrinit.c index eab0c6ccf..99d5a464e 100644 --- a/hw/xwin/winscrinit.c +++ b/hw/xwin/winscrinit.c @@ -58,8 +58,10 @@ winMWExtWMProcs = { winMWExtWMDamageRects, #endif winMWExtWMRootlessSwitchWindow, - NULL,//winWMExtWMDoReorderWindow, - + NULL,//winMWExtWMDoReorderWindow, + NULL,//winMWExtWMHideWindow, + NULL,//winMWExtWMUpdateColorMap, + NULL,//winMWExtWMCopyBytes, NULL,//winMWExtWMFillBytes, NULL,//winMWExtWMCompositePixels, |