Commit Graph

4698 Commits

Author SHA1 Message Date
Michael Stapelberg d1e3fd192f 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:18:31 +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 83a82d77bf Info about client.background for the user guide. 2010-10-07 19:28:50 +02:00
Fernando Tarlá Cardoso Lemos 556e59449c Fix possible rounding errors. 2010-09-24 15:53:01 +02:00
Fernando Tarlá Cardoso Lemos 6d54b5a506 Fix possible rounding errors. 2010-09-24 15:52:04 +02:00
Fernando Tarlá Cardoso Lemos b21d8a94e6 Support for custom bg colors for clients. 2010-09-24 15:47:40 +02:00
Fernando Tarlá Cardoso Lemos fa3ad8be10 Support for custom bg colors for clients. 2010-09-24 15:46:57 +02:00
Stefan Schneider-Kennedy 5ed0c0a042 Opera flash plugin no longer prevents in-page focus changing. Specifically, clicking a focussed window no longer forces set_focus. 2010-09-24 15:40:05 +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 622d680fa8 website: update i3status for the 2.2 release 2010-09-23 00:54:17 +02:00
Michael Stapelberg b2eb0cd769 Use sstrdup() instead of strdup() 2010-09-22 23:11:51 +02:00
Michael Stapelberg 545aaa7569 Use sstrdup() instead of strdup() 2010-09-22 23:10:49 +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 f2896d34e0 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:35:48 +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
Michael Stapelberg f6638b4b9e website: update i3lock website (for the 2.0 release) 2010-09-05 14:08:21 +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 6cf7ac7655 Validate the ws number for client assignment. 2010-09-01 11:54:07 +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
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