]> git.sur5r.net Git - i3/i3/log
i3/i3
13 years agoxcb: use predefined XCB_ATOM_ atoms, don’t request them
Michael Stapelberg [Tue, 16 Aug 2011 23:41:19 +0000 (01:41 +0200)]
xcb: use predefined XCB_ATOM_ atoms, don’t request them

13 years agoMerge branch 'i3bar-fixes'
Michael Stapelberg [Fri, 12 Aug 2011 21:10:21 +0000 (23:10 +0200)]
Merge branch 'i3bar-fixes'

13 years agolittle comment spelling fixes
Michael Stapelberg [Fri, 12 Aug 2011 21:09:59 +0000 (23:09 +0200)]
little comment spelling fixes

13 years agoPass NULL to XkbOpenDisplay, it will read $DISPLAY itself
Michael Stapelberg [Fri, 12 Aug 2011 21:09:36 +0000 (23:09 +0200)]
Pass NULL to XkbOpenDisplay, it will read $DISPLAY itself

13 years agoBugfix: Use correct buffer size, quote workspace names
Michael Stapelberg [Fri, 12 Aug 2011 20:53:49 +0000 (22:53 +0200)]
Bugfix: Use correct buffer size, quote workspace names

This fixes problems with the workspace 'next' and workspace names longer than
40 characters

13 years agoMerge branch 'warp-pointer'
Michael Stapelberg [Thu, 11 Aug 2011 20:22:36 +0000 (22:22 +0200)]
Merge branch 'warp-pointer'

13 years agoWarp cursor when changing workspace.
Valentin Voigt [Thu, 11 Aug 2011 19:57:22 +0000 (21:57 +0200)]
Warp cursor when changing workspace.

13 years agoMerge branch 'i3bar_warning_fix'
Axel Wagner [Wed, 10 Aug 2011 21:55:20 +0000 (23:55 +0200)]
Merge branch 'i3bar_warning_fix'

13 years agoi3bar: Fix prototypes (thx sECuRE)
Axel Wagner [Wed, 10 Aug 2011 21:54:27 +0000 (23:54 +0200)]
i3bar: Fix prototypes (thx sECuRE)

13 years agoMerge branch 'fix-moving-focus'
Michael Stapelberg [Tue, 9 Aug 2011 08:02:51 +0000 (10:02 +0200)]
Merge branch 'fix-moving-focus'

13 years agoFix two focus issues when switching/moving workspaces
Peter Bui [Mon, 8 Aug 2011 21:55:37 +0000 (17:55 -0400)]
Fix two focus issues when switching/moving workspaces

1. Fix focus when moving to same workspace.

If we have a single window on a workspace and we switch to the same
worksapce, focus_next will be the workspace container, rather than the
current window, so simply call con_descend_focused to ensure we set the
focus to a window.

2. Fix focus when moving a container to a visible workspace.

Call workspace_show before we attaching to new visible workspace, so we
don't get in the weird situation where target workspace has focused
window, but it isn't considered focused.

13 years agoMerge branch 'fix-resize'
Michael Stapelberg [Tue, 9 Aug 2011 07:47:06 +0000 (09:47 +0200)]
Merge branch 'fix-resize'

13 years agoswap up/down, also modify the testcase
Michael Stapelberg [Tue, 9 Aug 2011 07:46:02 +0000 (09:46 +0200)]
swap up/down, also modify the testcase

13 years agoResize uses up and down, not bottom and top
Peter Bui [Mon, 8 Aug 2011 20:18:55 +0000 (16:18 -0400)]
Resize uses up and down, not bottom and top

- Fix userguide resize example
- Update migration script

13 years agoMerge branch 'new-fix-leaks'
Michael Stapelberg [Tue, 9 Aug 2011 07:27:40 +0000 (09:27 +0200)]
Merge branch 'new-fix-leaks'

13 years agoBugfix: don’t free the old json_output, the caller does that
Michael Stapelberg [Tue, 9 Aug 2011 06:41:42 +0000 (08:41 +0200)]
Bugfix: don’t free the old json_output, the caller does that

