Lines Matching defs:menu
63 DFHANDLER(menu)
66 * n.b.: The f.menu handler is all kinds of magic; it's actually
67 * completely unrelated to pulling up the menu.
69 * When a button/key binding invokes f.menu to open up a menu, that's
75 * move it to the right side of the menu entry.
77 * This handler is only used by "invoking" a menu item; releasing the
119 MenuRoot *menu;
122 menu = malloc(sizeof(MenuRoot));
123 *menu = *ActiveMenu;
124 menu->pinned = true;
125 menu->mapped = MRM_NEVER;
126 menu->width -= 10;
127 if(menu->pull) {
128 menu->width -= 16 + 10;
130 MakeMenu(menu);
131 ActiveMenu->pmenu = menu;
134 menu = ActiveMenu->pmenu;
136 if(menu->mapped == MRM_MAPPED) {
140 menu->x = attr.x;
141 menu->y = attr.y;
142 XMoveWindow(dpy, menu->w, menu->x, menu->y);
143 XMapRaised(dpy, menu->w);
144 menu->mapped = MRM_MAPPED;
383 * X programs which get fired up from a menu come up on the screen