Ingo Bürk
b9bacdf464
Send custom-defined command upon click on the non-statusline part of i3bar even if workspace_buttons is set to 'no'.
...
fixes #1777
2015-07-01 14:48:06 +02:00
Michael Stapelberg
7e7f00428f
Merge pull request #1776 from Airblader/bug-1774
...
Return non-match instead of asserting
2015-07-01 03:00:37 -07:00
Ingo Bürk
c073de8d26
Remove asserts and return non-match instead if the container or its workspace cannot be found.
...
This can cause an issue if used in combination with for_window and i3bar during startup of i3 otherwise.
fixes #1774
2015-07-01 11:47:55 +02:00
Michael Stapelberg
6be1b28813
Merge pull request #1771 from Airblader/feature-1769
...
Implement new criterion 'workspace'.
2015-06-30 13:52:54 -07:00
Michael Stapelberg
7c1abc9ab0
Merge pull request #1772 from Airblader/feature-fix-newline
...
Added missing newlines in log statements.
2015-06-30 13:52:48 -07:00
Ingo Bürk
be406d036d
Implement new criterion 'workspace'.
...
If the match expression is a plain number (e.g., '99'), the number of a workspace will be compared strictly. Otherwise, the match expression is taken as a regular expression and compared against the workspace's name.
This allows all of the following:
for_window [workspace=5] ...
for_window [workspace="5:foo"] ...
for_window [workspace="foo"] ...
fixes #1769
2015-06-30 20:53:52 +02:00
Michael Stapelberg
f76838794d
Merge pull request #1768 from hwangcc23/atoi2strtol
...
Fix TODO in src/bindings.c
2015-06-30 11:50:28 -07:00
Ingo Bürk
94a09b3cac
Added missing newlines in log statements.
2015-06-30 20:48:35 +02:00
hwangcc23
478dc5dc38
Fix TODO by replacing atoi by strtol
...
Fix TODO in bindings.c.
There is no problem to use atoi here since either keycode 0 or button0 is invalid.
But strtol is more flexible and is recommanded for conversion.
2015-06-30 22:22:56 +08:00
Michael Stapelberg
8df7e4ecb9
Merge pull request #1747 from Airblader/feature-1723
...
Implement "title_format"
2015-06-29 00:24:59 -07:00
Ingo Bürk
cf11fb5574
Added documentation for "title_format".
2015-06-29 09:19:50 +02:00
Michael Stapelberg
a853a8ef75
Merge pull request #1745 from mh21/configurable-tray-padding
...
Configurable tray padding.
2015-06-29 00:19:44 -07:00
Ingo Bürk
5a8d66a1d5
Parse the title_format and display the customized window title if a format was set.
...
The format string set with "title_format" can contain the placeholder "%title" which will be replaced with the actual window title.
By not overwriting window->name itself, we make sure that assignment matching still works as expected.
fixes #1723
2015-06-29 09:13:31 +02:00
Ingo Bürk
55e8d06ee4
Added command directive 'title_format'.
...
This directive will be used to customize the window title.
2015-06-29 09:13:31 +02:00
Michael Stapelberg
9ad9af6dee
add util-{wm,keysyms} explicitly, remove obsolete xlib, update lkgv
...
fixes #1764
2015-06-28 21:27:52 +02:00
Michael Hofmann
bad4203755
Configurable tray padding.
2015-06-28 00:14:37 +02:00
Michael Stapelberg
dfe2c9c310
debian: stacklimit.png got deleted, so remove it from i3-wm.docs
2015-06-21 13:24:35 +02:00
Michael Stapelberg
696d844ffa
Merge pull request #1697 from Airblader/feature-1695
...
Extend mouse commands on i3bar
2015-06-18 20:50:56 +02:00
Ingo Bürk
618b6744d5
Added testcase for #1695 .
2015-06-18 19:28:24 +02:00
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