diff src/scrollbar-x.c @ 62:28a7c63c7e1e r19-16-pre6

Import from CVS: tag r19-16-pre6
author cvs
date Mon, 13 Aug 2007 08:59:13 +0200
parents 441bb1e64a06
children 131b0175ea99
line wrap: on
line diff
--- a/src/scrollbar-x.c	Mon Aug 13 08:59:00 2007 +0200
+++ b/src/scrollbar-x.c	Mon Aug 13 08:59:13 2007 +0200
@@ -287,6 +287,11 @@
     }
   else if (managed)
     {
+#if defined (LWLIB_SCROLLBARS_MOTIF) || defined (LWLIB_SCROLLBARS_LUCID)
+      /* This isn't needed with Athena Scrollbars.  It might not be needed */
+      /* with Motif scrollbars (it is apparently needed with Lesstif). */
+      XtUngrabKeyboard (SCROLLBAR_X_WIDGET (instance), CurrentTime);
+#endif
       XtUnmanageChild (SCROLLBAR_X_WIDGET (instance));
     }
 }