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
f13d8ed06f
wrap when moving things to outputs with direction
2013-01-26 19:27:58 +01:00
Francesco Mazzoli
3cd4b8c111
update tests to test the output wrapping
2013-01-26 19:08:41 +01:00
Michael Stapelberg
c300d216ec
i3-msg: parse command replies and display errors nicely if there were errors
...
fixes #737
2013-01-26 17:56:43 +01:00
Michael Stapelberg
62b0df0640
Make i3-nagbar use the same font as configured for i3
2013-01-26 09:55:38 +01:00
Adrien Schildknecht
76ef3a4ab8
remove the urgency indicator when a window is closed
2013-01-25 18:53:59 +01:00
Michael Stapelberg
74558bb33d
Call scratchpad_show() when focusing scratchpad windows via criteria
...
fixes #931
2013-01-25 16:11:20 +01:00
Michael Stapelberg
d426f1570b
Merge branch 'fix-scratchpad-reconf'
2013-01-25 15:48:38 +01:00
Michael Stapelberg
2ea94420d3
Merge branch 'master' into next
2013-01-25 15:48:38 +01:00
Michael Stapelberg
7be5ece663
Bugfix: fix coordinates of scratchpad windows on output changes (Thanks badboy)
...
Previously, after reconfiguring monitors, scratchpad windows could still
be focused but might be out of bounds for you to see.
fixes #929
2013-01-25 15:47:43 +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
f767ac30b3
fix two more crashes when disabling an empty output
2013-01-25 14:53:15 +01:00
Michael Stapelberg
e0cfe1f8c0
Bugfix: fix crash when disabling output without any windows (Thanks xeen, knopwob)
...
fixes #919
2013-01-25 14:14:06 +01:00
Michael Stapelberg
8f4456a14a
Merge branch 'fix-workspace-ws'
2013-01-25 13:56:26 +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
fc3b0db7a5
i3bar: fix rendering positions
2013-01-24 17:21:34 +01:00
Michael Stapelberg
990a1ca4c2
i3bar: don’t use X11 borders to avoid overlapping in hide mode
...
fixes #923
2013-01-24 16:09:51 +01:00
Michael Stapelberg
70067c72d5
Merge branch 'fix-key-release'
2013-01-24 14:45:14 +01:00
Michael Stapelberg
a5c9b0dedb
Merge branch 'master' into next
2013-01-24 14:45:14 +01:00
Michael Stapelberg
2eb4ed95bc
Bugfix: fix “overlapping” --release key bindings (Thanks phlux)
...
We eagerly marked all KeyRelease bindings as eligible to match without
checking modifiers, while this should only be allowed for the key
binding which actually was pressed.
fixes #915
2013-01-24 14:44:01 +01:00
Michael Stapelberg
28933f8de3
i3-input: set focus before sending the command (Thanks emias)
...
This avoids problems with sending 'focus left' or other commands which
manipulate focus.
2013-01-24 13:57:08 +01:00
Marius Muja
bfd150872d
Fixing continuous resize bug in floating mode
...
fixes #910
2013-01-24 12:42:13 +01:00
David Edmondson
3365b52384
Allow servers which do not support the XKB extension.
...
If we can open the X display but the XKB extension is not available,
continue without it.
2013-01-23 20:27:27 +01:00
Michael Stapelberg
2478d0a2e0
ipc: use ipc_recv_message instead of duplicate code
...
This should fix the situation where i3 would read only the header and
not the payload of the message.
2013-01-23 18:59:36 +01:00
Michael Stapelberg
dcb8ac84f8
ipc_recv_message: store message_type, don’t compare. add distinct EOF retval
...
Also use ELOG, which requires i3-msg to provide logging functions.
2013-01-23 18:51:39 +01:00
Michael Stapelberg
e8fa3eeebd
i3-msg: include socket path in error message
2013-01-23 08:11:27 +01:00
Michael Stapelberg
7d9c20734c
include stdint.h in i3/ipc.h (Thanks Kai)
2013-01-11 22:28:43 +01:00
Michael Stapelberg
7b0d75ee0a
ipc_send_message: use stack frame with fixed size
2013-01-11 19:09:41 +01:00
Michael Stapelberg
1b6ea35eb6
Merge branch 'fix-ipc-write'
2013-01-09 18:11:17 +01:00
Michael Stapelberg
fc0e80ee7f
Merge branch 'master' into next
2013-01-09 18:11:17 +01:00
Michael Stapelberg
f5b7bfb12e
Bugfix: fix IPC messages writes with low buffer sizes (Thanks jasper, dcoppa)
...
Use the following command to reproduce this bug:
echo 4096 | sudo tee /proc/sys/net/core/wmem_default
Then just switch workspaces with some windows on it and i3bar would
exit due to malformed IPC messages.
This bug hits OpenBSD users (and possibly other BSDs) due to their lower
default buffer size.
fixes #896
2013-01-09 18:11:03 +01:00
slowpoke
527ec2a69c
Adds Go IPC lib to the docs.
2013-01-02 23:15:14 +01:00
Michael Stapelberg
f2ca568202
i3bar: set _NET_SYSTEM_TRAY_COLORS for symbolic icons (gtk3+)
2013-01-02 23:14:30 +01:00
Michael Stapelberg
e9503a1fa3
i3bar: fake DestroyNotify and send MANAGER ClientMessages to fix tray restarts
...
fixes #745
2013-01-02 23:14:27 +01:00
Michael Stapelberg
2043076518
i3bar: add missing \n to debug messages
2013-01-02 11:38:03 +01:00
Michael Stapelberg
c394efbfd0
Merge branch 'fix-assign-and-move'
2013-01-01 16:31:27 +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
d8e27dd5aa
ignore MotionNotify events generated while warping the pointer
2012-12-27 17:04:13 +01:00
Michael Stapelberg
9edbcc4790
debug message for window focus: include window ID
2012-12-27 16:58:46 +01:00
Michael Stapelberg
1b62feccac
t/132-move-workspace: add missing sync_with_i3
2012-12-27 16:55:22 +01:00
Michael Stapelberg
54fd3d3480
unregister as window manager before restarting (fixes a race condition)
2012-12-27 16:54:54 +01:00
Michael Stapelberg
cde82eafa6
use xcb_aux_sync to make sure our changes reach the X server, flushing is not enough
2012-12-27 16:54:36 +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