Commit Graph

3578 Commits

Author SHA1 Message Date
Michael Stapelberg daee3218c9 tests: make t/166-assign.t more robust
…by using the new syntax which will not trigger i3-nagbar. Checking for
i3-nagbar is inherently prone to race conditions since i3-nagbar does
not communicate in any way that it’s there.
2012-06-29 21:28:10 +02:00
Michael Stapelberg 19946ee14d tests: make t/159-socketpath more robust
…by getting the socket path from i3 and then checking that it conforms
to what we expect. Previously we monitored /tmp, which can go wrong in
various ways, especially since i3’s directory within /tmp is not
predictable (by design).
2012-06-29 21:23:28 +02:00
Michael Stapelberg 072daa94b3 Merge branch 'master' into next 2012-06-27 17:49:36 +02:00
Michael Stapelberg 3fe3fdd2f9 Merge branch 'fix-reload' 2012-06-27 17:49:19 +02:00
Michael Stapelberg 6e9bbe67ce Bugfix: fix reload crashes in rare cases (Thanks Tucos)
Depending on the memory layout, it could happen that bind->command was
exchanged with something else while the parser still accessed it.

Therefore, we now copy the command and let the parser use that copy.
2012-06-27 17:48:22 +02:00
Michael Stapelberg 7afb33d8f8 Merge branch 'master' into next 2012-06-25 21:44:20 +02:00
Michael Stapelberg 28d453a276 Merge branch 'fix-C' 2012-06-25 21:44:07 +02:00
Michael Stapelberg 6146f39b8a when using i3 -C, don’t send remaining arguments via IPC (Thanks Somelauw) 2012-06-25 21:43:41 +02:00
Michael Stapelberg 97a5fb2ec0 Merge branch 'master' into next 2012-06-24 21:22:44 +02:00
Michael Stapelberg 27a5cceb61 Merge branch 'gitignore' 2012-06-24 21:22:39 +02:00
stfn 7374633422 Fix up .gitignore 2012-06-24 21:22:26 +02:00
Michael Stapelberg 23c28e5208 Merge branch 'master' into next 2012-06-24 17:30:45 +02:00
Michael Stapelberg 421fd9a772 Merge branch 'userguide-containers' 2012-06-24 17:30:39 +02:00
Michael Stapelberg 453cc68e40 add section about implicit containers to the userguide (Thanks mloskot) 2012-06-24 17:30:18 +02:00
Michael Stapelberg d4f8450ea9 Merge branch 'master' into next 2012-06-10 21:30:36 +02:00
Michael Stapelberg 1ad6eea4a8 userguide: make the default clear for focus_follows_mouse and new_window 2012-06-10 21:30:14 +02:00
Michael Stapelberg f28afc8f6b Merge branch 'master' into next 2012-06-10 21:05:58 +02:00
Michael Stapelberg 67c425ad97 Merge branch 'i3bar-handle-negative' 2012-06-10 21:05:44 +02:00
Michael Stapelberg 599f7cc2a4 i3bar: handle clicks with negative coordinates (Thanks Julian)
This can happen if you move your mouse pointer to the very left of the
screen and then click. For better usability, we handle this edge case
like a click on pixel 0.
2012-06-10 21:04:51 +02:00
Michael Stapelberg f96e998abb Merge branch 'master' into next 2012-06-10 18:31:54 +02:00
Michael Stapelberg 3587155c47 makefile: don’t try to install i3.welcome 2012-06-10 18:31:42 +02:00
Michael Stapelberg 3f37458b7c Merge branch 'master' into next 2012-06-10 18:25:14 +02:00
Michael Stapelberg 21a5d4f4c1 manpages: don’t build i3-wsbar(1) from pod 2012-06-10 18:24:44 +02:00
Michael Stapelberg cf91dc676a Merge branch 'master' into next 2012-06-10 18:23:26 +02:00
Michael Stapelberg 5e735744ce also don’t ship GOALS 2012-06-10 18:23:20 +02:00
Michael Stapelberg bb167f6bed Merge branch 'master' into next 2012-06-10 18:21:18 +02:00
Michael Stapelberg 09da8a27cb don’t ship i3.welcome and i3-wsbar in the tarballs anymore 2012-06-10 18:21:06 +02:00
Michael Stapelberg 5a29e61a46 Merge branch 'master' into next 2012-06-10 18:19:29 +02:00
Michael Stapelberg 65f88f431d add banner.svg to contrib/ 2012-06-10 18:19:17 +02:00
Michael Stapelberg a27ee11d89 add sticker SVG to contrib/ 2012-06-10 18:18:58 +02:00
Michael Stapelberg 318b1fa2e2 add slides from 2012-03-16 (German) 2012-06-10 18:17:02 +02:00
Michael Stapelberg 6c5f938699 delete unused/outdated i3.welcome 2012-06-10 18:16:02 +02:00
Michael Stapelberg 0859f61cd0 delete GOALS, see website instead 2012-06-10 18:14:39 +02:00
Michael Stapelberg 2731a74edd delete render-tree (unfinished/unused) 2012-06-10 18:12:05 +02:00
Michael Stapelberg b704238cf6 Introduce contrib/
contrib is a place for scripts which live in the i3 git repository
because they are closely related. However, they should not be shipped
with the distribution packages for example.
2012-06-10 18:10:37 +02:00
Michael Stapelberg c008f3f928 Merge branch 'master' into next 2012-06-10 18:08:23 +02:00
Michael Stapelberg 6dc69bbd00 delete old release notes 2012-06-10 18:08:14 +02:00
Michael Stapelberg a15fe0e332 Merge branch 'master' into next 2012-06-10 17:57:25 +02:00
Michael Stapelberg f4a86d9eda Merge branch 'fix-split-horiz' 2012-06-10 17:57:06 +02:00
Michael Stapelberg f0b56c5e98 parser: reorder v/h/vertical/horizontal
This eliminates an error message upon split horizontal which did not
occur in older i3 versions. The command itself worked just fine.
2012-06-10 17:56:28 +02:00
Michael Stapelberg ecd238b65e ignore "current" when searching for named workspaces 2012-06-03 19:44:42 +02:00
Pavel Löbl 2afecaf355 Add a new command 'move to workspace current'
Added a new command 'move to workspace current' which can be used
with criteria to move a window to the current workspace.
2012-06-03 19:42:56 +02:00
Pavel Löbl 51173baf28 Fix 'move to workspace' when used with criteria
When moving window from other (not current) workspace to another
workspace with criteria we should stay on current workspace.

