Commit Graph

4138 Commits

Author SHA1 Message Date
Michael Stapelberg
72c279bc39 Bugfix: fix crash when not having tray_output configured (Thanks Layus) 2013-04-14 22:54:15 +02:00
Michael Stapelberg
9a91eb83c2 Merge branch 'fix-ipc-fd' 2013-04-14 10:14:51 +02:00
Michael Stapelberg
70d28bc7af Merge branch 'master' into next 2013-04-14 10:14:51 +02:00
Michael Stapelberg
fa1b436fca Bugfix: mark IPC fd CLOEXEC (Thanks Layus)
Without this fix, children of i3bar would inherit the file descriptor of
the IPC connection to i3. Therefore, even if i3bar exits with SIGSEGV,
the connection to i3 stays open. Because nobody actually reads any
messages by i3, the buffer will fill up and i3 can’t deliver any more
messages, and thus busy-loops at that point.

fixes #995
2013-04-14 10:12:21 +02:00
haptix@web.de
90bfbac107 fix font display height in i3bar
Increase the drawing area height, in order to prevent the font from being cut off.

fixes #992
2013-04-13 19:49:06 +02:00
haptix@web.de
a9aad872ee unhide hidden i3bar when mode is active
This patch also handles unhiding of i3bar in case the i3bar modifier key is
pressed for activating a new binding mode.
2013-04-13 10:16:34 +02:00
Eric S. Raymond
adc16f0e90 Document fixes and workarounds for test failures. 2013-04-11 22:37:58 +02:00
Eric S. Raymond
d0fbc10aca Typo and usage fixes in documentation and comments. 2013-04-11 22:37:39 +02:00
haptix@web.de
921967c729 unhide hidden i3bar when mode is active
fixes #961
2013-04-11 22:35:54 +02:00
haptix@web.de
402c3db7ac restore i3bar compatibility with libyajl version 1
fixes #1004
2013-04-07 15:54:20 +02:00
Michael Stapelberg
0659a0d98c raise fullscreen windows on top of all other X11 windows
Note that this is ineffective for dunst’s notifications because dunst
re-raises them as soon as they get obscured. It does work for dzen2
however, which was the original use-case.

fixes #569
2013-04-07 15:38:00 +02:00
Michael Stapelberg
3f525eba41 docs/wsbar: update (we have i3bar now, i3-wsbar is just an example)
fixes #735
2013-04-07 10:24:38 +02:00
Michael Stapelberg
cd001a49f6 Merge branch 'fix-tab-width' 2013-04-07 10:00:42 +02:00
Michael Stapelberg
bb22e232ad Merge branch 'master' into next 2013-04-07 10:00:42 +02:00
Michael Stapelberg
9f353996fe tabbed: floor(), put extra pixels into the last tab (Thanks xeen)
This is the only sane way I can think of to deal with the problem that
the screen size may not be dividable by the amount of tabbed children
(e.g. 1280 / 41 = 31.219512…).

fixes #645
fixes #791
2013-04-07 10:00:28 +02:00
Michael Stapelberg
114d7bf262 docs/multi-monitor: nVidia ≥ 302.17 works just fine (Thanks HedgeMage) 2013-04-06 22:49:14 +02:00
Michael Stapelberg
4f72c5c5fc Merge branch 'fix-floating-size' 2013-04-02 23:59:48 +02:00
Michael Stapelberg
0b000b1464 Merge branch 'master' into next 2013-04-02 23:59:48 +02:00
Michael Stapelberg
0901720a24 Bugfix: fix floating window size with hide_edge_borders (+test)
fixes #998
2013-04-02 23:59:26 +02:00
haptix@web.de
2926ddb69f ipc: use correct workspace in workspace change event
fixes #990
2013-04-02 22:27:04 +02:00
haptix@web.de
43bf72fc5d add testcase for the workspace-focus ipc event 2013-04-02 22:27:04 +02:00
Michael Stapelberg
bfc2cbc69a t/201-config-parser: add test for quotes in comments 2013-04-02 22:27:04 +02:00
Eelis van der Weegen
7f5a18e093 Add 'line' as a configuration parsing primitive
…and use it for ignoring comment lines, so that quotes in them
doesn't cause problems anymore.
2013-04-02 22:26:29 +02:00
Michael Stapelberg
82b59788ac userguide: mention forgotten layout splitv/splith (Thanks Eelis) 2013-03-30 13:03:35 +01:00
Simon Elsbrock
6b0efac483 i3bar: fix usage description, make -b happen 2013-03-29 09:55:03 +01:00
Philippe Virouleau
0a3d42c21e Fix scratchpad_show
Test if window is in scratchpad
    Test if function is called without criteria
    Updated testcase
