]>
git.sur5r.net Git - i3/i3/log
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 'master' into next
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: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
Michael Stapelberg [Tue, 1 Jan 2013 15:31:27 +0000 (16:31 +0100)]
Merge branch 'fix-assign-and-move'
Michael Stapelberg [Tue, 1 Jan 2013 15:31:27 +0000 (16:31 +0100)]
Merge branch 'master' into next
Michael Stapelberg [Tue, 1 Jan 2013 15:31:08 +0000 (16:31 +0100)]
Bugfix: Fix for_window moving of assigned windows (Thanks bafain)
fixes #909
Michael Stapelberg [Thu, 27 Dec 2012 17:02:23 +0000 (18:02 +0100)]
t/175-startup-notification: use the testcases X11 connection
This needs X11::XCB >= 0.07 and will be skipped if that is not
installed.
This fixes a race condition in the testsuite.
Michael Stapelberg [Thu, 27 Dec 2012 16:04:13 +0000 (17:04 +0100)]
ignore MotionNotify events generated while warping the pointer
Michael Stapelberg [Thu, 27 Dec 2012 15:58:46 +0000 (16:58 +0100)]
debug message for window focus: include window ID
Michael Stapelberg [Thu, 27 Dec 2012 15:55:22 +0000 (16:55 +0100)]
t/132-move-workspace: add missing sync_with_i3
Michael Stapelberg [Thu, 27 Dec 2012 15:54:54 +0000 (16:54 +0100)]
unregister as window manager before restarting (fixes a race condition)
Michael Stapelberg [Thu, 27 Dec 2012 15:54:36 +0000 (16:54 +0100)]
use xcb_aux_sync to make sure our changes reach the X server, flushing is not enough
Michael Stapelberg [Wed, 26 Dec 2012 21:04:35 +0000 (22:04 +0100)]
t/166-assign: sync after mapping the window
Michael Stapelberg [Wed, 26 Dec 2012 21:04:15 +0000 (22:04 +0100)]
t/173-regress-focus-assign: sync after mapping the window
Michael Stapelberg [Wed, 26 Dec 2012 21:03:37 +0000 (22:03 +0100)]
t/189-floating-constraints: sync before getting window rects
Michael Stapelberg [Wed, 26 Dec 2012 21:03:02 +0000 (22:03 +0100)]
t/510-focus-across-outputs: fix sync order
syncing _after_ fresh_workspace makes no change, but we need to wait for
the WarpPointer request to be processed.
Michael Stapelberg [Wed, 26 Dec 2012 21:02:43 +0000 (22:02 +0100)]
t/503-workspace: sync after switching focus to a different output
Michael Stapelberg [Wed, 26 Dec 2012 17:32:13 +0000 (18:32 +0100)]
userguide: fix typo: s/11x/11px/
Michael Stapelberg [Wed, 26 Dec 2012 17:31:33 +0000 (18:31 +0100)]
i3-dmenu-desktop: skip broken files (no/empty Exec=) but warn about them
Michael Stapelberg [Wed, 26 Dec 2012 17:31:21 +0000 (18:31 +0100)]
i3-dmenu-desktop: skip files with broken utf8 but warn about it
Michael Stapelberg [Wed, 26 Dec 2012 13:23:47 +0000 (14:23 +0100)]
i3-config-wizard: clean all traces of the old config parser (Thanks cradle)
Michael Stapelberg [Tue, 25 Dec 2012 13:20:21 +0000 (14:20 +0100)]
drop the flex/bison dependency \o/
Michael Stapelberg [Tue, 25 Dec 2012 13:15:06 +0000 (14:15 +0100)]
i3-config-wizard: switch away from bison/flex to hand-written parser
This adds some code duplication which we might remove in a future
refactoring or not. Depends on whether unifying the parsers actually
makes the code better or not. I suspect it doesn’t :-).
Michael Stapelberg [Tue, 25 Dec 2012 11:41:00 +0000 (12:41 +0100)]
i3-dmenu-desktop: strip newlines from dmenu ≥ 4.4 (Thanks saurabhgeek92)
fixes #891
Simon Elsbrock [Fri, 21 Dec 2012 21:13:31 +0000 (22:13 +0100)]
move visible scratchpad window to focused workspace
If there is a visible scratchpad on another (non-internal) workspace,
bring it to the focused workspace instead of doing nothing.
closes #784
Michael Stapelberg [Mon, 24 Dec 2012 18:19:32 +0000 (19:19 +0100)]
move scratchpad test to separate file, otherwise it is non-conclusive