mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 08:43:40 -07:00
[USE_TOOLKIT_SCROLL_BARS && USE_MOTIF]: Don't include
SscrollBarP.h.
This commit is contained in:
parent
23442ae4a3
commit
2564ea1bab
2 changed files with 5 additions and 3 deletions
|
|
@ -1,5 +1,8 @@
|
|||
2001-03-13 Gerd Moellmann <gerd@gnu.org>
|
||||
|
||||
* xterm.c [USE_TOOLKIT_SCROLL_BARS && USE_MOTIF]: Don't include
|
||||
SscrollBarP.h.
|
||||
|
||||
* xterm.c (x_set_toolkit_scroll_bar_thumb) [USE_MOTIF]: Don't
|
||||
access private scroll bar data; it's no longer necessary with
|
||||
contemporary LessTif.
|
||||
|
|
|
|||
|
|
@ -117,7 +117,6 @@ extern void _XEditResCheckMessages ();
|
|||
#if defined USE_MOTIF
|
||||
#include <Xm/Xm.h> /* for LESSTIF_VERSION */
|
||||
#include <Xm/ScrollBar.h>
|
||||
#include <Xm/ScrollBarP.h>
|
||||
#else /* !USE_MOTIF i.e. use Xaw */
|
||||
|
||||
#ifdef HAVE_XAW3D
|
||||
|
|
@ -9953,10 +9952,10 @@ XTread_socket (sd, bufp, numchars, expected)
|
|||
f = x_any_window_to_frame (dpyinfo, event.xkey.window);
|
||||
|
||||
#if defined USE_MOTIF && defined USE_TOOLKIT_SCROLL_BARS
|
||||
/* I couldn't find a way to prevent LessTif scroll bars
|
||||
from consuming key events. */
|
||||
if (f == 0)
|
||||
{
|
||||
/* Scroll bars consume key events, but we want
|
||||
the keys to go to the scroll bar's frame. */
|
||||
Widget widget = XtWindowToWidget (dpyinfo->display,
|
||||
event.xkey.window);
|
||||
if (widget && XmIsScrollBar (widget))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue