Commit Graph

4082 Commits

Author SHA1 Message Date
Michael Stapelberg 8a3574f301 i3bar: inform _all_ clients of new tray selection owner
This fixes a problem with X-chat (and possibly others).

Fixes: #745
2012-07-10 22:52:14 +02:00
Michael Stapelberg a65394646c tests: t/504: ensure cursor position
Otherwise, the cursor might be at (1025, 0) due to previous testcases
and we wouldn’t start up on the correct workspace.
2012-06-29 23:21:32 +02:00
Michael Stapelberg f0f45aa84d tests: t/166-assign.t: use wait_for_window
While it’s generally intended that wait_for_window is not called within
this testcase, in the first test instruction it was a mistake. The
window in fact gets mapped and therefore we should call wait_for_window.
2012-06-29 23:20:46 +02:00
Michael Stapelberg c5d0472158 Explicitly disconnect in the 'exit' command
This fixes a race condition when running the tests. I think that the X11
server has more time to clean up the resources when we do an explicit
disconnect. The symptom I was seeing was that sometimes, i3 couldn’t
become the window manager on one of the Xdummy instances.
2012-06-29 23:13:25 +02:00
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