浏览代码

The README file referred to dwm

master
phillbush 4 年前
父节点
当前提交
873c080ceb
共有 2 个文件被更改,包括 5 次插入5 次删除
  1. +3
    -5
      README
  2. +2
    -0
      xmenu.c

+ 3
- 5
README 查看文件

@@ -8,13 +8,11 @@ to select one of the options, and outputs the option selected to stdout.

In order to build xmenu you need the Xlib header files.

Edit config.mk to match your local setub (dwm is installed into the
Edit config.mk to match your local setup (xmenu is installed into the
/usr/local prefix by default). Then enter the following command to
build and install dwm (if necessary as root).
build and install xmenu (if necessary as root).

┌─────────────────────────────────────────────────────────────────────┐
│ make clean install │
└─────────────────────────────────────────────────────────────────────┘
make clean install


§ Running xmenu


+ 2
- 0
xmenu.c 查看文件

@@ -490,12 +490,14 @@ setcurrmenu(struct Menu *currmenu_new)
lcamenu = menu;
}

/* unmap menus from currmenu (inclusive) until lcamenu (exclusive) */
for (menu = currmenu; menu != lcamenu; menu = menu->parent) {
XUnmapWindow(dpy, menu->win);
}

currmenu = currmenu_new;

/* map menus from currmenu (inclusive) until lcamenu (exclusive) */
item = NULL;
for (menu = currmenu; menu != lcamenu; menu = menu->parent) {
XMapWindow(dpy, menu->win);


正在加载...
取消
保存