2330 Commits

Author SHA1 Message Date
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
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
Michael Stapelberg
4d12e18571 remove proof-of-concept code in main.c 2010-08-21 18:36:51 +02:00
Lourens Rozema
f73252431b Bug fix of invalid presentation of container's split orientation. 2010-08-21 18:35:34 +02:00
Michael Stapelberg
161afa3d01 Fix some indention problems in gtk-tree-watch.pl 2010-08-21 18:34:51 +02:00
Lourens Rozema
042abe20b5 Initial commit of gtk-tree-watch.pl which uses GTK/Perl to visualize the i3 tree. It is based on the dump-asy.pl code. 2010-08-21 18:30:27 +02:00
Lourens Rozema
8159ffaa06 Bugfix for the kill command (used a.o. in test 18). Call to match_init is to be used i.o. a simple memset() to zero. Otherwise the boolean dock field doesn't get initalized to -1. 2010-08-21 18:28:37 +02:00
Lourens Rozema
ebe878d24c Indent clean up. 2010-08-21 18:27:12 +02:00
Michael Stapelberg
27ffe9eae1 t/22-split: Bugfix: don’t declare old_count twice (Thanks Lourens) 2010-08-21 18:25:48 +02:00
Lourens Rozema
c780f5dd0b Test 16 fixed expectation of the (root) focused field to exist in the tree and always be zero. 2010-08-21 18:24:21 +02:00
Axel Wagner
6ad922dbd5 Add declaration, accidentally lost in last commit 2010-08-21 13:29:38 +02:00
Axel Wagner
fe24eb748c Implement double-buffering to get rid of flickering 2010-08-21 13:27:51 +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
Michael Stapelberg
160c12ed9a recognize dock windows (and support matching them) 2010-08-15 12:18:27 +02:00
Michael Stapelberg
0411299e4c fix typo 2010-08-15 12:18:05 +02:00
Axel Wagner
60da522e13 Add licensing information 2010-08-07 18:05:16 +02:00