]>
git.sur5r.net Git - i3/i3/log
Clément Bœsch [Sat, 20 Apr 2013 21:47:37 +0000 (23:47 +0200)]
render_con: fix height rounding in aspect ratio computation
With a 484x292 window and proportion of 488x294, new_height is
291.590164 after the loop, causing a rounding issue leading to a window
of 484x291.
Michael Stapelberg [Mon, 15 Apr 2013 19:01:27 +0000 (21:01 +0200)]
Merge branch 'fix-resize'
oblique [Mon, 15 Apr 2013 18:30:22 +0000 (21:30 +0300)]
Ensure that resize will take place even if pixel is smaller than size increments.
fixes #1011
Michael Stapelberg [Sun, 14 Apr 2013 20:54:36 +0000 (22:54 +0200)]
Merge branch 'fix-tray-output'
Michael Stapelberg [Sun, 14 Apr 2013 20:54:15 +0000 (22:54 +0200)]
Bugfix: fix crash when not having tray_output configured (Thanks Layus)
Michael Stapelberg [Sun, 14 Apr 2013 08:14:51 +0000 (10:14 +0200)]
Merge branch 'fix-ipc-fd'
Michael Stapelberg [Sun, 14 Apr 2013 08:12:21 +0000 (10:12 +0200)]
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
Michael Stapelberg [Sun, 7 Apr 2013 08:00:42 +0000 (10:00 +0200)]
Merge branch 'fix-tab-width'
Michael Stapelberg [Sun, 7 Apr 2013 07:58:34 +0000 (09:58 +0200)]
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
Michael Stapelberg [Tue, 2 Apr 2013 21:59:48 +0000 (23:59 +0200)]
Merge branch 'fix-floating-size'
Michael Stapelberg [Tue, 2 Apr 2013 21:59:26 +0000 (23:59 +0200)]
Bugfix: fix floating window size with hide_edge_borders (+test)
fixes #998
Michael Stapelberg [Mon, 18 Mar 2013 21:45:50 +0000 (22:45 +0100)]
Merge branch 'release-4.5.1'
Michael Stapelberg [Mon, 18 Mar 2013 21:42:33 +0000 (22:42 +0100)]
add release notes for v4.5.1
Michael Stapelberg [Sun, 17 Mar 2013 00:01:11 +0000 (01:01 +0100)]
Merge branch 'bump-copyrights'
Michael Stapelberg [Sun, 17 Mar 2013 00:01:04 +0000 (01:01 +0100)]
bump copyright years to 2013
Michael Stapelberg [Sat, 16 Mar 2013 23:59:52 +0000 (00:59 +0100)]
Merge branch 'i3dd-error'
Michael Stapelberg [Sat, 16 Mar 2013 23:59:18 +0000 (00:59 +0100)]
i3-dmenu-desktop: improve error message when dmenu cannot be found
fixes #984
Michael Stapelberg [Fri, 15 Mar 2013 18:27:23 +0000 (19:27 +0100)]
Merge branch 'fix-floating-move'
Michael Stapelberg [Fri, 15 Mar 2013 18:27:08 +0000 (19:27 +0100)]
Bugfix: Don’t warp the pointer when dragging floating windows
fixes #951
Michael Stapelberg [Thu, 14 Mar 2013 14:20:34 +0000 (15:20 +0100)]
Merge branch 'fix-make'
Marcus Crestani [Thu, 14 Mar 2013 09:10:38 +0000 (10:10 +0100)]
Add YAJL_CFLAGS to i3-msg.mk.
Michael Stapelberg [Tue, 12 Mar 2013 13:05:47 +0000 (14:05 +0100)]
Merge branch 'next'
Michael Stapelberg [Tue, 12 Mar 2013 13:05:41 +0000 (14:05 +0100)]
Merge branch 'release-4.5' into next
Michael Stapelberg [Tue, 12 Mar 2013 13:03:22 +0000 (14:03 +0100)]
makefile: delete test.{config_parser,commands_parser} in distclean
Michael Stapelberg [Tue, 12 Mar 2013 12:40:52 +0000 (13:40 +0100)]
add release notes for i3 v4.5
Michael Stapelberg [Tue, 12 Mar 2013 12:38:14 +0000 (13:38 +0100)]
i3-dmenu-desktop: bump version to 1.4
oblique [Tue, 26 Feb 2013 00:37:35 +0000 (02:37 +0200)]
Add support for _NET_WM_STATE_DEMANDS_ATTENTION.
_NET_WM_STATE_DEMANDS_ATTENTION indicates that some action in or with
the window happened. It's a weaker hint than urgency flag of WM_HINTS,
but some applications and almost all Qt applications use it instead of
WM_HINTS' urgency flag (one example is Skype).
Michael Stapelberg [Sun, 3 Mar 2013 20:27:56 +0000 (21:27 +0100)]
i3-dmenu-desktop: remove %i from commandline
We don’t currently support the icon argument, but entirely not handling
%i leads to e.g. “digikam” not starting.
András Mohari [Mon, 25 Feb 2013 16:09:10 +0000 (17:09 +0100)]
Bugfix: Set separator color properly when drawing
Set the colors in the GC directly since set_font_colors() does not do it
when using a Pango font, resulting in i3bar drawing separators in the
wrong color.
András Mohari [Mon, 25 Feb 2013 10:41:02 +0000 (11:41 +0100)]
Allow min_width of a block in i3bar to be a string
With this change, min_width can either be an integer (as usual), or a
string. In the latter case, the width of the text given by min_width
determines the minimum width of the block. This way one does not have to
figure out a minimum width by trial and error, only to do it again every
time the font is changed.
Michael Stapelberg [Sun, 24 Feb 2013 16:23:37 +0000 (17:23 +0100)]
config: accept “smart” as popup_during_fullscreen parameter (Thanks supplantr)
This was the default, so explicitly setting it is not really necessary,
but of course it should be possible.
fixes #967
Mats [Wed, 20 Feb 2013 15:56:03 +0000 (16:56 +0100)]
Bugfix: Handle nested transient popups properly
During smart popup fullscreen handling, display all transient popups
that belong to the respective fullscreen application. A popup window
belongs to another window if the latter is reachable via the path
induced by the WM_TRANSIENT_FOR hints.
fixes #881
Michael Stapelberg [Mon, 18 Feb 2013 23:28:05 +0000 (00:28 +0100)]
Merge branch 'fix-move-ws'
Michael Stapelberg [Mon, 18 Feb 2013 23:28:05 +0000 (00:28 +0100)]
Merge branch 'master' into next
Michael Stapelberg [Mon, 18 Feb 2013 23:27:55 +0000 (00:27 +0100)]
Bugfix: Properly parse commands like “move workspace torrent” (Thanks rasi)
fixes #955
Michael Stapelberg [Mon, 18 Feb 2013 23:26:00 +0000 (00:26 +0100)]
tests: correctly close stdout with IPC::Run
while IPC::Run supports <&-, it does not support >&- apparently.
Michael Stapelberg [Mon, 18 Feb 2013 09:59:32 +0000 (10:59 +0100)]
make t/205-ipc-windows require AnyEvent::I3 >= 0.15
Necessary due to the new event type
Piotr S. Staszewski [Fri, 11 Jan 2013 18:58:32 +0000 (19:58 +0100)]
Add a new IPC event for changes on windows.
Added new event id (I3_IPC_EVENT_WINDOW) so that a an IPC client can
subscribe to events on windows. Added a basic window event that gets
triggered when a window gets successfully reparented. This new event
also dumps the container data, so that IPC clients can get the initial
window name. IPC clients wishing to see window events should subscribe
to 'window'.
Michael Stapelberg [Mon, 18 Feb 2013 09:51:52 +0000 (10:51 +0100)]
i3bar-protocol: update example, reword separator{,_block_width}
Artem Shinkarov [Sun, 27 Jan 2013 20:27:21 +0000 (20:27 +0000)]
Separator color via config; separator width and on/off via ipc
This patch adds the following features:
1) Configure a color of the separator via config. It is done like
bar {
colors {
separator #000000
}
}
2) A block can have an integer entry "separator_block_width" which
sets the width of the gap which would follow after the current block.
3) A block can have a boolean entry "separator" and if it is set
to false, then the drawing of the separating line would be disabled.
Michael Stapelberg [Mon, 18 Feb 2013 09:41:34 +0000 (10:41 +0100)]
inline comments for enum values
Sebastian Ullrich [Mon, 24 Sep 2012 19:14:40 +0000 (21:14 +0200)]
Always auto center on 'scratchpad show' if window hasn't been repositioned by the user
This change ensures a scratchpad window is still centered on the screen
if it has first been shown on another screen of a different
resolution. Moving or resizing the scratchpad manually disables this
behavior.
Michael Stapelberg [Fri, 15 Feb 2013 15:41:28 +0000 (16:41 +0100)]
tests: unset $ENV{SHELL} to avoid breakage with fish (Thanks dRbiG)
Mats [Thu, 24 Jan 2013 16:56:03 +0000 (17:56 +0100)]
Split workspace instead of changing orientation
Move all children of the workspace into a new container if there is more
than one otherwise simply change the orientation.
fixes #922
Michael Stapelberg [Thu, 14 Feb 2013 19:47:41 +0000 (20:47 +0100)]
userguide: remove obsolete sentence about client.background (Thanks Tucos)
oblique [Fri, 8 Feb 2013 16:41:41 +0000 (18:41 +0200)]
Obey WM_SIZE_HINTS's resize increments in floating
oblique [Fri, 8 Feb 2013 13:23:50 +0000 (15:23 +0200)]
Add render_deco_height()
Sebastian Rachuj [Sat, 9 Feb 2013 19:23:01 +0000 (20:23 +0100)]
Bugfix: Do not move focus if a container is moved across outputs
fixes #809
This makes the moving behavior more consistent. If you want to focus the
workspace you are moving to, just chain the keybinding in your config
file:
bindsym $mod+Shift+1 move workspace 1; workspace 1
Michael Stapelberg [Sun, 10 Feb 2013 14:10:13 +0000 (15:10 +0100)]
hacking-howto: refer people to cr.i3wm.org
Michael Stapelberg [Thu, 7 Feb 2013 14:57:15 +0000 (15:57 +0100)]
i3test: fix get_focused() docs (Thanks knopwob)
Michael Stapelberg [Thu, 7 Feb 2013 14:49:35 +0000 (15:49 +0100)]
userguide: be explicit about assignment processing order (Thanks Donald)
Michael Stapelberg [Thu, 7 Feb 2013 14:30:40 +0000 (15:30 +0100)]
i3-nagbar: kludge to run the command shell script when inside a noexec mount
See the comment inside the commit for more information on how this
works.
fixes #947
Sascha Kruse [Mon, 28 Jan 2013 15:36:38 +0000 (16:36 +0100)]
put common part of error messages into variable
This makes future changes easier when new tokens are added to the
parser.
Mats [Mon, 28 Jan 2013 16:43:42 +0000 (17:43 +0100)]
i3-dmenu-desktop: List filenames of .desktop files
In addition to 'name' and 'command', add a third entry type 'filename'
to list the filenames of the .desktop files (e.g., 'firefox.desktop'
would be display as 'firefox').
Command line option '--entry-type' can be specified multiple times.
fixes #930
Sascha Kruse [Mon, 28 Jan 2013 09:11:53 +0000 (10:11 +0100)]
scratchpad_show focus unfocused scratchpad window
When there's an unfocused scratchpad window on the current workspace
scratchpad_show will focus that scratchpad window.
Michael Stapelberg [Wed, 30 Jan 2013 12:31:20 +0000 (13:31 +0100)]
add testcase for "move workspace <output>"
Michael Stapelberg [Wed, 30 Jan 2013 12:30:59 +0000 (13:30 +0100)]
Merge branch 'fix-move-ws'
Michael Stapelberg [Wed, 30 Jan 2013 12:30:59 +0000 (13:30 +0100)]
Merge branch 'master' into next
Steven Allen [Tue, 29 Jan 2013 08:05:23 +0000 (03:05 -0500)]
Bugfix: Correctly parse `move ... workspace *_on_output`
The parse spec for `move ... workspace ...` ordered next/prev before
next_on_output/prev_on_output causing the parser to match next/prev
before next_on_output/prev_on_output.
Ticket: http://bugs.i3wm.org/report/ticket/941
Michael Stapelberg [Sun, 27 Jan 2013 19:20:53 +0000 (20:20 +0100)]
Merge branch 'userguide-resize'
Michael Stapelberg [Sun, 27 Jan 2013 19:20:53 +0000 (20:20 +0100)]
Merge branch 'master' into next
Michael Stapelberg [Sun, 27 Jan 2013 19:20:37 +0000 (20:20 +0100)]
userguide: be more clear about the resize command arguments (Thanks Tucos)
Marius Muja [Mon, 31 Dec 2012 11:04:53 +0000 (03:04 -0800)]
Fix decoration rect size for windows without border
Vivien Didelot [Wed, 23 Jan 2013 22:37:27 +0000 (17:37 -0500)]
split main .gitignore and ignore more files
This patch splits the main .gitignore with a specific
testcases/.gitignore and also add 4 patterns to the ignore list:
i3-command-parser.stamp
i3-config-parser.stamp
testcases/-
testcases/i3-cfg-for-*
Michael Stapelberg [Sat, 26 Jan 2013 18:28:11 +0000 (19:28 +0100)]
add testcase for "move to output" wrapping
Francesco Mazzoli [Thu, 24 Jan 2013 23:02:09 +0000 (00:02 +0100)]
wrap when moving things to outputs with direction
Francesco Mazzoli [Thu, 24 Jan 2013 23:02:37 +0000 (00:02 +0100)]
update tests to test the output wrapping
Michael Stapelberg [Sat, 26 Jan 2013 16:56:43 +0000 (17:56 +0100)]
i3-msg: parse command replies and display errors nicely if there were errors
fixes #737
Michael Stapelberg [Sat, 26 Jan 2013 08:55:38 +0000 (09:55 +0100)]
Make i3-nagbar use the same font as configured for i3
Adrien Schildknecht [Fri, 25 Jan 2013 17:32:43 +0000 (18:32 +0100)]
remove the urgency indicator when a window is closed
Michael Stapelberg [Fri, 25 Jan 2013 15:10:37 +0000 (16:10 +0100)]
Call scratchpad_show() when focusing scratchpad windows via criteria
fixes #931
Michael Stapelberg [Fri, 25 Jan 2013 14:48:38 +0000 (15:48 +0100)]
Merge branch 'fix-scratchpad-reconf'
Michael Stapelberg [Fri, 25 Jan 2013 14:48:38 +0000 (15:48 +0100)]
Merge branch 'master' into next
Michael Stapelberg [Fri, 25 Jan 2013 14:47:43 +0000 (15:47 +0100)]
Bugfix: fix coordinates of scratchpad windows on output changes (Thanks badboy)
Previously, after reconfiguring monitors, scratchpad windows could still
be focused but might be out of bounds for you to see.
fixes #929
Michael Stapelberg [Fri, 25 Jan 2013 14:26:53 +0000 (15:26 +0100)]
scratchpad: fix crash when moving last window of an invisible workspace (+test) (Thanks bafain)
It looks like the code which was removed with this commit was not
necessary anyways since con_move_to_workspace() by now checks on its own
whether it moves to the scratchpad.
fixes #913
Michael Stapelberg [Fri, 25 Jan 2013 13:53:15 +0000 (14:53 +0100)]
fix two more crashes when disabling an empty output
Michael Stapelberg [Fri, 25 Jan 2013 13:14:06 +0000 (14:14 +0100)]
Bugfix: fix crash when disabling output without any windows (Thanks xeen, knopwob)
fixes #919
Michael Stapelberg [Fri, 25 Jan 2013 12:56:26 +0000 (13:56 +0100)]
Merge branch 'fix-workspace-ws'
Michael Stapelberg [Fri, 25 Jan 2013 12:56:26 +0000 (13:56 +0100)]
Merge branch 'master' into next
Michael Stapelberg [Fri, 25 Jan 2013 12:55:26 +0000 (13:55 +0100)]
Bugfix: parse outputs as "word", not "string", to ignore trailing whitespace (Thanks leifarne)
fixes #921
Michael Stapelberg [Thu, 24 Jan 2013 16:21:34 +0000 (17:21 +0100)]
i3bar: fix rendering positions
Michael Stapelberg [Thu, 24 Jan 2013 15:09:51 +0000 (16:09 +0100)]
i3bar: don’t use X11 borders to avoid overlapping in hide mode
fixes #923
Michael Stapelberg [Thu, 24 Jan 2013 13:45:14 +0000 (14:45 +0100)]
Merge branch 'fix-key-release'
Michael Stapelberg [Thu, 24 Jan 2013 13:45:14 +0000 (14:45 +0100)]
Merge branch 'master' into next
Michael Stapelberg [Thu, 24 Jan 2013 13:44:01 +0000 (14:44 +0100)]
Bugfix: fix “overlapping” --release key bindings (Thanks phlux)
We eagerly marked all KeyRelease bindings as eligible to match without
checking modifiers, while this should only be allowed for the key
binding which actually was pressed.
fixes #915
Michael Stapelberg [Thu, 24 Jan 2013 12:57:08 +0000 (13:57 +0100)]
i3-input: set focus before sending the command (Thanks emias)
This avoids problems with sending 'focus left' or other commands which
manipulate focus.
Marius Muja [Wed, 2 Jan 2013 09:19:38 +0000 (01:19 -0800)]
Fixing continuous resize bug in floating mode
fixes #910
David Edmondson [Wed, 23 Jan 2013 16:21:07 +0000 (16:21 +0000)]
Allow servers which do not support the XKB extension.
If we can open the X display but the XKB extension is not available,
continue without it.
Michael Stapelberg [Wed, 23 Jan 2013 17:59:36 +0000 (18:59 +0100)]
ipc: use ipc_recv_message instead of duplicate code
This should fix the situation where i3 would read only the header and
not the payload of the message.
Michael Stapelberg [Wed, 23 Jan 2013 17:50:21 +0000 (18:50 +0100)]
ipc_recv_message: store message_type, don’t compare. add distinct EOF retval
Also use ELOG, which requires i3-msg to provide logging functions.
Michael Stapelberg [Wed, 23 Jan 2013 07:11:27 +0000 (08:11 +0100)]
i3-msg: include socket path in error message
Michael Stapelberg [Fri, 11 Jan 2013 21:28:43 +0000 (22:28 +0100)]
include stdint.h in i3/ipc.h (Thanks Kai)
Michael Stapelberg [Fri, 11 Jan 2013 18:09:41 +0000 (19:09 +0100)]
ipc_send_message: use stack frame with fixed size
Michael Stapelberg [Wed, 9 Jan 2013 17:11:17 +0000 (18:11 +0100)]
Merge branch 'fix-ipc-write'
Michael Stapelberg [Wed, 9 Jan 2013 17:11:17 +0000 (18:11 +0100)]
Merge branch 'master' into next
Michael Stapelberg [Wed, 9 Jan 2013 17:11:03 +0000 (18:11 +0100)]
Bugfix: fix IPC messages writes with low buffer sizes (Thanks jasper, dcoppa)
Use the following command to reproduce this bug:
echo 4096 | sudo tee /proc/sys/net/core/wmem_default
Then just switch workspaces with some windows on it and i3bar would
exit due to malformed IPC messages.
This bug hits OpenBSD users (and possibly other BSDs) due to their lower
default buffer size.
fixes #896
slowpoke [Tue, 1 Jan 2013 19:09:03 +0000 (19:09 +0000)]
Adds Go IPC lib to the docs.
Michael Stapelberg [Wed, 2 Jan 2013 22:09:52 +0000 (23:09 +0100)]
i3bar: set _NET_SYSTEM_TRAY_COLORS for symbolic icons (gtk3+)
Michael Stapelberg [Wed, 2 Jan 2013 21:48:20 +0000 (22:48 +0100)]
i3bar: fake DestroyNotify and send MANAGER ClientMessages to fix tray restarts
fixes #745
Michael Stapelberg [Wed, 2 Jan 2013 10:38:03 +0000 (11:38 +0100)]
i3bar: add missing \n to debug messages