13 years agoBugfix: use FREE to correctly handle NULL replies
Michael Stapelberg [Tue, 9 Aug 2011 06:41:14 +0000 (08:41 +0200)]
Bugfix: use FREE to correctly handle NULL replies

13 years agoFix some potential memory leaks
Peter Bui [Tue, 9 Aug 2011 01:44:39 +0000 (21:44 -0400)]
Fix some potential memory leaks

13 years agoinitialize most to NULL, fixes warning
Michael Stapelberg [Sun, 7 Aug 2011 18:45:06 +0000 (20:45 +0200)]
initialize most to NULL, fixes warning

13 years agoupdate changelog (no, we are not releasing)
Michael Stapelberg [Sun, 7 Aug 2011 16:15:01 +0000 (18:15 +0200)]
update changelog (no, we are not releasing)

13 years agoMerge branch 'fix-split-docs'
Michael Stapelberg [Sun, 7 Aug 2011 16:03:51 +0000 (18:03 +0200)]
Merge branch 'fix-split-docs'

13 years agodocs/userguide: use bindsym for the 'split' example (Thanks Jan)
Michael Stapelberg [Sun, 7 Aug 2011 16:03:29 +0000 (18:03 +0200)]
docs/userguide: use bindsym for the 'split' example (Thanks Jan)

13 years agoMerge branch 'fix-ws-direction'
Michael Stapelberg [Sun, 7 Aug 2011 15:56:32 +0000 (17:56 +0200)]
Merge branch 'fix-ws-direction'

13 years agorewrite con_descend_orientation
Michael Stapelberg [Sun, 7 Aug 2011 13:57:36 +0000 (15:57 +0200)]
rewrite con_descend_orientation

It now uses the container orientation (if it is appropriate, the last focused
one otherwise) to recurse. This works better if the target workspace is in
vertical orientation when you use right/left or if it is in horizontal
orientation but you use up/down.

13 years agoBugfix: the up/down directions were swapped
Michael Stapelberg [Sun, 7 Aug 2011 13:46:24 +0000 (15:46 +0200)]
Bugfix: the up/down directions were swapped

Also compare 'output' and 'current' in the same order in both parts of the
condition to make the comparison more clear.

13 years agolittle style fixes
Michael Stapelberg [Sun, 7 Aug 2011 13:24:51 +0000 (15:24 +0200)]
little style fixes

13 years agoImplement switching focus across screens.
Peter Bui [Sat, 6 Aug 2011 16:28:05 +0000 (12:28 -0400)]
Implement switching focus across screens.

Modify _tree_next() so that when we reach the workspace container:

1. Find the next corresponding output (screen) using the added
get_output_next().

2. If there is another output, find the visible workspace.

3. Call workspace_show on found workspace.

4. Find the appropriate window to focus (leftmost/rightmost, etc.) using
con_descend_direction, and then focus it.

I've only tested on horizontal monitors (left/right).

13 years agoMerge branch 'fix-floating-raise'
Michael Stapelberg [Sat, 6 Aug 2011 16:54:44 +0000 (18:54 +0200)]
Merge branch 'fix-floating-raise'

13 years agoBugfix: Call tree_render() before starting the dragging when dragging a floating...
Michael Stapelberg [Sat, 6 Aug 2011 16:53:39 +0000 (18:53 +0200)]
Bugfix: Call tree_render() before starting the dragging when dragging a floating window (Thanks eeemsi)

Fixes #462

13 years agoMerge branch 'fix-border-rendering'
Michael Stapelberg [Thu, 4 Aug 2011 23:04:24 +0000 (01:04 +0200)]
Merge branch 'fix-border-rendering'

13 years agoFix border rendering (Thanks Paride Legovini)
Michael Stapelberg [Thu, 4 Aug 2011 23:03:56 +0000 (01:03 +0200)]
Fix border rendering (Thanks Paride Legovini)

13 years agoMerge branch 'fix-restart'
Michael Stapelberg [Thu, 4 Aug 2011 21:37:34 +0000 (23:37 +0200)]
Merge branch 'fix-restart'

13 years agoBugfix: Use the right format string (Thanks pnutzh4x0r)
Michael Stapelberg [Thu, 4 Aug 2011 21:34:23 +0000 (23:34 +0200)]
Bugfix: Use the right format string (Thanks pnutzh4x0r)

