Commit Graph

62 Commits

Author SHA1 Message Date
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 a702ced322 Add CHANGELOG 2010-09-17 02:21:09 +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 4ec3e7a619 Define Macros MAX and MIN 2010-09-17 01:16:53 +02:00
Axel Wagner 4d38bf81ba Allocate the right amount of memory for ev_child 2010-09-07 17:28:56 +02:00
Axel Wagner 4e298d5a1d Reimplement double-buffering
Due to a merge-fuckup, the double-buffer-code got lost. Know flickering
should not happen anymore.
2010-09-04 18:26:30 +02:00
Axel Wagner 0963a0e5ac Merge branch 'hide' into next 2010-08-26 00:03:41 +02:00
Axel Wagner c4c918cb06 Make hide_on_modifier configurable 2010-08-26 00:02:35 +02:00
Axel Wagner 386abde4df Put usage-message in own function 2010-08-26 00:01:24 +02:00
Axel Wagner c2ad6167e9 Put the bars on top, when reconfiguring 2010-08-25 23:36:25 +02:00
Axel Wagner 701448c342 Unhide on urgent-hint 2010-08-25 21:50:01 +02:00
Axel Wagner a83e7699e7 Send the child SIGSTOPs and SIGCONTs 2010-08-25 18:31:03 +02:00
Axel Wagner 3c1a6384ab Define overrride-redirect
The bars should not be in dockmode, when hide-on-mod is active
2010-08-25 18:23:33 +02:00
Axel Wagner 53ec74a4ab Implement hide-on-modifier 2010-08-25 18:11:06 +02:00
Axel Wagner 6034eee647 Remove trailing newline from stdin 2010-08-25 04:58:28 +02:00
Axel Wagner bef80146e6 Don't manually strip dzen-formats.
Instead "output_format = none" should be used in the i3status-config
2010-08-24 14:01:48 +02:00
Axel Wagner 14b885adf1 Only copy the double-buffer on expose-events 2010-08-22 10:24:32 +02:00
Axel Wagner 5015cdc4d0 Implement double-buffering to get rid of flickering 2010-08-21 13:24:05 +02:00
Axel Wagner 84d7da0acf Correct typo in usage-message 2010-08-19 22:13:40 +02:00
Axel Wagner ddf8bd63c7 Added some error handling for xcb 2010-08-18 03:58:32 +02:00
Axel Wagner 60da522e13 Add licensing information 2010-08-07 18:05:16 +02:00
Axel Wagner 04e2cd1dfe Add version-option 2010-08-07 03:50:22 +02:00
Axel Wagner e7ba3183df Correct behaviour of parsing null-values in src/outputs.c 2010-08-07 02:37:12 +02:00
Axel Wagner c03e850171 Correct the Macro-calls in src/xcb.c 2010-08-07 02:34:02 +02:00
Axel Wagner dcbf0c71d2 Move font-height-calculation to the end of init_xcb() 2010-08-07 02:22:20 +02:00
Axel Wagner 6780d87593 Use a while-loop in xcb_chk_cb() to account for the xcb-buffer 2010-08-07 02:20:01 +02:00
Axel Wagner 188d4c18cc Merge handle_xcb_event() into xcb_chk_cb() 2010-08-07 02:19:25 +02:00
Axel Wagner cee972280d Add comments 2010-08-07 02:10:05 +02:00
Axel Wagner b1a8ddd9d7 We don't need a callback for null-values 2010-08-07 01:57:00 +02:00
Axel Wagner 660c77bdb8 Reconfigure to the correct coordinates 2010-08-06 05:53:38 +02:00
Axel Wagner 55047c1633 Refresh the workspace-list on output-events 2010-08-06 05:52:01 +02:00
Axel Wagner a4b1e0d01a Modify the active-flag on parsing the output-list 2010-08-06 05:49:57 +02:00
Axel Wagner 36445f500f Use correct default-path for ipc-socket 2010-08-06 04:11:44 +02:00
Axel Wagner fae997038d Remove superflous xcb_flush()es 2010-08-06 03:42:33 +02:00
Axel Wagner 1daa395a77 Added Unicode-Support 2010-08-06 03:32:05 +02:00
Axel Wagner 7d7867acce Be more strict with encapsulation
I.e. move the xcb-event-handling into xcb.c and the
child-process-communications into newly created child.c.
Also change some includes.
2010-08-05 05:09:59 +02:00
Axel Wagner 51d466c41c Cleanup some Memory Leaks 2010-08-04 04:07:16 +02:00
Axel Wagner 27aa9a640e Display statusline (without formats) 2010-08-04 03:34:18 +02:00
Axel Wagner 8595d3bb48 Change the indention-style 2010-08-03 21:20:11 +02:00
Axel Wagner 49eef0db3f Making Mouse-clicks work 2010-07-30 04:19:32 +02:00