Mercurial > hg > xemacs-beta
diff src/scrollbar-x.c @ 201:eb5470882647 r20-3b27
Import from CVS: tag r20-3b27
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:01:22 +0200 |
parents | 3d6bfa290dbd |
children | c5d627a313b1 |
line wrap: on
line diff
--- a/src/scrollbar-x.c Mon Aug 13 10:00:35 2007 +0200 +++ b/src/scrollbar-x.c Mon Aug 13 10:01:22 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)); } }