Commit Graph

2125 Commits

Author SHA1 Message Date
Axel Wagner 127c082e83 Call init_colors() earlier 2010-11-04 13:46:33 +01:00
Axel Wagner 214382a030 Mention the color-options in the manpage 2010-11-04 12:43:41 +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
Fernando Tarlá Cardoso Lemos 73728f519b Added a distclean target. 2010-11-04 11:50:47 +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
Fernando Tarlá Cardoso Lemos 582ec2a071 More sensible lookup order loading the config. 2010-10-24 00:09:33 +02:00
Michael Stapelberg 2f6d2d0966 Bugfix: Don’t setup event handler when RandR base event is not set 2010-10-23 17:19:46 +02:00
Michael Stapelberg af9749b1b9 Bugfix: Properly call init_workspaces() when RandR is known but not present 2010-10-23 17:19:42 +02:00
Axel Wagner cddda0c965 Remove unnecessary dependencies 2010-10-22 00:32:29 +02:00
Fernando Tarlá Cardoso Lemos 2447236110 Fixed overflow and underflow bugs when resizing. 2010-10-18 00:06:10 +02:00
Niklas Hambüchen 8279eb3a4e Fix wallpaper flickering on workspace switch by mapping new clients before unmapping old clients 2010-10-17 18:21:01 +02:00
Michael Stapelberg 5c2758af26 Implement support for size hints (including test case) 2010-10-11 21:32:29 +02:00
Michael Stapelberg b904c9a34a Bugfix: Initialize variable 'root' earlier
Fixes a regression introduced in commit f2896d3 (create_window(), invoked
indirectly in expand_table_{rows,cols}, uses the root variable).
2010-10-10 20:20:25 +02:00
Fernando Tarlá Cardoso Lemos 4ca46d131c Info about client.background for the user guide. 2010-10-07 19:28:55 +02:00
Fernando Tarlá Cardoso Lemos 556e59449c Fix possible rounding errors. 2010-09-24 15:53:01 +02:00
Fernando Tarlá Cardoso Lemos b21d8a94e6 Support for custom bg colors for clients. 2010-09-24 15:47:40 +02:00
Stefan Schneider-Kennedy 046105ff58 Opera flash plugin no longer prevents in-page focus changing. Specifically, clicking a focussed window no longer forces set_focus. 2010-09-24 15:37:33 +02:00
Michael Stapelberg b2eb0cd769 Use sstrdup() instead of strdup() 2010-09-22 23:11:51 +02:00
Axel Wagner 27fa078159 Adding a manpage 2010-09-17 18:27:07 +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 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
Michael Stapelberg ff86f35f05 Bugfix: use the global root variable, don’t get the first one (Thanks quaec)
The case of an X11 server having multiple displays is handled correctly by the
code in src/mainx.c. However, due to some functions not being correctly
refactored and still getting the first screen (and also the first root window)
from the XCB connection, i3 was operating on the wrong root window.
2010-09-09 15:34:13 +02:00
Axel Wagner 4d38bf81ba Allocate the right amount of memory for ev_child 2010-09-07 17:28:56 +02:00
Axel Wagner 17484d82f2 Allocate the right amount of memory for ev_child 2010-09-07 17:28:15 +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
Michael Stapelberg 0925e8b7dc Implement sticky windows
The implementation works like this:
Containers can have a 'sticky-group' attribute. Imagine two different
containers (on two different workspaces) which have the same sticky-group.
Now you open a window in the first container. When you switch to the
other workspace, the window will be re-assigned to the other container.

An obvious problem which is not covered with the code at the moment is
having two containers with the same sticky-group visible at the same time.
2010-09-01 18:11:01 +02:00
Michael Stapelberg 95243d1967 Set some more atoms for _NET_SUPPORTED (Thanks lexszero) 2010-09-01 16:23:18 +02:00
Michael Stapelberg af9cbc126c Use ELOG instead of DLOG for invalid config directives 2010-09-01 14:31:46 +02:00
Michael Stapelberg 53d6f476bc Sanity-check the stack-limit argument (limit needs to be > 0) 2010-09-01 14:31:25 +02:00
Fernando Tarlá Cardoso Lemos 5403fac512 Validate the ws number for client assignment. 2010-09-01 11:53:14 +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