Ingo Bürk
9eb255d5fa
Ensure format of dumped bindings for i3bar is compatible with i3 bindings.
...
fixes #1695
2015-06-18 19:28:24 +02:00
Ingo Bürk
f0ac9629b9
Adapted userguide for new i3bar 'bindsym' command.
2015-06-18 19:28:24 +02:00
Ingo Bürk
715fbf2d80
Read 'bindsym' rather than the old 'wheel_up_cmd' and 'wheel_down_cmd' directives in i3bar and call the command if specified.
...
The old directives are still read for transitional support which can be removed in a future version.
2015-06-18 19:28:20 +02:00
Michael Stapelberg
4d25d6a5a6
Merge pull request #1752 from Airblader/feature-test-cleanups-1
...
Silence "masks earlier declaration in same scope" warnings
2015-06-13 14:39:19 +02:00
Michael Stapelberg
34183b97fd
Merge pull request #1744 from Airblader/feature-docs-7
...
Documentation Improvements
2015-06-13 12:39:59 +02:00
Ingo Bürk
73a84886d1
Silence "masks earlier declaration in same scope" warnings when executing tests.
2015-06-12 18:19:43 +02:00
Ingo Bürk
9940571069
Fix documentation for border styles.
2015-06-12 17:54:54 +02:00
Michael Stapelberg
801b795b45
userguide: document signal handling caveat affecting at least dash(1)
...
fixes #1741
2015-06-12 09:52:02 +02:00
Ingo Bürk
9571200baa
Remove dead documentation for non-existing feature "stack-limit".
2015-06-09 23:13:15 +02:00
Michael Stapelberg
25da435c3b
Merge pull request #1743 from Airblader/bug-1742
...
Remove redundant and broken check for '\0'.
2015-06-09 23:12:17 +02:00
Ingo Bürk
52c72e9007
Remove redundant and broken check for '\0'.
...
fixes #1742
2015-06-09 22:14:56 +02:00
Michael Stapelberg
560d9a25d8
Merge pull request #1731 from Airblader/feature-indicator-pango
...
Allow pango markup for the binding indicator.
2015-06-07 20:46:16 +02:00
Ingo Bürk
2b6f76852c
Implement i3's logic for maintaining a list of 'bindsym' directives and passing it to i3bar through the IPC.
2015-06-05 12:30:53 +02:00
Ingo Bürk
ab12d3fc74
Add new command skeleton 'bindsym <button> <command>' for 'bar' block.
2015-06-05 12:30:53 +02:00
Michael Stapelberg
1d4b5863a5
Merge pull request #1737 from Airblader/feature-xdotool-on-travis
...
Install xdotool to run tests requiring it on Travis.
2015-06-05 12:16:47 +02:00
Ingo Bürk
f262445de3
Install xdotool to run tests requiring it on Travis.
2015-06-04 17:05:53 +02:00
Michael Stapelberg
7b8745f56c
Merge pull request #1735 from shdown/strdup
...
i3bar: fix freeing static strings
2015-06-02 22:25:27 +02:00
shdown
fe006f0f6a
i3bar: fix freeing static strings
...
name and color fields of blocks are freed in clear_statusline, so they
need to be strdup'ed.
2015-06-02 23:29:24 +03:00
Michael Stapelberg
6b505d8aca
Merge pull request #1733 from Airblader/feature-1732
...
Added a separate color directive for the binding mode indicator
2015-06-02 08:35:14 +02:00
Michael Stapelberg
27ec594c71
Merge pull request #1734 from Airblader/bug-1538-1
...
Fix warning about potentially uninitialized variable.
2015-06-02 08:33:41 +02:00
Ingo Bürk
dd2e10868c
Fix warning about potentially uninitialized variable.
2015-06-01 17:10:10 +02:00
Ingo Bürk
0a0f59038a
Use the introduced binding_mode_* colors to draw the binding mode.
...
fixes #1732
2015-06-01 16:57:17 +02:00
Ingo Bürk
b118b588ee
Added the 'binding_mode' color directive to the documentation.
2015-06-01 16:57:13 +02:00
Ingo Bürk
9b691bcca2
Introduce a config directive 'binding_mode' in the 'bar' config, pass it through the IPC and parse it in i3bar.
2015-05-31 16:49:09 +02:00
Michael Stapelberg
9a117767e8
Merge pull request #1725 from Airblader/bug-1056
...
Allow window decoration to change focus
2015-05-31 16:13:51 +02:00
Ingo Bürk
36f5a37777
Allow pango markup for the binding indicator.
2015-05-31 12:35:47 +02:00
Ingo Bürk
27e50b827c
Use XCB_NONE instead of hard-coded 0.
2015-05-29 23:49:42 +02:00
Ingo Bürk
3c11f27201
Allow hovering over the window decoration to change the focus if the parent container is split horizontally or vertically.
...
fixes #1056
2015-05-29 23:49:37 +02:00
Ingo Bürk
1454975981
Added a testcases for #1056 to test whether hovering over a window decoration causes the corresponding window to be
...
focused.
2015-05-29 23:49:22 +02:00
Michael Stapelberg
8029ff09d7
Merge pull request #1722 from Airblader/bug-1701
...
Grab all buttons when managing a window
2015-05-27 19:27:56 +02:00
Ingo Bürk
b22a9ce617
Improve logging of button events.
2015-05-26 16:57:25 +02:00
Ingo Bürk
00c2fe4b69
Grab all buttons when managing a window to also allow 'bindsym --whole-window button4 …' to work correctly.
...
fixes #1701
2015-05-26 16:56:00 +02:00
Michael Stapelberg
a4fab76772
docs/ipc: add veelenga/i3ipc-ruby
2015-05-25 01:05:08 +02:00
Michael Stapelberg
651f3150d4
Merge pull request #1714 from Airblader/feature-docs-6
...
Fixed syntax for tray_output in userguide
2015-05-25 00:51:41 +02:00
Michael Stapelberg
0d0bde6b1e
Merge pull request #1716 from botovq/next
...
mkdirp: do not throw an error if directory exists
2015-05-23 13:33:33 +02:00
Theo Buehler
ea6af13127
mkdirp: do not throw an error if directory exists
...
If I restart i3 4.10.2 twice, e.g. with
$ i3-msg restart; sleep 3; i3-msg restart
the second time I get the following two errors:
05/22/15 10:46:03 - ERROR: mkdir(/tmp/i3-theo.toAK7N) failed: File exists
05/22/15 10:46:03 - ERROR: Could not create "/tmp/i3-theo.toAK7N" for storing the restart layout, layout will be lost.
The first one is from mkdirp() in src/ipc.c and the second one is from
store_restart_layout() in src/util.c.
Notice that I do _not_ get the ``open()'' or ``Could not write restart layout to
...'' error messages, so the layout writing code after line 260 in
store_restart_layout() succeeded and the layout isn't actually lost. Thus,
these error messages are a bit misleading, especially the second one (which is
triggered by the failure of mkdirp()).
POSIX says about `mkdir -p':
``Each dir operand that names an existing directory shall be ignored without
error.''
Therefore, I suggest the following simple patch that makes mkdirp() succeed if
the named file exists and actually is a directory. This silences the second
error as well.
2015-05-23 13:12:18 +02:00
Ingo Bürk
e2d5ebce1a
Fixed syntax for tray_output in userguide.
2015-05-22 22:07:43 -04:00
Andrzej Pronobis
d1262f2b6a
Use WM_SIZE_HINTS whenever it's provided to set the geometry of floating windows.
2015-05-19 13:44:48 -04:00
Michael Stapelberg
43386c51d4
Merge pull request #1706 from Airblader/feature-docs-5
...
Made syntax of syntax descriptions consistent:
2015-05-18 21:46:47 +02:00
Ingo Bürk
94a46a1e35
Made syntax of syntax descriptions consistent:
...
* <xyz> denotes that some string must be used which is not a fixed value (e.g., a command), but a variable string (text, a number, ...)
* [xyz] denotes that the parameter is optional
* abc|xyz denotes that either abc or xyz must be given
2015-05-18 11:18:00 -04:00
Michael Stapelberg
da064cc08f
Merge pull request #1698 from Airblader/feature-1696
...
Added 'move position mouse'
2015-05-17 15:02:50 +02:00
Ingo Bürk
8801de2399
Protect "move position mouse" against a NULL access.
...
This could happen if two outputs are set up to have a gap in between them and the mouse cursor
being in said gap when the command is triggered.
2015-05-14 13:07:56 -04:00
Ingo Bürk
fbbe9cf2e8
Added testcases for 'move position mouse'
2015-05-14 13:04:58 -04:00
Michael Stapelberg
38ab59f17b
Merge pull request #1704 from acrisci/bug/cmd-detect-base-16
...
Detect base 16 in cmd criteria
2015-05-13 08:35:06 +02:00
Ingo Bürk
d2cfe38c04
Added 'move position mouse' command to the userguide.
2015-05-12 17:47:18 -04:00
Ingo Bürk
4a585748a4
Implemented new command 'move [window|container] [to] position mouse|cursor|pointer
...
fixes #1696
2015-05-12 17:46:06 -04:00
Tony Crisci
a74662052a
Detect base 16 in cmd criteria
...
Try to detect base 16 numbers given to `con_id` and `id` for command criteria
by setting the base of strtol to 0. This should also detect octal.
This is necessary because mouse bindings now may be serialized as hex as of
5c32de4
.
2015-05-12 17:04:01 -04:00
Michael Stapelberg
79e7e69939
Merge pull request #1700 from mh21/tray-icon-size-cleanup
...
Tray icon size cleanup.
2015-05-12 22:44:08 +02:00
Michael Stapelberg
be2634c91f
Merge pull request #1693 from mh21/wm-class-garbage-no-copy
...
Don't duplicate property value on class change.
2015-05-06 23:55:47 -07:00
Michael Hofmann
f2542fc413
No memcpy on class change.
2015-05-06 16:33:15 +02:00