ARGSUSED*/
| 103 | |
| 104 | /*ARGSUSED*/ |
| 105 | static void |
| 106 | menu_size_change_handler(Widget w, XtPointer ptr, XEvent *event, Boolean *flag) |
| 107 | { |
| 108 | struct xwindow *wp = (struct xwindow *) ptr; |
| 109 | |
| 110 | nhUse(w); |
| 111 | nhUse(flag); |
| 112 | |
| 113 | if (!wp || !event) |
| 114 | return; |
| 115 | |
| 116 | if (iflags.perm_invent && wp == &window_list[WIN_INVEN] |
| 117 | && wp->menu_information->how == PICK_NONE) { |
| 118 | get_widget_window_geometry(wp->popup, |
| 119 | &wp->menu_information->permi_x, |
| 120 | &wp->menu_information->permi_y, |
| 121 | &wp->menu_information->permi_w, |
| 122 | &wp->menu_information->permi_h); |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | |
| 127 | /* |
nothing calls this directly
no test coverage detected