13 years agoBugfix: Correctly parse the 'focused' (it’s a bool, no longer int) when restoring...
Michael Stapelberg [Thu, 4 Aug 2011 20:58:19 +0000 (22:58 +0200)]
Bugfix: Correctly parse the 'focused' (it’s a bool, no longer int) when restoring layout (Thanks andi)

13 years agoMerge branch 'fix-stacking'
Michael Stapelberg [Thu, 4 Aug 2011 20:21:27 +0000 (22:21 +0200)]
Merge branch 'fix-stacking'

13 years agoBugfix: Fix stacking order
Michael Stapelberg [Thu, 4 Aug 2011 20:19:30 +0000 (22:19 +0200)]
Bugfix: Fix stacking order

The commit 192dbdabd6ab02d1afb994a73ba389eacaae8c95 introduced a regression
here (open three floating windows and try to raise them with clicking to see
what i mean)

13 years agoMerge branch 'fix-instance-criterion'
Michael Stapelberg [Thu, 4 Aug 2011 18:11:40 +0000 (20:11 +0200)]
Merge branch 'fix-instance-criterion'

13 years agoextend t/65-for_window to check for the 'instance' criterion
Michael Stapelberg [Thu, 4 Aug 2011 18:11:01 +0000 (20:11 +0200)]
extend t/65-for_window to check for the 'instance' criterion

13 years agoAdd "instance" to matching criteria
Mateusz Poszwa [Thu, 4 Aug 2011 15:12:54 +0000 (17:12 +0200)]
Add "instance" to matching criteria

13 years agoMerge branch 'i3-wsbar-fixes'
Michael Stapelberg [Wed, 3 Aug 2011 22:40:48 +0000 (00:40 +0200)]
Merge branch 'i3-wsbar-fixes'

13 years agoi3-wsbar: display a separator between workspaces for every output when --show-all...
Michael Stapelberg [Wed, 3 Aug 2011 01:54:00 +0000 (03:54 +0200)]
i3-wsbar: display a separator between workspaces for every output when --show-all is used (Thanks marforio)

Fixes #417

13 years agoi3-wsbar: correctly handle EOF on stdin
Michael Stapelberg [Tue, 2 Aug 2011 21:31:03 +0000 (23:31 +0200)]
i3-wsbar: correctly handle EOF on stdin

13 years agoi3-wsbar: make workspace names clickable (Thanks marforio)
Michael Stapelberg [Tue, 2 Aug 2011 21:25:29 +0000 (23:25 +0200)]
i3-wsbar: make workspace names clickable (Thanks marforio)

13 years agoMerge branch 'ws-nextprev'
Michael Stapelberg [Wed, 3 Aug 2011 22:16:08 +0000 (00:16 +0200)]
Merge branch 'ws-nextprev'

13 years agoModify workspace next/prev to account for workspaces on all outputs.
Peter Bui [Wed, 3 Aug 2011 21:41:40 +0000 (17:41 -0400)]
Modify workspace next/prev to account for workspaces on all outputs.

Generally, the traversal goes: numbered workspaces in order, and then
named workspaces in the order in which they appear in the tree.

Example:
    Output 1:       Output 2:
1 3 D C         2 4 B A

Traversal: 1, 2, 3, 4, D, C, B, A, 1, ...

Note, after the numbered workspaces, we traverse the named workspaces
from output 1, and then output 2, etc.

13 years agoMerge branch 'fix-wsnum'
Michael Stapelberg [Wed, 3 Aug 2011 22:10:56 +0000 (00:10 +0200)]
Merge branch 'fix-wsnum'

13 years agoBugfix: Use the appropriate number when assigning numbered workspaces in randr.c
Michael Stapelberg [Wed, 3 Aug 2011 22:10:23 +0000 (00:10 +0200)]
Bugfix: Use the appropriate number when assigning numbered workspaces in randr.c

13 years agoInclude <limits.h> in all.h
Michael Stapelberg [Wed, 3 Aug 2011 22:10:04 +0000 (00:10 +0200)]
Include <limits.h> in all.h

