Michael Stapelberg
0901720a24
Bugfix: fix floating window size with hide_edge_borders (+test)
...
fixes #998
2013-04-02 23:59:26 +02:00
oblique
8a4a719093
Add support for _NET_WM_STATE_DEMANDS_ATTENTION.
...
_NET_WM_STATE_DEMANDS_ATTENTION indicates that some action in or with
the window happened. It's a weaker hint than urgency flag of WM_HINTS,
but some applications and almost all Qt applications use it instead of
WM_HINTS' urgency flag (one example is Skype).
2013-03-09 10:55:13 +01:00
Michael Stapelberg
7ecdcb61f8
config: accept “smart” as popup_during_fullscreen parameter (Thanks supplantr)
...
This was the default, so explicitly setting it is not really necessary,
but of course it should be possible.
fixes #967
2013-02-24 17:23:37 +01:00
Michael Stapelberg
d5358a749e
Merge branch 'master' into next
2013-02-19 00:28:05 +01:00
Michael Stapelberg
9bfe6a6236
Bugfix: Properly parse commands like “move workspace torrent” (Thanks rasi)
...
fixes #955
2013-02-19 00:27:55 +01:00
Michael Stapelberg
2922603cc4
tests: correctly close stdout with IPC::Run
...
while IPC::Run supports <&-, it does not support >&- apparently.
2013-02-19 00:26:00 +01:00
Michael Stapelberg
9cd2d1fb8a
make t/205-ipc-windows require AnyEvent::I3 >= 0.15
...
Necessary due to the new event type
2013-02-18 10:59:32 +01:00
Piotr S. Staszewski
3facbbca5c
Add a new IPC event for changes on windows.
...
Added new event id (I3_IPC_EVENT_WINDOW) so that a an IPC client can
subscribe to events on windows. Added a basic window event that gets
triggered when a window gets successfully reparented. This new event
also dumps the container data, so that IPC clients can get the initial
window name. IPC clients wishing to see window events should subscribe
to 'window'.
2013-02-18 10:55:11 +01:00
Sebastian Ullrich
49979c9d15
Always auto center on 'scratchpad show' if window hasn't been repositioned by the user
...
This change ensures a scratchpad window is still centered on the screen
if it has first been shown on another screen of a different
resolution. Moving or resizing the scratchpad manually disables this
behavior.
2013-02-18 10:38:28 +01:00
Michael Stapelberg
7f0065e1b1
tests: unset $ENV{SHELL} to avoid breakage with fish (Thanks dRbiG)
2013-02-15 16:41:28 +01:00
Mats
fa4301e06d
Split workspace instead of changing orientation
...
Move all children of the workspace into a new container if there is more
than one otherwise simply change the orientation.
fixes #922
2013-02-15 03:16:02 +01:00
Sebastian Rachuj
b565bfca13
Bugfix: Do not move focus if a container is moved across outputs
...
fixes #809
This makes the moving behavior more consistent. If you want to focus the
workspace you are moving to, just chain the keybinding in your config
file:
bindsym $mod+Shift+1 move workspace 1; workspace 1
2013-02-10 17:38:17 +01:00
Michael Stapelberg
a1774e78fc
i3test: fix get_focused() docs (Thanks knopwob)
2013-02-07 15:57:15 +01:00
Sascha Kruse
0a0d66dc8a
put common part of error messages into variable
...
This makes future changes easier when new tokens are added to the
parser.
2013-02-01 11:50:52 +01:00
Sascha Kruse
bbede97966
scratchpad_show focus unfocused scratchpad window
...
When there's an unfocused scratchpad window on the current workspace
scratchpad_show will focus that scratchpad window.
2013-01-30 13:33:55 +01:00
Michael Stapelberg
03693bf0cc
add testcase for "move workspace <output>"
2013-01-30 13:31:20 +01:00
Vivien Didelot
1d22fe42f2
split main .gitignore and ignore more files
...
This patch splits the main .gitignore with a specific
testcases/.gitignore and also add 4 patterns to the ignore list:
i3-command-parser.stamp
i3-config-parser.stamp
testcases/-
testcases/i3-cfg-for-*
2013-01-26 19:30:10 +01:00
Michael Stapelberg
4796a61c31
add testcase for "move to output" wrapping
2013-01-26 19:28:11 +01:00
Francesco Mazzoli
3cd4b8c111
update tests to test the output wrapping
2013-01-26 19:08:41 +01:00
Adrien Schildknecht
76ef3a4ab8
remove the urgency indicator when a window is closed
2013-01-25 18:53:59 +01:00
Michael Stapelberg
a32d2d5d61
scratchpad: fix crash when moving last window of an invisible workspace (+test) (Thanks bafain)
...
It looks like the code which was removed with this commit was not
necessary anyways since con_move_to_workspace() by now checks on its own
whether it moves to the scratchpad.
fixes #913
2013-01-25 15:28:58 +01:00
Michael Stapelberg
c2061042e1
Merge branch 'master' into next
2013-01-25 13:56:26 +01:00
Michael Stapelberg
8bc771ac16
Bugfix: parse outputs as "word", not "string", to ignore trailing whitespace (Thanks leifarne)
...
fixes #921
2013-01-25 13:55:26 +01:00
Michael Stapelberg
2c249b6949
Merge branch 'master' into next
2013-01-01 16:31:27 +01:00
Michael Stapelberg
138e04fd4d
Bugfix: Fix for_window moving of assigned windows (Thanks bafain)
...
fixes #909
2013-01-01 16:31:08 +01:00
Michael Stapelberg
6856b232d6
t/175-startup-notification: use the testcases X11 connection
...
This needs X11::XCB >= 0.07 and will be skipped if that is not
installed.
This fixes a race condition in the testsuite.
2012-12-27 18:02:23 +01:00
Michael Stapelberg
1b62feccac
t/132-move-workspace: add missing sync_with_i3
2012-12-27 16:55:22 +01:00
Michael Stapelberg
baae706b87
t/166-assign: sync after mapping the window
2012-12-26 22:04:35 +01:00
Michael Stapelberg
c06d62887e
t/173-regress-focus-assign: sync after mapping the window
2012-12-26 22:04:15 +01:00
Michael Stapelberg
4d65cfc67d
t/189-floating-constraints: sync before getting window rects
2012-12-26 22:03:37 +01:00
Michael Stapelberg
27adbbff61
t/510-focus-across-outputs: fix sync order
...
syncing _after_ fresh_workspace makes no change, but we need to wait for
the WarpPointer request to be processed.
2012-12-26 22:03:02 +01:00
Michael Stapelberg
92e2190300
t/503-workspace: sync after switching focus to a different output
2012-12-26 22:02:43 +01:00
Simon Elsbrock
0045cfa637
move visible scratchpad window to focused workspace
...
If there is a visible scratchpad on another (non-internal) workspace,
bring it to the focused workspace instead of doing nothing.
closes #784
2012-12-24 19:20:47 +01:00
Michael Stapelberg
061d90f305
move scratchpad test to separate file, otherwise it is non-conclusive
2012-12-24 19:19:32 +01:00
Michael Stapelberg
ff9c2f0c46
new-test: add launch_with_config to multi-monitor template
2012-12-22 14:08:25 +01:00
Michael Stapelberg
a1ccca22e6
Merge branch 'master' into next
2012-12-22 14:08:14 +01:00
Michael Stapelberg
36b106a9d3
Bugfix: Ignore ConfigureRequests for scratchpad windows (Thanks MeanEYE)
...
fixes #898
2012-12-22 14:08:11 +01:00
Michael Stapelberg
3ca8299637
complete-run: clarify the message about missing ../i3 (Thanks Marcos)
2012-12-20 23:50:50 +01:00
Michael Stapelberg
6dfb08170c
fix bind[code|sym] --release (Thanks paolo)
...
fixes #890
2012-12-14 21:41:56 +01:00
Michael Stapelberg
1ae08b196a
Bugfix: Don’t move floating windows when their size constraints forbid resizing (Thanks aksr)
...
fixes #883
2012-11-27 09:26:31 +01:00
Adrien \"schischi\" Schildknecht
f41fa1baa1
The command to resize a floating window now checks the minimum and maximum size.
2012-11-25 20:52:56 +01:00
Michael Stapelberg
3cb909fa62
config parser: recover after invalid input
...
This is done by ignoring the rest of the current line and jumping to the
nearest <error> token.
fixes #879
2012-11-20 17:10:29 +01:00
Michael Stapelberg
773654dbb8
complete-run: run 000-load-deps as early as possible
2012-11-13 21:04:13 +01:00
Michael Stapelberg
5fb9b8ffb8
tests: 000-load-deps: bail out when dependencies are not found, test more of them
...
This should be a better hint for people who forgot to install the
testsuite dependencies :).
2012-11-13 21:03:44 +01:00
Michael Stapelberg
a3324a5e42
tests: 115-ipc-workspaces: ensure the i3 ipc socket is connected
2012-11-13 21:03:25 +01:00
Michael Stapelberg
e809bff1ab
t/115: make the test a little shorter by using helper functions
2012-11-13 09:40:29 +01:00
Francesco Mazzoli
a6b6bb670a
workspace events test
2012-11-13 09:40:29 +01:00
Michael Stapelberg
dece12bf18
Merge branch 'master' into next
2012-11-10 09:01:24 +01:00
Michael Stapelberg
81393c93c2
bugfix: fix workspace back_and_forth after displaying a scratchpad window
...
fixes #868
2012-11-10 09:01:04 +01:00
Quentin Glidic
783fd66b58
complete-run: Unset I3SOCK
2012-11-07 13:40:51 +01:00