And we should exit early when criteria was specified but didn't
match any window.
2012-06-03 19:41:45 +02:00
Pavel Löbl 4611f875ff Fix a mistake in comment 2012-06-03 19:38:43 +02:00
Michael Stapelberg f2dde5f5dd update refcard (Thanks Moritz Bandemer) 2012-06-03 17:17:11 +02:00
Fernando Tarlá Cardoso Lemos fffc53c246 Restrict "move to workspace" commands in fullscreen. 2012-06-03 16:24:53 +02:00
Fernando Tarlá Cardoso Lemos 4452bfb942 Prevent moving out of fullscreen containers. 2012-06-03 16:24:53 +02:00
Fernando Tarlá Cardoso Lemos 8bf4e9e059 Restrict directional focus in fullscreen.
This reuses the same fullscreen focus logic to ensure that focus
doesn't escape a fullscreen container.
2012-06-03 16:24:53 +02:00
Fernando Tarlá Cardoso Lemos 250c260eaa Allow focus child/parent when in fullscreen.
This is now restricted according to the already defined fullscreen
focus constraints. Test case 157 was removed, as we don't prevent
level up/down in fullscreen anymore. Those commands are properly
tested in fullscreen by test case 156.

Fixes: #612
2012-06-03 16:24:53 +02:00
Fernando Tarlá Cardoso Lemos da1e232757 Refined the fullscreen focus constraints.
Basically, a focus change can't escape a fullscreen container. The
only exception is per-output fullscreen containers, as you should
be able to focus a container in a different workspace in this case.

This is an improvement on 4eab046e, now considering the difference
between global and per-output fullscreen and taking the tree
structure into account to determine what escaping the fullscreen
container means. It only affects targeted focus commands in the
form "for_window [...] focus", but it lays the foundation for
forthcoming fixes to all other focus commands.
2012-06-03 16:24:53 +02:00