2013-03-27 21:51:13 +01:00
Yuxuan Shui
18148205b6 Don't dup2() the parent's stdout to child's stdin.
There're DLOG()s, seriously.
2013-03-24 09:55:46 +01:00
enkore
58e68940f6 Add click events to i3bar
If the statusline generator (i.e. i3status) specifies click_events:true
in the protocol header, i3bar will write a JSON array on it's stdin
notifying it if the user clicks on a block.

The exact protocol is documented in docs/i3bar-protocol.
2013-03-21 23:55:30 +01:00
Yuxuan Shui
5adb09c5fc Use a saner sanity check for floating_reposition.
The function contained_by_output checks whether any output contains any
parts of a give rect. Rather than relying on the central point of the rect.
2013-03-21 23:41:07 +01:00
Yuxuan Shui
5b4ff1804d Fix restarting with 32bit depth windows (v5)
What I do in this patch is:

1. Split the con_new() function, so I can create a Con without actually
create a window.
2. Store the depth of Cons in the layout file when i3 is restarting.

Fix typos and mis-staged files in previous patch.
2013-03-21 23:38:09 +01:00
Michael Stapelberg
7552a02d5c i3-dmenu-desktop: run commands when they don’t match a .desktop file
This allows you to enter e.g. "i3 layout stacking" (provided you don’t
have an i3 .desktop file)
2013-03-21 23:32:46 +01:00
Baptiste Daroussin
505d87ef3e FreeBSD expect a real path on the filesystem for shm_open 2013-03-20 17:29:06 +01:00
Baptiste Daroussin
346cba0e0f shm_unlink the created/open shm 2013-03-20 17:26:14 +01:00
Baptiste Daroussin
f530e5452d Do not use ELOG while logwalk is not initialized 2013-03-20 17:24:10 +01:00
Baptiste Daroussin
eb601a2615 All supported FreeBSD version has getline now 2013-03-20 11:17:26 +01:00
Michael Stapelberg
056168494c update debian/ 2013-03-18 23:01:36 +01:00
Michael Stapelberg
11a3d4077e Merge branch 'master' into next 2013-03-18 22:45:55 +01:00
Michael Stapelberg
72f42bdc85 Merge branch 'release-4.5.1' 2013-03-18 22:45:50 +01:00
Michael Stapelberg
13f4a9f3ee add release notes for v4.5.1 2013-03-18 22:42:33 +01:00
Michael Stapelberg
41ac26456b Merge branch 'master' into next 2013-03-17 01:01:11 +01:00
Michael Stapelberg
1e388796ab Merge branch 'bump-copyrights' 2013-03-17 01:01:11 +01:00
Michael Stapelberg
271189444d bump copyright years to 2013 2013-03-17 01:01:04 +01:00
Michael Stapelberg
1510579c86 Merge branch 'master' into next 2013-03-17 00:59:52 +01:00
Michael Stapelberg
fcabc0ab6c Merge branch 'i3dd-error' 2013-03-17 00:59:52 +01:00
Michael Stapelberg
a7ba8931d5 i3-dmenu-desktop: improve error message when dmenu cannot be found
fixes #984
2013-03-17 00:59:18 +01:00
Michael Stapelberg
f5a43738d1 Merge branch 'master' into next 2013-03-15 19:27:23 +01:00
Michael Stapelberg
203f5dafd0 Merge branch 'fix-floating-move' 2013-03-15 19:27:23 +01:00
Michael Stapelberg
083611e434 Bugfix: Don’t warp the pointer when dragging floating windows
fixes #951
2013-03-15 19:27:08 +01:00
Michael Stapelberg
c488bf7a76 Merge branch 'master' into next 2013-03-14 15:20:34 +01:00
Michael Stapelberg
aea25407df Merge branch 'fix-make' 2013-03-14 15:20:34 +01:00