]>
git.sur5r.net Git - i3/i3/log
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 'master' into next
Michael Stapelberg [Wed, 30 Jan 2013 12:30:59 +0000 (13:30 +0100)]
Merge branch 'fix-move-ws'
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 'master' into next
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: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
Michael Stapelberg [Mon, 24 Dec 2012 15:57:30 +0000 (16:57 +0100)]
fix formatting in get_process_filename.c
Michael Stapelberg [Mon, 24 Dec 2012 15:56:20 +0000 (16:56 +0100)]
i3-nagbar: don’t quote the -e argument for i3-sensible-terminal
…not all terminals support it
Michael Stapelberg [Mon, 24 Dec 2012 15:53:20 +0000 (16:53 +0100)]
refactor both i3-nagbar starts into src/util.c
With this change, libev >= 4 is a hard dependency. It should be present
in all major linux distributions (even the latest ubuntu LTS).
Michael Stapelberg [Mon, 24 Dec 2012 14:57:02 +0000 (15:57 +0100)]
remove all references to the old cfgparse
Michael Stapelberg [Mon, 24 Dec 2012 14:46:57 +0000 (15:46 +0100)]
remove old cfgparse.{l,y}
Sascha Kruse [Mon, 10 Dec 2012 18:13:05 +0000 (19:13 +0100)]
render_con: initialize int sizes[children]
This fixes a clang-analyzer warning
Michael Stapelberg [Mon, 24 Dec 2012 14:28:08 +0000 (15:28 +0100)]
Revert "initialize array to fix clang-analyze warning"
This reverts commit
56e0ceb44e0745b1670952be8f324783abdb28c5 .
Michael Stapelberg [Mon, 24 Dec 2012 14:27:09 +0000 (15:27 +0100)]
pod2html: remove "(testsuite)" from title, it’s also for i3-dmenu-desktop
Michael Stapelberg [Mon, 24 Dec 2012 14:19:20 +0000 (15:19 +0100)]
initialize array to fix clang-analyze warning
Michael Stapelberg [Mon, 24 Dec 2012 14:13:47 +0000 (15:13 +0100)]
fix possibly uninitialized variable (Thanks knopwob)
Sascha Kruse [Mon, 10 Dec 2012 16:45:14 +0000 (17:45 +0100)]
i3-dump-log/main.c: error handling for write(...)
Michael Stapelberg [Mon, 24 Dec 2012 13:50:15 +0000 (14:50 +0100)]
Merge branch 'master' into next
Michael Stapelberg [Mon, 24 Dec 2012 13:50:11 +0000 (14:50 +0100)]
Merge branch 'fix-mapreq'
Michael Stapelberg [Mon, 24 Dec 2012 13:49:19 +0000 (14:49 +0100)]
Bugfix: handle MapRequests sent between i3 registering as a wm and handling events
This fixes the problem where i3-nagbar does not come up because its
MapRequest is ignored.
fixes #892
Michael Stapelberg [Sun, 23 Dec 2012 17:51:17 +0000 (18:51 +0100)]
Bugfix: Correctly close floating windows (Thanks eeemsi)
Michael Stapelberg [Sun, 23 Dec 2012 14:54:49 +0000 (15:54 +0100)]
Render tree before destroying X11 containers upon unmap (Thanks Merovius)
When an X11 window is closed (say, urxvt), i3 gets an UnmapNotify event
and destroys (DestroyWindow) the window decorations. Before this commit,
the DestroyWindow call was sent immediately.
This lead to a situation where — due to the DestroyNotify — EnterNotify
events were generated that would cause the focus to be set to the
underlying window.
With this commit, i3 first renders the tree and pushes changes to X11
before calling DestroyWindow. Therefore, the surrounding containers will
take up any space that was freed by the window which was closed and no
EnterNotify will be generated.
fixes #660
Joep van Delft [Thu, 20 Dec 2012 17:32:11 +0000 (18:32 +0100)]
Draw 1px tab separators left/right instead of 2px on the right only
fixes #894