Axel Wagner
29d03f917b
Bugfix: _only_ stop child, if hide_on_modifier is set (thx cradle)
2011-02-04 10:04:54 +01:00
Axel Wagner
4a10a2edba
Bugfix: Use free-workspaces() in xcb-cleanup (thx dothebart)
2011-01-26 12:58:15 +01:00
Axel Wagner
1cf054f2b4
Bugfix: free() output-names seperately (thx dothebart)
2011-01-26 12:58:11 +01:00
Axel Wagner
9bcc6216c8
Bugfix: Also free() the head of slist/tailq (Thx dothebart)
2011-01-26 02:00:55 +01:00
Axel Wagner
e9ef6d186a
Bugfix: free() text, after drawing it (thx dothebart)
2011-01-26 02:00:51 +01:00
Axel Wagner
51ffd4c3dd
Bugfix: free() workspace-list of outputs seperately (thx dothebart)
2011-01-26 02:00:46 +01:00
Axel Wagner
17a795aba1
Remove superflous FREE_SLIST
2011-01-26 02:00:40 +01:00
Axel Wagner
31863efc04
Bugfix: free() workspace-names seperately (thx dothebart)
2011-01-26 02:00:29 +01:00
Axel Wagner
9c7db93993
Bugfix: free() command-string, after it is not needed anymore
2011-01-26 02:00:25 +01:00
Axel Wagner
18e6caf0a9
Bugfix: Test for outputs == NULL
2011-01-26 02:00:20 +01:00
Axel Wagner
2064df9e5d
Display socket-path in connection-error-message
2011-01-14 17:33:58 +01:00
Axel Wagner
84b574167e
Use I3SOCK environment-variable
2011-01-11 05:02:55 +01:00
Fernando Tarlá Cardoso Lemos
96e14d8103
Separate the lines received in a single read.
...
Fixes the case where multiple lines are read in a single read syscall
(it could be better optimized in the future). Also fixes a memory
corruption issue when rec == 0.
2011-01-08 14:56:52 +01:00
Axel Wagner
cd4b77ab72
Bugfix: If hide-on-modifier is set, stop the child after starting
2011-01-06 17:35:47 +01:00
Axel Wagner
5f32bfa6d8
Bugfix: Recreate double-buffers on reconfiguring (thx sECuRE)
2011-01-06 17:35:40 +01:00
Axel Wagner
2aeea30cc7
Use strerror() for more usefull errormessages
2011-01-01 16:54:40 +01:00
Axel Wagner
4c7f131fc5
Fix typo (thx julien)
2011-01-01 15:46:59 +01:00
Axel Wagner
8f0518c5c5
Only use font_info after we know, the request succeded
2011-01-01 15:46:53 +01:00
Axel Wagner
64d8d40b25
Use "*buffer == '\0'" instead of "strlen(buffer) == 0" (thanks dothebart)
2011-01-01 15:07:28 +01:00
Axel Wagner
b3970b36a5
Bugfix: Recover from closed socket
2010-12-26 20:02:37 +01:00
Axel Wagner
29aaced900
Send child a SIGCONT, so it reacts to SIGTERM (no zombies \o/)
2010-12-26 14:45:31 +01:00
Axel Wagner
f539f76e5b
Revert "Double-fork() to avoid zombies"
...
This reverts commit a4eafae108b63f5df76eea2958aee8cf95cb1ad6.
2010-12-26 14:44:28 +01:00
Axel Wagner
a3e37b059f
Switch back ws_fg and ws_bg (Thanks julien)
2010-12-03 17:59:16 +01:00
Axel Wagner
a88f7fb392
We don't need sig_quit
2010-11-11 03:01:40 +01:00
Axel Wagner
8301d3d9f3
Send a SIGTERM instead of a SIGQUIT to exit the child
2010-11-11 02:59:17 +01:00
Axel Wagner
33202881c4
Handle SIGTERM/-INT/-HUP
2010-11-11 02:57:39 +01:00
Axel Wagner
d5e3b58d47
-V actually does not take an argument (yet)
2010-11-11 02:57:25 +01:00
Axel Wagner
eada483765
Double-fork() to avoid zombies
2010-11-10 18:46:47 +01:00
Axel Wagner
23b62f621d
Add support for bar_fg and bar_bg
2010-11-04 13:46:50 +01:00
Axel Wagner
127c082e83
Call init_colors() earlier
2010-11-04 13:46:33 +01:00
Axel Wagner
992612c89d
Some stylechanges to previous commit
2010-11-04 12:27:10 +01:00
Fernando Tarlá Cardoso Lemos
6376cf99d2
Custom colors can be set from the command line.
2010-11-04 11:51:26 +01:00
Axel Wagner
80172c88c5
Don't map bars on creation, if hide_on_modifier is enabled
2010-10-24 23:03:44 +02:00
Axel Wagner
4830288c7b
Place bar at the bottom of the screen, when creating them
2010-10-24 22:56:08 +02:00
Axel Wagner
cddda0c965
Remove unnecessary dependencies
2010-10-22 00:32:29 +02:00
Axel Wagner
920721bb93
Use DLOG/ELOG-macros, provide --verbose-option
2010-09-17 06:49:28 +02:00
Axel Wagner
ca1a295714
Clean the XCB-errorhandling a little bit up
2010-09-17 05:55:38 +02:00
Axel Wagner
60bab3db28
Use font_ascent instead of font_height, it's more elegant
2010-09-17 05:29:01 +02:00
Axel Wagner
a75cb6e785
Rename xcb_screens to xcb_screen, it's really just one
2010-09-17 05:28:22 +02:00
Axel Wagner
93453c64f2
Add some more comments
2010-09-17 05:26:31 +02:00
Axel Wagner
c82556f0f2
Use only xcb_query_font()
2010-09-17 03:51:41 +02:00
Axel Wagner
7fda48aa9f
We don't need get_string_width anymore
2010-09-17 03:11:49 +02:00
Axel Wagner
5deb95de33
Make i3_default_sock_path a local variable
2010-09-17 03:04:40 +02:00
Axel Wagner
0e4487e489
Move child_pid into child.c
2010-09-17 03:03:43 +02:00
Axel Wagner
d245d14765
Use realloc instead of manually reallocating
2010-09-17 02:28:56 +02:00
Axel Wagner
52120e3ed5
Use draw_text() to render text to the correct spot
2010-09-17 02:17:18 +02:00
Axel Wagner
0dc802c7b5
Write a wrapper around xcb_image_text_16()
...
xcb_image_text_16() can only process up to 255 glyphs, so we
write a wrapper around it for arbitrary long strings
2010-09-17 01:52:04 +02:00
Axel Wagner
c5dc3d49aa
We don't need to crop at that point
2010-09-17 01:51:10 +02:00
Axel Wagner
2ce9c4024f
Draw the statusline to a seperate buffer-pixmap
2010-09-17 01:18:50 +02:00
Axel Wagner
4d38bf81ba
Allocate the right amount of memory for ev_child
2010-09-07 17:28:56 +02:00