Michael Stapelberg
7c6f693c8a
Bugfix: Don’t consider the workspace next/prev command when looking for named workspaces
...
Fixes #469
2011-08-17 12:28:45 +02:00
Michael Stapelberg
13ecbf43c9
Merge branch 'fix-verbose'
2011-08-17 12:17:26 +02:00
Michael Stapelberg
22882f4e89
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' :-).
2011-08-17 12:16:32 +02:00
Michael Stapelberg
336ce56cf3
Merge branch 'fix-warping'
2011-08-17 12:14:03 +02:00
Peter Bui
36224f86d1
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.
2011-08-17 12:12:40 +02:00
Michael Stapelberg
637d2a3d62
Merge branch 'use-xcb-atoms'
2011-08-17 01:52:41 +02:00
Michael Stapelberg
7951445849
xcb: use predefined XCB_ATOM_ atoms, don’t request them
2011-08-17 01:41:19 +02:00
Michael Stapelberg
c8e6de1382
Merge branch 'i3bar-fixes'
2011-08-12 23:10:21 +02:00
Michael Stapelberg
dddce72bd7
little comment spelling fixes
2011-08-12 23:09:59 +02:00
Michael Stapelberg
72ef8a7c19
Pass NULL to XkbOpenDisplay, it will read $DISPLAY itself
2011-08-12 23:09:36 +02:00
Michael Stapelberg
3892d616cf
Bugfix: Use correct buffer size, quote workspace names
...
This fixes problems with the workspace 'next' and workspace names longer than
40 characters
2011-08-12 22:57:02 +02:00
Michael Stapelberg
79479617c7
Merge branch 'warp-pointer'
2011-08-11 22:22:36 +02:00
Valentin Voigt
bf0c67b2af
Warp cursor when changing workspace.
2011-08-11 22:13:50 +02:00
Axel Wagner
318dfce42f
Merge branch 'i3bar_warning_fix'
2011-08-10 23:55:20 +02:00
Axel Wagner
94d55f34e1
i3bar: Fix prototypes (thx sECuRE)
2011-08-10 23:54:27 +02:00
Michael Stapelberg
6b1dce27f7
Merge branch 'fix-moving-focus'
2011-08-09 10:02:51 +02:00
Peter Bui
d8cf36ce83
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.
2011-08-09 10:01:08 +02:00
Michael Stapelberg
042b10e068
Merge branch 'fix-resize'
2011-08-09 09:47:06 +02:00
Michael Stapelberg
98cc37e223
swap up/down, also modify the testcase
2011-08-09 09:46:02 +02:00
Peter Bui
3316d8b8ba
Resize uses up and down, not bottom and top
...
- Fix userguide resize example
- Update migration script
2011-08-09 09:42:36 +02:00
Michael Stapelberg
5dcbb341d1
Merge branch 'new-fix-leaks'
2011-08-09 09:27:40 +02:00
Michael Stapelberg
cd1add1f3c
Bugfix: don’t free the old json_output, the caller does that
2011-08-09 09:27:28 +02:00
Michael Stapelberg
95416175cd
Bugfix: use FREE to correctly handle NULL replies
2011-08-09 09:27:24 +02:00
Peter Bui
5e06b1b21d
Fix some potential memory leaks
2011-08-09 09:27:15 +02:00
Michael Stapelberg
6fb5d6e313
initialize most to NULL, fixes warning
2011-08-07 20:45:06 +02:00
Michael Stapelberg
b0f0a045bc
update changelog (no, we are not releasing)
2011-08-07 18:15:01 +02:00
Michael Stapelberg
503f318b53
Merge branch 'fix-split-docs'
2011-08-07 18:03:51 +02:00
Michael Stapelberg
0ec208bd75
docs/userguide: use bindsym for the 'split' example (Thanks Jan)
2011-08-07 18:03:29 +02:00
Michael Stapelberg
e17d49e6a4
Merge branch 'fix-ws-direction'
2011-08-07 17:56:32 +02:00
Michael Stapelberg
d39261a1f0
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.
2011-08-07 15:57:36 +02:00
Michael Stapelberg
99ba193ce7
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.
2011-08-07 15:46:24 +02:00
Michael Stapelberg
692d65b0fd
little style fixes
2011-08-07 15:24:51 +02:00
Peter Bui
a547365a88
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).
2011-08-07 14:33:07 +02:00
Michael Stapelberg
865c193971
Merge branch 'fix-floating-raise'
2011-08-06 18:54:44 +02:00
Michael Stapelberg
cd5e74bd8e
Bugfix: Call tree_render() before starting the dragging when dragging a floating window (Thanks eeemsi)
...
Fixes #462
2011-08-06 18:53:39 +02:00
Michael Stapelberg
863b3898a6
Merge branch 'fix-border-rendering'
2011-08-05 01:04:24 +02:00
Michael Stapelberg
ec0d67410a
Fix border rendering (Thanks Paride Legovini)
2011-08-05 01:03:56 +02:00
Michael Stapelberg
d4f32382c9
Merge branch 'fix-restart'
2011-08-04 23:37:34 +02:00
Michael Stapelberg
f2e1e220a4
Bugfix: Use the right format string (Thanks pnutzh4x0r)
2011-08-04 23:34:23 +02:00
Michael Stapelberg
7e0cbf18f9
Bugfix: Correctly parse the 'focused' (it’s a bool, no longer int) when restoring layout (Thanks andi)
2011-08-04 22:58:19 +02:00
Michael Stapelberg
93f475778f
Merge branch 'fix-stacking'
2011-08-04 22:21:27 +02:00
Michael Stapelberg
1d50cff7ca
Bugfix: Fix stacking order
...
The commit 192dbdabd6
introduced a regression
here (open three floating windows and try to raise them with clicking to see
what i mean)
2011-08-04 22:19:30 +02:00
Michael Stapelberg
8510a4e322
Merge branch 'fix-instance-criterion'
2011-08-04 20:11:40 +02:00
Michael Stapelberg
51119c75c1
extend t/65-for_window to check for the 'instance' criterion
2011-08-04 20:11:01 +02:00
Mateusz Poszwa
1913bf0e5c
Add "instance" to matching criteria
2011-08-04 20:10:31 +02:00
Michael Stapelberg
3d7f0f4ce3
Merge branch 'i3-wsbar-fixes'
2011-08-04 00:40:48 +02:00
Michael Stapelberg
6ad00b1dff
i3-wsbar: display a separator between workspaces for every output when --show-all is used (Thanks marforio)
...
Fixes #417
2011-08-04 00:40:40 +02:00
Michael Stapelberg
9d3c99ee38
i3-wsbar: correctly handle EOF on stdin
2011-08-04 00:40:40 +02:00
Michael Stapelberg
3038ad6c26
i3-wsbar: make workspace names clickable (Thanks marforio)
2011-08-04 00:40:40 +02:00
Michael Stapelberg
4fd877608d
Merge branch 'ws-nextprev'
2011-08-04 00:16:08 +02:00