Adrien Schildknecht
f233359660
Revert "Return the path of the deepest accessible child"
...
This reverts commit 1bd171cc95
.
2014-12-21 02:22:02 +01:00
Adrien Schildknecht
1bd171cc95
Return the path of the deepest accessible child
2014-11-27 00:44:38 +01:00
Franck Michea
a625a378cb
Bugfix: xcwd always failing to fetch processes.
...
- Processes names may apparently contain parenthesis, which makes the old
fscanf function always fail. (example: (sd-pam))
- Fix bug, probably due to %*3c format, that made parent pid fetching fail
sometimes, cutting the first digit of the ppid.
2013-09-24 02:06:40 +02:00
Adrien Schildknecht
068872e0c8
BSD: include unistd.h (access)
2013-09-16 22:14:07 +02:00
Adrien Schildknecht
47a4a98da7
directory existence test
2013-08-04 18:13:54 +02:00
Adrien Schildknecht
0d8f847bb9
fix return value
2013-08-01 17:47:01 +02:00
Adrien Schildknecht
ab4bdd8bc8
fix a crash when the focused window is the root window
2013-07-02 03:32:34 +02:00
Adrien Schildknecht
671ac6b5da
handle empty cwd (bsd)
2013-07-02 03:23:13 +02:00
Adrien Schildknecht
535c64ad55
forgot a free() on bsd
2013-07-02 02:58:48 +02:00
Adrien Schildknecht
652117ebfe
Merge branch 'bsd'
2013-07-02 02:54:09 +02:00
Adrien Schildknecht
3d0a0b3101
add some logging
2013-07-02 02:50:00 +02:00
Adrien Schildknecht
49488c0107
add BSD support
2013-07-02 02:41:20 +02:00
Adrien Schildknecht
8efe17cc99
remove a useless fprintf
2013-07-01 23:29:23 +02:00
Adrien Schildknecht
c04fa19254
handle fscanf failure
2013-05-21 15:54:12 +02:00
Adrien Schildknecht
58b31130e4
fix compilation errors on 32bits systems
2013-05-17 21:53:49 +02:00
Adrien Schildknecht
54c82ee7f7
fix segfault when getting gvim's cwd
2013-05-01 21:53:00 +02:00
Adrien Schildknecht
e414630f01
return the proper path even if the program has multiple children
2013-05-01 20:09:51 +02:00
Adrien Schildknecht
dd1a5bfd32
remove remaining warnings
2013-04-26 01:11:46 +02:00
Adrien Schildknecht
612dd81b51
#define DEBUG 0
2013-04-26 00:50:37 +02:00
Adrien Schildknecht
355873d2da
cleaning up code
2013-04-26 00:40:51 +02:00
Adrien Schildknecht
7d4aecffc2
properly handle gtk windows
2013-04-25 20:27:50 +02:00
Adrien Schildknecht
913c08b9ac
first commit
2013-04-24 21:05:53 +02:00