On Mon, May 28, 2007 at 12:25:09AM +0900, Jun OKAJIMA wrote:
>
> Hello DirectFB guys.
>
> For current XDirectFB, it needs --enable-multi for DirectFB lib.
> And, current DirectFB lib ( > 0.9.15 ) needs fusion.ko for --enable-multi.
> It makes installing XDirectFB a bit difficult.
> People dont like to recompile a kernel.
There's no need to recompile the kernel, just compile fusion.ko for your
current kernel.
> What I want to do is, using XDirectFB without fusion.ko.
Only thing needed is to disable to clipboard code. Actually I did just
just that on my desktop system because the clipboard code seems to break
primary selection for X apps. Unfortunately that disables cut/paste
between DirectFB and X apps.
I've attached the patch.
--
Ville Syrjälä
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/
diff --git a/programs/Xserver/hw/directfb/directfbScreen.c
b/programs/Xserver/hw/directfb/directfbScreen.c
index 25e5e55..63abd9e 100644
--- a/programs/Xserver/hw/directfb/directfbScreen.c
+++ b/programs/Xserver/hw/directfb/directfbScreen.c
@@ -453,6 +453,7 @@ XDirectFBInitOutput (int argc,
if (dfb)
return TRUE;
+#if 0
/* Initialize the clipboard manager */
if (!XDirectFBClipboardInit()) {
ErrorF ("XDirectFBInitOutput - XDirectFBClipboardInit () failed.\n");
@@ -461,6 +462,7 @@ XDirectFBInitOutput (int argc,
direct_initialize();
direct_signal_handler_add( -1, XDirectFBSignalHandler, NULL,
&signal_handler );
+#endif
/* Pass command line for parsing */
ret = DirectFBInit (&argc, &argv);
@@ -514,7 +516,9 @@ XDirectFBCloseOutput()
if (!dfb)
return;
+#if 0
XDirectFBClipboardExit();
+#endif
/* Release event buffer */
dfbEvents->Release (dfbEvents);
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev