Commit Graph

2278 Commits

Author SHA1 Message Date
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
Peter Bui 1750192f63 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.
2011-08-04 00:12:09 +02:00
Michael Stapelberg 8287a94292 Merge branch 'fix-wsnum' 2011-08-04 00:10:56 +02:00
Michael Stapelberg d0741975f1 Bugfix: Use the appropriate number when assigning numbered workspaces in randr.c 2011-08-04 00:10:23 +02:00
Michael Stapelberg c883e7050a Include <limits.h> in all.h 2011-08-04 00:10:04 +02:00
Michael Stapelberg d0f1d8aa71 Merge branch 'doc-floating' 2011-08-03 20:48:57 +02:00
Michael Stapelberg 92481b133c docs/userguide: the correct command is 'floating enable', not 'mode floating' (Thanks Sander)
Fixes: #453
2011-08-03 20:48:28 +02:00
Michael Stapelberg b4882dc2b8 Merge branch 'fix-chromium-tabbar' 2011-08-03 20:44:10 +02:00
Michael Stapelberg e616b45c83 Bugfix: realloc() with size == 0 works like free() and returns NULL, so don’t die() 2011-08-03 20:43:08 +02:00
Michael Stapelberg 192dbdabd6 Bugfix: Correctly set the _NET_CLIENT_LIST_STACKING hint (fixes chromium tabbar)
Fixes #287
2011-08-03 20:07:03 +02:00
Michael Stapelberg 04a4d7c44a Merge branch 'fix-floating-resize' 2011-08-03 14:49:23 +02:00
Michael Stapelberg cc5f3ce95a Bugfix: Fix 'resize' with direction != 'up' for floating windows
Fixes #447
2011-08-03 14:48:52 +02:00
Michael Stapelberg 3ef7e3cee4 t/41-resize: also verify resize for floating windows 2011-08-03 14:48:33 +02:00
Michael Stapelberg cdae1b7f74 Merge branch 'workspace-order-fix' 2011-08-03 12:18:40 +02:00
Michael Stapelberg 9800d5286f Bugfix: Correctly check if the workspace already exists 2011-08-03 12:18:30 +02:00
Michael Stapelberg 3e077a0a31 Merge branch 'fix-dpkg-build' 2011-08-03 04:10:24 +02:00
Michael Stapelberg 4e87d6af30 debian: fix debian/rules for multiple builds (Thanks ccount) 2011-08-03 04:09:59 +02:00
Michael Stapelberg 4760f721e6 Merge branch 'workspace-startup-order' 2011-08-03 03:33:34 +02:00
Michael Stapelberg dfbed047c8 Merge branch 'workspace-startup-order' into next 2011-08-03 03:33:31 +02:00
Michael Stapelberg dcba8024de also handle quoted workspace names, extend t/72 for that 2011-08-03 03:33:12 +02:00
Michael Stapelberg 0092b245a1 Bugfix: When looking for an unused workspace, try the named workspaces first
Fixes: #449
2011-08-03 03:08:59 +02:00
Michael Stapelberg 72d2b2c9bd add testcase to check if i3 starts on the first named workspace (ticket #449) 2011-08-03 02:56:24 +02:00
Michael Stapelberg edfbfd131c Merge branch 'tests-i3lib-launch' into next 2011-08-03 02:14:05 +02:00
Michael Stapelberg 034ecbc930 Merge branch 'tests-i3lib-launch' 2011-08-03 02:14:00 +02:00
Michael Stapelberg 003f7043c5 t/70-force-focus-wrapping: use launch_with_config 2011-08-03 02:12:29 +02:00
Michael Stapelberg 7956289c2b t/67-workspace_layout: use launch_with_config 2011-08-03 02:04:52 +02:00
Michael Stapelberg 8734534b5c t/66-assign: use launch_with_config 2011-08-03 02:03:26 +02:00
Michael Stapelberg 506d8797b2 tests: implement i3test::launch_with_config, use it in t/65-for_window 2011-08-03 00:03:13 +02:00
Michael Stapelberg 3fa361be2f Merge branch 'fix-resize-too-much' into next 2011-08-02 22:32:37 +02:00
Michael Stapelberg fefbc3d384 Merge branch 'fix-resize-too-much' 2011-08-02 22:32:34 +02:00
Michael Stapelberg 719022d80a Bugfix: Ensure that the percentage is > 0.05 when using the 'resize' cmd (Thanks rogutes)
Fixes #437
2011-08-02 22:31:45 +02:00
Michael Stapelberg c43288a249 Merge branch 'fix-multi-for_window' into next 2011-08-02 19:46:36 +02:00
Michael Stapelberg 554a43ca4a Bugfix: Make the criteria rules recursive in src/cfgparse.y, too (Thanks f8l) 2011-08-02 19:46:14 +02:00