scrollbar handling by X11
Looking up scrollbars did not work as intended. The code wanted an ancestor widget that had both horizontal and vertical scrollbars, but menus either have none or just vertical. The lookup code found some top level widget and returned bad data.
This commit is contained in:
@@ -332,7 +332,7 @@ extern void highlight_yn(boolean);
|
||||
extern void nh_XtPopup(Widget, int, Widget);
|
||||
extern void nh_XtPopdown(Widget);
|
||||
extern void win_X11_init(int);
|
||||
extern void find_scrollbars(Widget, Widget *, Widget *);
|
||||
extern void find_scrollbars(Widget, Widget, Widget *, Widget *);
|
||||
extern void nh_keyscroll(Widget, XEvent *, String *, Cardinal *);
|
||||
|
||||
/* ### winmesg.c ### */
|
||||
|
||||
Reference in New Issue
Block a user