mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-05 21:34:17 +01:00
added option to disable switchpanel
fixed some bugs
This commit is contained in:
@@ -75,7 +75,9 @@ which1()
|
||||
# Expand macros if necessary.
|
||||
# Create a temp copy of the menu file to edit to turn into the new.
|
||||
#
|
||||
T=/tmp/wmmenu$$
|
||||
TD=$(/bin/mktemp -d /tmp/wmmenu.XXXXXX) || { echo "$0: can not create temporary file" >& 2; exit 1; }
|
||||
T=$TD/wmmenu$$
|
||||
|
||||
echo "Converting $GLW/$OLD_MENU --> $GD/$NEW_MENU"
|
||||
cd $WLW || exit 1
|
||||
if [ ! -s "$OLD_MENU" ]
|
||||
@@ -198,7 +200,8 @@ END {
|
||||
}
|
||||
' > $WD/$NEW_MENU.new || exit 1
|
||||
|
||||
rm $T
|
||||
rm -f $T
|
||||
rm -fr $TD
|
||||
|
||||
#
|
||||
# Now install it.
|
||||
|
||||
@@ -557,6 +557,7 @@ parseTexture(RContext *rc, char *text)
|
||||
case 'C':
|
||||
{
|
||||
Pixmap tpixmap = XCreatePixmap( dpy, root, scrWidth, scrHeight, DefaultDepth(dpy, scr));
|
||||
XSetForeground(dpy, DefaultGC(dpy, scr), color.pixel);
|
||||
XFillRectangle(dpy, tpixmap, DefaultGC(dpy, scr), 0, 0, scrWidth, scrHeight);
|
||||
|
||||
texture->pixmap = tpixmap;
|
||||
|
||||
Reference in New Issue
Block a user