13 years agoMerge branch 'doc-floating'
Michael Stapelberg [Wed, 3 Aug 2011 18:48:57 +0000 (20:48 +0200)]
Merge branch 'doc-floating'

13 years agodocs/userguide: the correct command is 'floating enable', not 'mode floating' (Thanks...
Michael Stapelberg [Wed, 3 Aug 2011 18:47:29 +0000 (20:47 +0200)]
docs/userguide: the correct command is 'floating enable', not 'mode floating' (Thanks Sander)

Fixes: #453
13 years agoMerge branch 'fix-chromium-tabbar'
Michael Stapelberg [Wed, 3 Aug 2011 18:44:10 +0000 (20:44 +0200)]
Merge branch 'fix-chromium-tabbar'

13 years agoBugfix: realloc() with size == 0 works like free() and returns NULL, so don’t die()
Michael Stapelberg [Wed, 3 Aug 2011 18:43:08 +0000 (20:43 +0200)]
Bugfix: realloc() with size == 0 works like free() and returns NULL, so don’t die()

13 years agoBugfix: Correctly set the _NET_CLIENT_LIST_STACKING hint (fixes chromium tabbar)
Michael Stapelberg [Wed, 3 Aug 2011 18:07:03 +0000 (20:07 +0200)]
Bugfix: Correctly set the _NET_CLIENT_LIST_STACKING hint (fixes chromium tabbar)

Fixes #287

13 years agoMerge branch 'fix-floating-resize'
Michael Stapelberg [Wed, 3 Aug 2011 12:49:23 +0000 (14:49 +0200)]
Merge branch 'fix-floating-resize'

13 years agoBugfix: Fix 'resize' with direction != 'up' for floating windows
Michael Stapelberg [Wed, 3 Aug 2011 12:48:52 +0000 (14:48 +0200)]
Bugfix: Fix 'resize' with direction != 'up' for floating windows

Fixes #447

13 years agot/41-resize: also verify resize for floating windows
Michael Stapelberg [Wed, 3 Aug 2011 12:48:33 +0000 (14:48 +0200)]
t/41-resize: also verify resize for floating windows

13 years agoMerge branch 'workspace-order-fix'
Michael Stapelberg [Wed, 3 Aug 2011 10:18:40 +0000 (12:18 +0200)]
Merge branch 'workspace-order-fix'

13 years agoBugfix: Correctly check if the workspace already exists
Michael Stapelberg [Wed, 3 Aug 2011 10:18:30 +0000 (12:18 +0200)]
Bugfix: Correctly check if the workspace already exists

13 years agoMerge branch 'fix-dpkg-build'
Michael Stapelberg [Wed, 3 Aug 2011 02:10:24 +0000 (04:10 +0200)]
Merge branch 'fix-dpkg-build'

13 years agodebian: fix debian/rules for multiple builds (Thanks ccount)
Michael Stapelberg [Wed, 3 Aug 2011 02:09:59 +0000 (04:09 +0200)]
debian: fix debian/rules for multiple builds (Thanks ccount)

13 years agoMerge branch 'workspace-startup-order'
Michael Stapelberg [Wed, 3 Aug 2011 01:33:34 +0000 (03:33 +0200)]
Merge branch 'workspace-startup-order'

13 years agoMerge branch 'workspace-startup-order' into next
Michael Stapelberg [Wed, 3 Aug 2011 01:33:31 +0000 (03:33 +0200)]
Merge branch 'workspace-startup-order' into next

13 years agoalso handle quoted workspace names, extend t/72 for that
Michael Stapelberg [Wed, 3 Aug 2011 01:33:12 +0000 (03:33 +0200)]
also handle quoted workspace names, extend t/72 for that

13 years agoBugfix: When looking for an unused workspace, try the named workspaces first
Michael Stapelberg [Wed, 3 Aug 2011 01:08:59 +0000 (03:08 +0200)]
Bugfix: When looking for an unused workspace, try the named workspaces first

Fixes: #449
13 years agoadd testcase to check if i3 starts on the first named workspace (ticket #449)
Michael Stapelberg [Wed, 3 Aug 2011 00:56:24 +0000 (02:56 +0200)]
add testcase to check if i3 starts on the first named workspace (ticket #449)

13 years agoMerge branch 'tests-i3lib-launch' into next
Michael Stapelberg [Wed, 3 Aug 2011 00:14:05 +0000 (02:14 +0200)]
Merge branch 'tests-i3lib-launch' into next

13 years agoMerge branch 'tests-i3lib-launch'
Michael Stapelberg [Wed, 3 Aug 2011 00:14:00 +0000 (02:14 +0200)]
Merge branch 'tests-i3lib-launch'

13 years agot/70-force-focus-wrapping: use launch_with_config
Michael Stapelberg [Wed, 3 Aug 2011 00:12:29 +0000 (02:12 +0200)]
t/70-force-focus-wrapping: use launch_with_config

13 years agot/67-workspace_layout: use launch_with_config
Michael Stapelberg [Wed, 3 Aug 2011 00:04:52 +0000 (02:04 +0200)]
t/67-workspace_layout: use launch_with_config

13 years agot/66-assign: use launch_with_config
Michael Stapelberg [Wed, 3 Aug 2011 00:02:38 +0000 (02:02 +0200)]
t/66-assign: use launch_with_config

13 years agotests: implement i3test::launch_with_config, use it in t/65-for_window
Michael Stapelberg [Tue, 2 Aug 2011 22:03:13 +0000 (00:03 +0200)]
tests: implement i3test::launch_with_config, use it in t/65-for_window

13 years agoMerge branch 'fix-resize-too-much' into next
Michael Stapelberg [Tue, 2 Aug 2011 20:32:37 +0000 (22:32 +0200)]
Merge branch 'fix-resize-too-much' into next

13 years agoMerge branch 'fix-resize-too-much'
Michael Stapelberg [Tue, 2 Aug 2011 20:32:34 +0000 (22:32 +0200)]
Merge branch 'fix-resize-too-much'

13 years agoBugfix: Ensure that the percentage is > 0.05 when using the 'resize' cmd (Thanks...
Michael Stapelberg [Tue, 2 Aug 2011 20:31:45 +0000 (22:31 +0200)]
Bugfix: Ensure that the percentage is > 0.05 when using the 'resize' cmd (Thanks rogutes)

Fixes #437

13 years agoMerge branch 'fix-multi-for_window' into next
Michael Stapelberg [Tue, 2 Aug 2011 17:46:36 +0000 (19:46 +0200)]
Merge branch 'fix-multi-for_window' into next

13 years agoBugfix: Make the criteria rules recursive in src/cfgparse.y, too (Thanks f8l)
Michael Stapelberg [Tue, 2 Aug 2011 17:44:44 +0000 (19:44 +0200)]
Bugfix: Make the criteria rules recursive in src/cfgparse.y, too (Thanks f8l)

13 years agot/65-for_window: add a testcase for multiple criteria
Michael Stapelberg [Tue, 2 Aug 2011 17:37:04 +0000 (19:37 +0200)]
t/65-for_window: add a testcase for multiple criteria

13 years agotests: make t/65-for-window.t use separate i3 instances
Michael Stapelberg [Tue, 2 Aug 2011 17:21:09 +0000 (19:21 +0200)]
tests: make t/65-for-window.t use separate i3 instances

13 years agoMerge branch 'multi-keycodes-fix'
Michael Stapelberg [Tue, 2 Aug 2011 08:47:23 +0000 (10:47 +0200)]
Merge branch 'multi-keycodes-fix'

13 years agoMerge branch 'multi-keycodes-fix' into next
Michael Stapelberg [Tue, 2 Aug 2011 08:47:12 +0000 (10:47 +0200)]
Merge branch 'multi-keycodes-fix' into next

13 years agoBugfix: Correctly bind on multiple keycodes if a symbol has more than one (Thanks...
Michael Stapelberg [Tue, 2 Aug 2011 08:47:03 +0000 (10:47 +0200)]
Bugfix: Correctly bind on multiple keycodes if a symbol has more than one (Thanks ubitux)

13 years agoupdate debian packaging
Michael Stapelberg [Mon, 1 Aug 2011 21:35:08 +0000 (23:35 +0200)]
update debian packaging

13 years agoMerge branch 'next'
Michael Stapelberg [Mon, 1 Aug 2011 21:28:08 +0000 (23:28 +0200)]
Merge branch 'next'

13 years agomake dist: include i3bar, pre-generate its manpage 4.0.1
Michael Stapelberg [Mon, 1 Aug 2011 21:27:50 +0000 (23:27 +0200)]
make dist: include i3bar, pre-generate its manpage

13 years agoMerge branch 'next'
Michael Stapelberg [Mon, 1 Aug 2011 21:18:53 +0000 (23:18 +0200)]
Merge branch 'next'

13 years agoadd release notes for 4.0.1
Michael Stapelberg [Mon, 1 Aug 2011 21:18:32 +0000 (23:18 +0200)]
add release notes for 4.0.1

13 years agoalso start i3bar in the keycode config template
Michael Stapelberg [Mon, 1 Aug 2011 19:23:44 +0000 (21:23 +0200)]
also start i3bar in the keycode config template

13 years agoMerge branch 'darwin-fixes' into next
Michael Stapelberg [Mon, 1 Aug 2011 16:09:47 +0000 (18:09 +0200)]
Merge branch 'darwin-fixes' into next

13 years agoenable -Wl,--as-needed only on Linux (doesn’t work on Mac OS X)
Michael Stapelberg [Mon, 1 Aug 2011 16:09:27 +0000 (18:09 +0200)]
enable -Wl,--as-needed only on Linux (doesn’t work on Mac OS X)

13 years agomakefile: redirect stderr of 'which' to /dev/null when checking for lcov
Michael Stapelberg [Mon, 1 Aug 2011 15:12:04 +0000 (17:12 +0200)]
makefile: redirect stderr of 'which' to /dev/null when checking for lcov

13 years agoMac OS X fixes: include string.h, add strndup(), disable xmllint for the docs
Michael Stapelberg [Mon, 1 Aug 2011 14:17:59 +0000 (16:17 +0200)]
Mac OS X fixes: include string.h, add strndup(), disable xmllint for the docs

13 years agoLDFLAGS: add -Wl,--as-needed. reduces .so dependencies
Michael Stapelberg [Mon, 1 Aug 2011 14:13:38 +0000 (16:13 +0200)]
LDFLAGS: add -Wl,--as-needed. reduces .so dependencies

Let’s see if that works on all systems :)

13 years agomake i3bar use i3’s common.mk
Michael Stapelberg [Mon, 1 Aug 2011 14:13:19 +0000 (16:13 +0200)]
make i3bar use i3’s common.mk

13 years agoMerge i3bar into next
Michael Stapelberg [Mon, 1 Aug 2011 13:55:21 +0000 (15:55 +0200)]
Merge i3bar into next

13 years agodocs/userguide: remove the bar.* color keys (Thanks aksr)
Michael Stapelberg [Mon, 1 Aug 2011 12:42:21 +0000 (14:42 +0200)]
docs/userguide: remove the bar.* color keys (Thanks aksr)

13 years agodocs/userguide: use i3bar instead of dzen2 in the 'exec' example (Thanks ubitux)
Michael Stapelberg [Mon, 1 Aug 2011 12:40:01 +0000 (14:40 +0200)]
docs/userguide: use i3bar instead of dzen2 in the 'exec' example (Thanks ubitux)

13 years agoupdate debian packaging
Michael Stapelberg [Mon, 1 Aug 2011 12:39:45 +0000 (14:39 +0200)]
update debian packaging

13 years agoMerge branch 'next'
Michael Stapelberg [Sun, 31 Jul 2011 22:52:32 +0000 (00:52 +0200)]
Merge branch 'next'

13 years agodocs/userguide: update keyboard-layer images, remove incomplete warning 4.0
Michael Stapelberg [Sun, 31 Jul 2011 21:53:10 +0000 (23:53 +0200)]
docs/userguide: update keyboard-layer images, remove incomplete warning

13 years agodocs/userguide: update keyboard-layer images, remove incomplete warning
Michael Stapelberg [Sun, 31 Jul 2011 21:53:10 +0000 (23:53 +0200)]
docs/userguide: update keyboard-layer images, remove incomplete warning