Fixed a bug in the bsetroot build that caused really strange behaviour
This commit is contained in:
parent
a619b3d1c8
commit
b7fa41a30b
3 changed files with 5 additions and 2 deletions
|
@ -379,6 +379,9 @@ BaseDisplay::BaseDisplay(char *app_name, char *dpy_name) {
|
||||||
MaskListLength = sizeof(MaskList) / sizeof(MaskList[0]);
|
MaskListLength = sizeof(MaskList) / sizeof(MaskList[0]);
|
||||||
|
|
||||||
if (modmap) XFreeModifiermap(const_cast<XModifierKeymap*>(modmap));
|
if (modmap) XFreeModifiermap(const_cast<XModifierKeymap*>(modmap));
|
||||||
|
#else
|
||||||
|
NumLockMask = Mod2Mask;
|
||||||
|
ScrollLockMask = Mod5Mask;
|
||||||
#endif // NOCLOBBER
|
#endif // NOCLOBBER
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# util/Makefile.am for Openbox
|
# util/Makefile.am for Openbox
|
||||||
|
|
||||||
CPPFLAGS= @CPPFLAGS@ @DEBUG@ @NLS@ @TIMEDCACHE@ @NEWWMSPEC@ @INTERLACE@ \
|
CPPFLAGS= @CPPFLAGS@ @DEBUG@ @NLS@ @TIMEDCACHE@ @NEWWMSPEC@ @INTERLACE@ \
|
||||||
@ORDEREDPSEUDO@
|
@ORDEREDPSEUDO@ @CLOBBER@
|
||||||
|
|
||||||
bin_SCRIPTS = bsetbg
|
bin_SCRIPTS = bsetbg
|
||||||
bin_PROGRAMS = bsetroot
|
bin_PROGRAMS = bsetroot
|
||||||
|
|
|
@ -77,7 +77,7 @@ VERSION = @VERSION@
|
||||||
gencat_cmd = @gencat_cmd@
|
gencat_cmd = @gencat_cmd@
|
||||||
regex_cmd = @regex_cmd@
|
regex_cmd = @regex_cmd@
|
||||||
|
|
||||||
CPPFLAGS = @CPPFLAGS@ @DEBUG@ @NLS@ @TIMEDCACHE@ @NEWWMSPEC@ @INTERLACE@ @ORDEREDPSEUDO@
|
CPPFLAGS = @CPPFLAGS@ @DEBUG@ @NLS@ @TIMEDCACHE@ @NEWWMSPEC@ @INTERLACE@ @ORDEREDPSEUDO@ @CLOBBER@
|
||||||
|
|
||||||
|
|
||||||
bin_SCRIPTS = bsetbg
|
bin_SCRIPTS = bsetbg
|
||||||
|
|
Loading…
Reference in a new issue