projects
/
xmenu
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
12af0e7
)
The README file referred to dwm
author
phillbush
<phillbush@cock.li>
Sat, 16 May 2020 21:01:14 +0000
(18:01 -0300)
committer
phillbush
<phillbush@cock.li>
Sat, 16 May 2020 21:01:14 +0000
(18:01 -0300)
README
patch
|
blob
|
blame
|
history
xmenu.c
patch
|
blob
|
blame
|
history
diff --git
a/README
b/README
index
d4dea30
..
fe95e7c
100644
(file)
--- a/
README
+++ b/
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.
In order to build xmenu you need the Xlib header files.
-Edit config.mk to match your local setu
b (dwm
is installed into the
+Edit config.mk to match your local setu
p (xmenu
is installed into the
/usr/local prefix by default). Then enter the following command to
/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
§ Running xmenu
diff --git
a/xmenu.c
b/xmenu.c
index
7aa49c6
..
88b3d53
100644
(file)
--- a/
xmenu.c
+++ b/
xmenu.c
@@
-490,12
+490,14
@@
setcurrmenu(struct Menu *currmenu_new)
lcamenu = menu;
}
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;
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);
item = NULL;
for (menu = currmenu; menu != lcamenu; menu = menu->parent) {
XMapWindow(dpy, menu->win);