> 
> Since everything seems to have compiled except documentation, I went
> ahead installing CDE.
> 
> Back to lightdm and I login to CDE. Desktop starts (it goes past the
> dthello)
> and starts the panel, the help viewer and in a couple of seconds it crashes.
> It freezes.
> 
> Is it possible it was that old Xorg bug that makes it freeze? How do I fix?
I'd guarantee it.

This is what the "lucid" branch at git://github.com/idunham/cdesktop is about.  
(Full diff attached)

Here's the diff that's relevant (based on the mwm workaround):

diff --git a/cde/programs/dtwm/WmKeyFocus.c b/cde/programs/dtwm/WmKeyFocus.c
index 3c50400..e3c3244 100644
--- a/cde/programs/dtwm/WmKeyFocus.c
+++ b/cde/programs/dtwm/WmKeyFocus.c
@@ -420,7 +420,7 @@ void DoExplicitSelectGrab (Window window)
 {
 
     WmGrabButton (DISPLAY, FOCUS_SELECT_BUTTON, 0, window,
-       False, ButtonReleaseMask, GrabModeSync, GrabModeSync, None,
+       False, ButtonReleaseMask | ButtonPressMask, GrabModeSync, GrabModeSync, 
        None);
 
 } /* END OF FUNCTION DoExplicitSelectGrab */
diff --git a/cde/.gitignore b/cde/.gitignore
index c266566..a34ee55 100644
--- a/cde/.gitignore
+++ b/cde/.gitignore
@@ -58,6 +58,7 @@ installCDE
 updateCDE
 
 installCDE.*.log
+*.log
 
 cscope.out
 
diff --git a/cde/programs/dtlogin/config/Xconfig.src b/cde/programs/dtlogin/config/Xconfig.src
index 16cbe4b..cd6f8b4 100644
--- a/cde/programs/dtlogin/config/Xconfig.src
+++ b/cde/programs/dtlogin/config/Xconfig.src
@@ -135,9 +135,7 @@ XCOMM  To specify a default user PATH environment variable.
 XCOMM
 XCOMM  Dtlogin*userPath:          <path>
 
-#if defined(linux)
-Dtlogin*userPath:          /bin:/usr/bin:/sbin:/usr/sbin:/usr/dt/bin
-#elif defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED)
 Dtlogin*userPath:          /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/dt/bin
 #endif
 
diff --git a/cde/programs/dtwm/WmKeyFocus.c b/cde/programs/dtwm/WmKeyFocus.c
index 3c50400..e3c3244 100644
--- a/cde/programs/dtwm/WmKeyFocus.c
+++ b/cde/programs/dtwm/WmKeyFocus.c
@@ -420,7 +420,7 @@ void DoExplicitSelectGrab (Window window)
 {
 
     WmGrabButton (DISPLAY, FOCUS_SELECT_BUTTON, 0, window,
-	False, ButtonReleaseMask, GrabModeSync, GrabModeSync, None,
+	False, ButtonReleaseMask | ButtonPressMask, GrabModeSync, GrabModeSync, None,
 	None);
 
 } /* END OF FUNCTION DoExplicitSelectGrab */
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to