Lines Matching refs:menu_x
211 int menu_x, menu_y, menu_width, menu_height, button_height;
243 menu_x = button_x;
253 menu_x = button_x + XtWidth(w) + (XtBorderWidth(w) << 1);
254 if (menu_x + menu_width > WidthOfScreen(XtScreen(menu)))
255 menu_x = button_x - menu_width;
261 if (menu_x >= 0) {
264 if (menu_x + menu_width > scr_width)
265 menu_x = scr_width - menu_width;
267 if (menu_x < 0)
268 menu_x = 0;
271 XtSetArg(arglist[num_args], XtNx, menu_x); num_args++;