]> git.sur5r.net Git - i3/i3/log
i3/i3
13 years agoi3bar: Correctly handle removal of tray clients
Michael Stapelberg [Mon, 15 Aug 2011 13:57:52 +0000 (15:57 +0200)]
i3bar: Correctly handle removal of tray clients

13 years agoi3bar: trigger an update after docking a new client
Michael Stapelberg [Mon, 15 Aug 2011 13:12:01 +0000 (15:12 +0200)]
i3bar: trigger an update after docking a new client

13 years agoi3bar: quick & dirty systray implementation
Michael Stapelberg [Fri, 12 Aug 2011 17:14:27 +0000 (19:14 +0200)]
i3bar: quick & dirty systray implementation

Works correctly only with exactly one dock client on exactly one output. Maybe
not even then. You have been warned. Proof-of-concept code ;).

13 years agoMerge branch 'master' into next
Michael Stapelberg [Tue, 23 Aug 2011 22:57:36 +0000 (00:57 +0200)]
Merge branch 'master' into next

13 years agoMerge branch 'fix-focustoggle'
Michael Stapelberg [Tue, 23 Aug 2011 22:57:32 +0000 (00:57 +0200)]
Merge branch 'fix-focustoggle'

13 years agoAdd test for the 'focus mode_toggle' issue (#487)
Michael Stapelberg [Tue, 23 Aug 2011 22:56:28 +0000 (00:56 +0200)]
Add test for the 'focus mode_toggle' issue (#487)

13 years agoBugfix: Fix 'focus mode_toggle' on an empty workspace (Thanks BeF)
Michael Stapelberg [Tue, 23 Aug 2011 22:55:11 +0000 (00:55 +0200)]
Bugfix: Fix 'focus mode_toggle' on an empty workspace (Thanks BeF)

Fixes #487

13 years agoMerge branch 'master' into next
Michael Stapelberg [Tue, 23 Aug 2011 19:32:56 +0000 (21:32 +0200)]
Merge branch 'master' into next

13 years agoMerge branch 'fix-path'
Michael Stapelberg [Tue, 23 Aug 2011 19:32:24 +0000 (21:32 +0200)]
Merge branch 'fix-path'

13 years agoDon’t use absolute paths in the default config (Thanks cls)
Michael Stapelberg [Tue, 23 Aug 2011 19:30:09 +0000 (21:30 +0200)]
Don’t use absolute paths in the default config (Thanks cls)

Fixes #489

13 years agoMerge branch 'master' into next
Michael Stapelberg [Mon, 22 Aug 2011 10:44:58 +0000 (12:44 +0200)]
Merge branch 'master' into next

13 years agodebian: s/dwm-tools/suckless-tools (Thanks sur5r)
Michael Stapelberg [Mon, 22 Aug 2011 10:44:44 +0000 (12:44 +0200)]
debian: s/dwm-tools/suckless-tools (Thanks sur5r)

13 years agoMerge branch 'master' into next
Michael Stapelberg [Sat, 20 Aug 2011 15:48:49 +0000 (17:48 +0200)]
Merge branch 'master' into next

13 years agoMerge branch 'fix-querypointer'
Michael Stapelberg [Sat, 20 Aug 2011 15:48:39 +0000 (17:48 +0200)]
Merge branch 'fix-querypointer'

13 years agoDon’t die, but ELOG and fallback when the pointer cannot be queried (Thanks Niklas)
Michael Stapelberg [Sat, 20 Aug 2011 15:48:07 +0000 (17:48 +0200)]
Don’t die, but ELOG and fallback when the pointer cannot be queried (Thanks Niklas)

13 years agoMerge branch 'master' into next
Michael Stapelberg [Wed, 17 Aug 2011 14:37:09 +0000 (16:37 +0200)]
Merge branch 'master' into next

13 years agoMerge branch 'fix-assignfocus'
Michael Stapelberg [Wed, 17 Aug 2011 14:37:05 +0000 (16:37 +0200)]
Merge branch 'fix-assignfocus'

13 years agoBugfix: Don’t change focus when assigned windows start on invisible workspaces (...
Michael Stapelberg [Wed, 17 Aug 2011 14:36:19 +0000 (16:36 +0200)]
Bugfix: Don’t change focus when assigned windows start on invisible workspaces (+test) (Thanks ioflag)

Fixes #468

13 years agoMerge branch 'move-output' into next
Michael Stapelberg [Wed, 17 Aug 2011 14:13:11 +0000 (16:13 +0200)]
Merge branch 'move-output' into next

13 years agouse 'break' instead of 'return', the generated code will end up in a switch statement
Michael Stapelberg [Wed, 17 Aug 2011 14:12:48 +0000 (16:12 +0200)]
use 'break' instead of 'return', the generated code will end up in a switch statement

13 years agoBUG-396: Implement move output <RANDR-OUTPUT> command
Peter Bui [Mon, 8 Aug 2011 21:28:19 +0000 (17:28 -0400)]
BUG-396: Implement move output <RANDR-OUTPUT> command

Also add support for move output <up|down|left|right> and update
userguide about the new command.

13 years agoMerge branch 'master' into next
Michael Stapelberg [Wed, 17 Aug 2011 11:44:01 +0000 (13:44 +0200)]
Merge branch 'master' into next

13 years agoupdate changelog (not releasing yet)
Michael Stapelberg [Wed, 17 Aug 2011 11:43:47 +0000 (13:43 +0200)]
update changelog (not releasing yet)

13 years agoMerge branch 'master' into next
Michael Stapelberg [Wed, 17 Aug 2011 11:37:33 +0000 (13:37 +0200)]
Merge branch 'master' into next

13 years agoMerge branch 'fix-startfocus'
Michael Stapelberg [Wed, 17 Aug 2011 11:37:30 +0000 (13:37 +0200)]
Merge branch 'fix-startfocus'

13 years agoBugfix: Set focus to where the mouse pointer is when starting (Thanks nutron)
Michael Stapelberg [Wed, 17 Aug 2011 11:37:08 +0000 (13:37 +0200)]
Bugfix: Set focus to where the mouse pointer is when starting (Thanks nutron)

Fixes #477

13 years agoMerge branch 'master' into next
Michael Stapelberg [Wed, 17 Aug 2011 10:29:15 +0000 (12:29 +0200)]
Merge branch 'master' into next

13 years agoMerge branch 'fix-wsnext'
Michael Stapelberg [Wed, 17 Aug 2011 10:29:12 +0000 (12:29 +0200)]
Merge branch 'fix-wsnext'

13 years agoBugfix: Don’t consider the workspace next/prev command when looking for named workspaces
Michael Stapelberg [Wed, 17 Aug 2011 10:28:45 +0000 (12:28 +0200)]
Bugfix: Don’t consider the workspace next/prev command when looking for named workspaces

Fixes #469

13 years agoMerge branch 'master' into next
Michael Stapelberg [Wed, 17 Aug 2011 10:17:29 +0000 (12:17 +0200)]
Merge branch 'master' into next

13 years agoMerge branch 'fix-verbose'
Michael Stapelberg [Wed, 17 Aug 2011 10:17:26 +0000 (12:17 +0200)]
Merge branch 'fix-verbose'

13 years agoBugfix: Initialize verbose to 'false' (Thanks tilman)
Michael Stapelberg [Wed, 17 Aug 2011 10:16:32 +0000 (12:16 +0200)]
Bugfix: Initialize verbose to 'false' (Thanks tilman)

Verbosity was set to 'true' when we started the tree branch.
We forgot to set it back to 'false' :-).

13 years agoMerge branch 'master' into next
Michael Stapelberg [Wed, 17 Aug 2011 10:14:17 +0000 (12:14 +0200)]
Merge branch 'master' into next

13 years agoMerge branch 'fix-warping'
Michael Stapelberg [Wed, 17 Aug 2011 10:14:03 +0000 (12:14 +0200)]
Merge branch 'fix-warping'

13 years agoOnly warp pointer once during x_push_changes()
Peter Bui [Fri, 12 Aug 2011 01:54:59 +0000 (21:54 -0400)]
Only warp pointer once during x_push_changes()

- Introduce warp_to static variable in x.c that stores the coordinates
  to warp to as a Rect.

- Add x_set_warp_to function to set this variable.  Use in _tree_next,
  workspace_show, and con_move_to_workspace.

- In x_push_chanages, if warp_to is set, then call xcb_warp_pointer_rect
  and then reset it to NULL.

This fixes all know bugs for pointer warping for me.

13 years agoMerge branch 'master' into next
Michael Stapelberg [Tue, 16 Aug 2011 23:52:45 +0000 (01:52 +0200)]
Merge branch 'master' into next

13 years agoMerge branch 'use-xcb-atoms'
Michael Stapelberg [Tue, 16 Aug 2011 23:52:41 +0000 (01:52 +0200)]
Merge branch 'use-xcb-atoms'

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 'master' into next
Michael Stapelberg [Fri, 12 Aug 2011 21:11:13 +0000 (23:11 +0200)]
Merge branch 'master' into next

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 'i3bar_fix_tabs' into next
Axel Wagner [Fri, 12 Aug 2011 16:44:36 +0000 (18:44 +0200)]
Merge branch 'i3bar_fix_tabs' into next

13 years agoi3bar: Fixup indentions
Axel Wagner [Fri, 12 Aug 2011 16:43:09 +0000 (18:43 +0200)]
i3bar: Fixup indentions

13 years agoMerge branch 'master' into next
Michael Stapelberg [Thu, 11 Aug 2011 20:22:44 +0000 (22:22 +0200)]
Merge branch 'master' into next

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 'master' into next
Axel Wagner [Wed, 10 Aug 2011 21:56:16 +0000 (23:56 +0200)]
Merge branch 'master' into next

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 'tests-optimize' into next
Michael Stapelberg [Wed, 10 Aug 2011 13:57:28 +0000 (15:57 +0200)]
Merge branch 'tests-optimize' into next

13 years agotestsuite: eliminate sleep, wait until i3 replies via IPC
Michael Stapelberg [Wed, 10 Aug 2011 13:56:39 +0000 (15:56 +0200)]
testsuite: eliminate sleep, wait until i3 replies via IPC

13 years agoimplement "socket activation": passing IPC sockets to i3
Michael Stapelberg [Wed, 10 Aug 2011 13:55:27 +0000 (15:55 +0200)]
implement "socket activation": passing IPC sockets to i3

13 years agoMerge branch 'master' into next
Michael Stapelberg [Tue, 9 Aug 2011 08:02:55 +0000 (10:02 +0200)]
Merge branch 'master' into next

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 'master' into next
Michael Stapelberg [Tue, 9 Aug 2011 07:47:10 +0000 (09:47 +0200)]
Merge branch 'master' into next

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-new_float' into next
Michael Stapelberg [Tue, 9 Aug 2011 07:30:12 +0000 (09:30 +0200)]
Merge branch 'new-new_float' into next

13 years agotests: add t/74-border-config which checks new_window and new_float
Michael Stapelberg [Tue, 9 Aug 2011 07:12:44 +0000 (09:12 +0200)]
tests: add t/74-border-config which checks new_window and new_float

13 years agoAdd new_float config option.
Mateusz Poszwa [Mon, 8 Aug 2011 19:51:21 +0000 (21:51 +0200)]
Add new_float config option.

This option sets the default border style for containers automatically put into floating mode.

Fixes #264

13 years agosrc/manage.c: properly set automatic flag when calling floating_enable()
Mateusz Poszwa [Mon, 8 Aug 2011 18:49:49 +0000 (20:49 +0200)]
src/manage.c: properly set automatic flag when calling floating_enable()

13 years agoMerge branch 'get-marks' into next
Michael Stapelberg [Tue, 9 Aug 2011 07:28:06 +0000 (09:28 +0200)]
Merge branch 'get-marks' into next

13 years agoMerge branch 'master' into next
Michael Stapelberg [Tue, 9 Aug 2011 07:27:55 +0000 (09:27 +0200)]
Merge branch 'master' into next

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 agodocs/ipc: make the GET_MARKS docs a little more precise
Michael Stapelberg [Tue, 9 Aug 2011 06:22:58 +0000 (08:22 +0200)]
docs/ipc: make the GET_MARKS docs a little more precise

13 years agotests: add testcase for the GET_MARKS ipc request
Michael Stapelberg [Tue, 9 Aug 2011 06:19:48 +0000 (08:19 +0200)]
tests: add testcase for the GET_MARKS ipc request

13 years agoPreserve marks between restarts.
Helgi Kristvin Sigurbjarnarson [Sun, 7 Aug 2011 16:42:23 +0000 (16:42 +0000)]
Preserve marks between restarts.

13 years agoAdd support for get_marks in i3-msg
Helgi Kristvin Sigurbjarnarson [Sun, 7 Aug 2011 17:03:10 +0000 (17:03 +0000)]
Add support for get_marks in i3-msg

13 years agoFeature: implement GET_MARKS
Helgi Kristvin Sigurbjarnarson [Sat, 6 Aug 2011 18:23:18 +0000 (18:23 +0000)]
Feature: implement GET_MARKS

13 years agoMerge branch 'master' into next
Michael Stapelberg [Sun, 7 Aug 2011 18:45:20 +0000 (20:45 +0200)]
Merge branch 'master' into next

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 agoMerge branch 'master' into next
Michael Stapelberg [Sun, 7 Aug 2011 16:15:10 +0000 (18:15 +0200)]
Merge branch 'master' into next

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 'master' into next
Michael Stapelberg [Sun, 7 Aug 2011 16:03:56 +0000 (18:03 +0200)]
Merge branch 'master' into next

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 'master' into next
Michael Stapelberg [Sun, 7 Aug 2011 15:56:37 +0000 (17:56 +0200)]
Merge branch 'master' into next

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 'master' into next
Michael Stapelberg [Sat, 6 Aug 2011 16:54:50 +0000 (18:54 +0200)]
Merge branch 'master' into next

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 'master' into next
Michael Stapelberg [Thu, 4 Aug 2011 23:04:28 +0000 (01:04 +0200)]
Merge branch 'master' into next

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 'master' into next
Michael Stapelberg [Thu, 4 Aug 2011 21:37:40 +0000 (23:37 +0200)]
Merge branch 'master' into next

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 'master' into next
Michael Stapelberg [Thu, 4 Aug 2011 20:21:42 +0000 (22:21 +0200)]
Merge branch 'master' into next