diff options
| author | Karl Heuer | 1996-07-07 23:00:30 +0000 |
|---|---|---|
| committer | Karl Heuer | 1996-07-07 23:00:30 +0000 |
| commit | 0d7ed720123a8df22d6a690efdb98976d14c82b5 (patch) | |
| tree | bc0b83b9d6242064ace9d23068fa0ac4c7e7f87f | |
| parent | aaca4aca35da113499d0fa2270dd6b226831c74c (diff) | |
| download | emacs-0d7ed720123a8df22d6a690efdb98976d14c82b5.tar.gz emacs-0d7ed720123a8df22d6a690efdb98976d14c82b5.zip | |
Undo previous change.
| -rw-r--r-- | lwlib/lwlib-Xm.c | 12 | ||||
| -rw-r--r-- | lwlib/lwlib.c | 13 | ||||
| -rw-r--r-- | lwlib/lwlib.h | 3 |
3 files changed, 0 insertions, 28 deletions
diff --git a/lwlib/lwlib-Xm.c b/lwlib/lwlib-Xm.c index 5df98c1d684..57e4b4a2ca5 100644 --- a/lwlib/lwlib-Xm.c +++ b/lwlib/lwlib-Xm.c | |||
| @@ -119,18 +119,6 @@ first_child (widget) | |||
| 119 | } | 119 | } |
| 120 | 120 | ||
| 121 | Boolean | 121 | Boolean |
| 122 | lw_motif_menu_related_event_p (event) | ||
| 123 | XEvent event; | ||
| 124 | { | ||
| 125 | Widget widget = XtWindowToWidget (event.xkey.display,event.xkey.window); | ||
| 126 | WidgetClass class = XtClass (widget); | ||
| 127 | return | ||
| 128 | class == xmMainWindowWidgetClass | ||
| 129 | || class == xmRowColumnWidgetClass | ||
| 130 | || class == xmMenuShellWidgetClass; | ||
| 131 | } | ||
| 132 | |||
| 133 | Boolean | ||
| 134 | lw_motif_widget_p (widget) | 122 | lw_motif_widget_p (widget) |
| 135 | Widget widget; | 123 | Widget widget; |
| 136 | { | 124 | { |
diff --git a/lwlib/lwlib.c b/lwlib/lwlib.c index 9dea80131ed..aea3c3b87ca 100644 --- a/lwlib/lwlib.c +++ b/lwlib/lwlib.c | |||
| @@ -1379,16 +1379,3 @@ lw_allow_resizing (w, flag) | |||
| 1379 | xm_manage_resizing (w, flag); | 1379 | xm_manage_resizing (w, flag); |
| 1380 | #endif | 1380 | #endif |
| 1381 | } | 1381 | } |
| 1382 | |||
| 1383 | /* Check to see if event should be ignored by Emacs */ | ||
| 1384 | Boolean | ||
| 1385 | lw_toolkit_related_event_p (event) | ||
| 1386 | XEvent *event; | ||
| 1387 | { | ||
| 1388 | #if defined (USE_MOTIF) | ||
| 1389 | return lw_motif_menu_related_event_p (event); | ||
| 1390 | #else | ||
| 1391 | return False; | ||
| 1392 | #endif | ||
| 1393 | } | ||
| 1394 | |||
diff --git a/lwlib/lwlib.h b/lwlib/lwlib.h index 8b37cdbb005..6bf26fe23c4 100644 --- a/lwlib/lwlib.h +++ b/lwlib/lwlib.h | |||
| @@ -119,7 +119,4 @@ void lw_set_main_areas (/* Widget parent, | |||
| 119 | Widget menubar, | 119 | Widget menubar, |
| 120 | Widget work_area */); | 120 | Widget work_area */); |
| 121 | 121 | ||
| 122 | /* Check to see if event should be ignored by Emacs */ | ||
| 123 | Boolean lw_toolkit_related_event_p (/* XEvent event */); | ||
| 124 | |||
| 125 | #endif /* LWLIB_H */ | 122 | #endif /* LWLIB_H */ |