Clément Bœsch
56b6b467ee
Avoid fd leak in parse_keywords.
2011-01-12 20:17:57 +01:00
Clément Bœsch
7ac4bf32c2
One memset instead of two.
...
This also fix the strange sizeof.
2011-01-12 20:17:57 +01:00
Clément Bœsch
b5f24e042f
Remove a few check before calling free in parser.
2011-01-12 20:17:57 +01:00
Clément Bœsch
a5432919ca
Remove pointless if before calling free.
...
The free() function frees the memory space pointed to by ptr, which must
have been returned by a previous call to malloc(), calloc() or
realloc(). Otherwise, or if free(ptr) has already been called before,
undefined behavior occurs. If ptr is NULL, no operation is performed.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-- man malloc(3)
2011-01-12 20:17:57 +01:00
Clément Bœsch
c174e69b64
Fix potential crash when using mouse_button_list.
2011-01-12 20:17:56 +01:00
Clément Bœsch
209f9a09a4
Make a bunch of functions static.
2011-01-12 20:17:56 +01:00
Raphael Khaiat
c5dfeb9878
Merge branch 'master' into bacardi55
2011-01-12 15:45:37 +01:00
Raphael Khaiat
3abfe9d7bb
Report the correction of the reload event that had been made for the
...
uicb_reload function
2011-01-12 15:43:01 +01:00
Martin Duquesnoy
27c4c260c6
Client: Revert libvte patch by roidelapluie
2011-01-12 11:26:41 +01:00
Raphael Khaiat
8ea76e1167
Fix reload function (problem due to a bad merge), thanks to Erus
2011-01-10 21:45:11 +01:00
Raphael Khaiat
6ec79f626e
Merge branch 'master' into bacardi55
2011-01-10 20:42:15 +01:00
Raphael Khaiat
2320e8586c
Implement fixture #63 : auto center option for free client
2011-01-10 20:40:55 +01:00
Raphael Khaiat
c317afc79d
Re-arrange code for fix #67 (avoid code duplication)
2011-01-10 20:39:14 +01:00
Martin Duquesnoy
056cb5daf6
Util: Fix spawn
2011-01-10 19:31:42 +01:00
Raphael Khaiat
7bb0fdcbad
Fix bug #67
2011-01-08 18:23:11 +01:00
Raphael Khaiat
2273ccc5d5
Let wmfs reload now with the same argument that it was launched with
2011-01-08 18:20:27 +01:00
Martin Duquesnoy
18e97d3e1e
Wmfs: Use pthread instead of setitimer
2011-01-08 15:47:19 +01:00
Martin Duquesnoy
9de133dac7
Merge branch 'master' of git.wmfs.info:wmfs
2011-01-08 15:21:59 +01:00
Raphael Khaiat
b1d4e2a403
Merge branch 'bacardi55' of github.com:xorg62/wmfs into bacardi55
2011-01-05 19:57:22 +01:00
Raphael Khaiat
8e6cea6d05
Makes code pretyer :)
2011-01-05 19:55:16 +01:00
bacardi55@gmail.com
03c41f9b3b
Add option (tag_auto_prev) in wmfsrc to disable the auto tag prev
...
when going twice on the same tag.
2011-01-05 19:51:48 +01:00
Raphael Khaiat
42a0612664
Merge branch 'bacardi55' of github.com:xorg62/wmfs into bacardi55
2011-01-05 01:28:50 +01:00
Raphael Khaiat
fb1627e8cc
Fix Feature #22 : set a default tag and/or screen where to send client
...
that have no tag/screen specific rule. Feature requested by philpep
2011-01-05 01:25:12 +01:00
bacardi55@gmail.com
c8eb002768
Fix tag_prev_sel
2011-01-04 22:53:24 +01:00
bacardi55@gmail.com
0d0c3af47b
Merge branch 'master' of github.com:xorg62/wmfs into bacardi55
2011-01-04 22:51:42 +01:00
bacardi55@gmail.com
5b5dd104d9
Merge branch 'bacardi55' of github.com:xorg62/wmfs into bacardi55
2011-01-04 21:13:14 +01:00
Philippe Pepiot
0a2c1f9d13
Use sigaction instead of signal.
...
SIGCHLD and SIGALRM are now exclusives (one mask other)
2011-01-04 03:02:29 +01:00
Philippe Pepiot
c817b7277b
Disable status script timer on reload (instead of ignoring signal)
2011-01-04 01:24:51 +01:00
Philippe Pepiot
99e85cbfc2
Use setitimer instead of alarm
2011-01-04 01:10:27 +01:00
Julien Pivotto
a1ad5685f9
Fix libvte bug when resizing them
...
Signed-off-by: Raphael Khaiat <raphael@khaiat.org>
2011-01-03 22:27:41 +01:00
Julien Pivotto
abf71d99b9
[PATCH] Add a ignoretags rule
2011-01-03 21:49:25 +01:00
Raphael Khaiat
1460229397
Merge branch 'master' into bacardi55
2011-01-03 21:40:27 +01:00
Martin Duquesnoy
47a68568fe
Tag: Fix last feature with tag_round
2011-01-03 21:33:43 +01:00
Martin Duquesnoy
a0fd6a77cc
Layout: Fix nmaster ksh bug with tile_right/left
2011-01-03 20:01:04 +01:00
bacardi55@gmail.com
ef6b057234
Merge branch 'master' into bacardi55
2011-01-03 19:42:54 +01:00
Martin Duquesnoy
e32726f008
Tag: Fix infobar position when tag switch with last feature
2011-01-03 19:40:42 +01:00
bacardi55@gmail.com
74bbf0bd04
Merge remote branch 'github/master' into bacardi55
2011-01-02 19:51:36 +01:00
Martin Duquesnoy
b85b6bd687
Tag: Add toggle to prev selected tag if tag is selected two times (requested by addikt1ve)
2011-01-02 19:36:33 +01:00
Julien Pivotto
bf16b4a2e7
Add a 'ignoretags' rule
...
Signed-off-by: bacardi55@gmail.com <bacardi55@daimadoshi.bacardi55.org>
2010-12-31 15:12:53 +01:00
Philippe Pepiot
f2bd808b86
Fix segfault in parser if options == PARSE_MAX_LIST-1
...
Reported by Armael
Increase PARSE_MAX_LIST from 10 to 32
2010-12-25 16:25:42 +01:00
bacardi55@gmail.com
f2734a5f2b
Correct typo thanks to ubitux
2010-12-19 13:42:39 +01:00
bacardi55@gmail.com
b4fb75806a
Merge branch 'master' into bacardi55
2010-12-19 13:14:30 +01:00
Philippe Pepiot
dbe7588c0a
Ignore SIGALRM before restart
...
If new wmfs process receive SIGALRM before set the handler, wmfs quits
Bug found by Erus
2010-12-18 14:58:29 +01:00
Engil Hramn
dae3019185
Fix some error in the manpage and in the information printed by the binary
2010-12-09 17:09:47 +01:00
Raphael Khaiat
3f461810d2
Add engil's patch
2010-12-09 16:01:19 +01:00
Raphael Khaiat
0a708c8dda
Merge branch 'master' into bacardi55
...
Conflicts:
src/config.c
2010-12-07 19:16:32 +01:00
Philippe Pepiot
6072c2d811
Set default tag params. (patch by bacardi55) fixes #51
2010-12-07 01:38:21 +01:00
Philippe Pepiot
ce3813608c
Status script not spawned if still running
2010-12-07 01:34:22 +01:00
Philippe Pepiot
6c332c9ea5
Oops. Fix signal not handled at all
2010-12-07 01:19:28 +01:00
Philippe Pepiot
d606f999f9
Add distclean target (clean && remove Makefile)
2010-12-07 00:30:36 +01:00