about summary refs log tree commit diff
path: root/parse.y
diff options
context:
space:
mode:
authorokan <okan>2018-11-14 19:22:51 +0000
committerokan <okan>2018-11-14 19:22:51 +0000
commit544b4da339347c75f56ca2229ffddb4bdcf86fa0 (patch)
tree2ec8dc8dd2c5f3cd82d7f99e54b7ef7dd20773c8 /parse.y
parentb4d4eba6afbc58d0a242e14a342cc42d1529bdfe (diff)
parent695eb1d8e52c8498afe342ec8ecd404fbffb9e1c (diff)
downloadcwm-544b4da339347c75f56ca2229ffddb4bdcf86fa0.tar.gz
cwm-544b4da339347c75f56ca2229ffddb4bdcf86fa0.tar.xz
cwm-544b4da339347c75f56ca2229ffddb4bdcf86fa0.zip
cvsimport
* refs/heads/master:
  Stop asking for events (NoEventMask) from menu window once done with the menu (we don't destroy it, only unmap).
  Allow 'transientfor' clients to inherit group and bwidth either during init or via property notify events. Previously only the flags were set but nothing was in the path to apply said flags and/or bwidth. Required slight of re-orgnaization of client_init.
  merge from base, from sashan@:
  Use the original client border width to adjust initial placement of clients containing {P,US}Position requests where they are explicitly set to 'ignore' in cwmrc(5); clients are unaware that their border will be altered (removed in this case) when calcuating position and thus end up a factor of their original border width off once mapped by cwm(1). cwm(1) will essentially shift the client to the edge if the original request's position and border match.
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index e9dce3a..6af67dc 100644
--- a/parse.y
+++ b/parse.y
@@ -469,7 +469,8 @@ yylex(void)
 			} else if (c == '\\') {
 				if ((next = lgetc(quotec)) == EOF)
 					return (0);
-				if (next == quotec || c == ' ' || c == '\t')
+				if (next == quotec || next == ' ' ||
+				    next == '\t')
 					c = next;
 				else if (next == '\n') {
 					file->lineno++;