]> git.sur5r.net Git - i3/i3/log
i3/i3
9 years agoi3-save-tree: retain “rect” for floating_cons
Michael Stapelberg [Wed, 5 Aug 2015 20:43:18 +0000 (22:43 +0200)]
i3-save-tree: retain “rect” for floating_cons

9 years agoappend_layout: load floating containers correctly
Michael Stapelberg [Wed, 5 Aug 2015 20:40:58 +0000 (22:40 +0200)]
append_layout: load floating containers correctly

fixes #1739
fixes #1271

9 years agoMerge pull request #1816 from tcreech/tcreech-for-illumos
Michael Stapelberg [Tue, 4 Aug 2015 07:10:06 +0000 (00:10 -0700)]
Merge pull request #1816 from tcreech/tcreech-for-illumos

Changes for compiling i3 on Illumos

9 years agoMerge pull request #1789 from shdown/next
Michael Stapelberg [Mon, 3 Aug 2015 17:49:15 +0000 (10:49 -0700)]
Merge pull request #1789 from shdown/next

Use safe wrappers wherever possible

9 years agoUse safe wrappers inside "#if 0" too 1789/head
shdown [Mon, 3 Aug 2015 09:51:55 +0000 (12:51 +0300)]
Use safe wrappers inside "#if 0" too

9 years ago.travis.yml: add a wrapped functions grepper script
shdown [Mon, 3 Aug 2015 09:51:39 +0000 (12:51 +0300)]
.travis.yml: add a wrapped functions grepper script

9 years agoconfig_parser: don't use sizeof(char)
shdown [Mon, 3 Aug 2015 09:51:20 +0000 (12:51 +0300)]
config_parser: don't use sizeof(char)

9 years agoUse safe wrappers wherever possible
shdown [Mon, 3 Aug 2015 09:50:50 +0000 (12:50 +0300)]
Use safe wrappers wherever possible

9 years agolibi3: change scalloc() signature to match calloc()
shdown [Mon, 3 Aug 2015 09:50:13 +0000 (12:50 +0300)]
libi3: change scalloc() signature to match calloc()

9 years agoMerge pull request #1712 from Airblader/feature-next-wm-size-hints-adopted
Michael Stapelberg [Mon, 3 Aug 2015 06:52:10 +0000 (23:52 -0700)]
Merge pull request #1712 from Airblader/feature-next-wm-size-hints-adopted

[Adopted] Use WM_SIZE_HINTS when available to set the geometry of floating windows

9 years agoProperly clear the urgency hint when set by i3.
Michael Stapelberg [Sun, 2 Aug 2015 18:50:14 +0000 (20:50 +0200)]
Properly clear the urgency hint when set by i3.

fixes #1825

9 years agoMerge pull request #1822 from acrisci/feature/docs-contributing-formatting
Michael Stapelberg [Sun, 2 Aug 2015 16:14:00 +0000 (09:14 -0700)]
Merge pull request #1822 from acrisci/feature/docs-contributing-formatting

docs: improve formatting for CONTRIBUTING

9 years agodocs: improve formatting for CONTRIBUTING 1822/head
Tony Crisci [Sat, 1 Aug 2015 18:50:55 +0000 (14:50 -0400)]
docs: improve formatting for CONTRIBUTING

9 years agoMerge pull request #1821 from acrisci/feature/dont-log-motion-notify
Michael Stapelberg [Fri, 31 Jul 2015 07:41:35 +0000 (00:41 -0700)]
Merge pull request #1821 from acrisci/feature/dont-log-motion-notify

Don't log motion notify

9 years agoDon't log motion notify 1821/head
Tony Crisci [Fri, 31 Jul 2015 02:40:38 +0000 (22:40 -0400)]
Don't log motion notify

Do not log an XCB_MOTION_NOTIFY event in handlers.c because this
clutters the log.

Only log in the motion notify handler if something important happens.

9 years agorelease.sh: pull website repository before
Michael Stapelberg [Thu, 30 Jul 2015 20:45:23 +0000 (22:45 +0200)]
release.sh: pull website repository before

9 years agorelease.sh: the mailing list part is done automatically
Michael Stapelberg [Thu, 30 Jul 2015 20:43:34 +0000 (22:43 +0200)]
release.sh: the mailing list part is done automatically

9 years agoUpdate debian/changelog
Michael Stapelberg [Thu, 30 Jul 2015 20:27:15 +0000 (22:27 +0200)]
Update debian/changelog

9 years agoMerge branch 'master' into next
Michael Stapelberg [Thu, 30 Jul 2015 20:27:15 +0000 (22:27 +0200)]
Merge branch 'master' into next

9 years agoMerge branch 'release-4.10.3'
Michael Stapelberg [Thu, 30 Jul 2015 20:27:15 +0000 (22:27 +0200)]
Merge branch 'release-4.10.3'

9 years agorelease i3 4.10.3 4.10.3
Michael Stapelberg [Thu, 30 Jul 2015 20:26:58 +0000 (22:26 +0200)]
release i3 4.10.3

9 years agorelease.sh: replace version in _docs/debugging at the right time
Michael Stapelberg [Thu, 30 Jul 2015 20:26:45 +0000 (22:26 +0200)]
release.sh: replace version in _docs/debugging at the right time

9 years agorelease.sh: bugfix: take docs from tmpdir, not startdir
Michael Stapelberg [Thu, 30 Jul 2015 20:21:48 +0000 (22:21 +0200)]
release.sh: bugfix: take docs from tmpdir, not startdir

9 years agorelease.sh: commit modified debian/changelog
Michael Stapelberg [Thu, 30 Jul 2015 20:16:01 +0000 (22:16 +0200)]
release.sh: commit modified debian/changelog

Otherwise, we cannot switch branches.

9 years agorelease.sh: 4.10.3 release
Michael Stapelberg [Thu, 30 Jul 2015 20:07:51 +0000 (22:07 +0200)]
release.sh: 4.10.3 release

9 years agorelease.sh: tell git to prefer “next” when merging
Michael Stapelberg [Thu, 30 Jul 2015 20:07:13 +0000 (22:07 +0200)]
release.sh: tell git to prefer “next” when merging

9 years agoi3bar: fix freeing static strings
shdown [Tue, 2 Jun 2015 20:08:08 +0000 (23:08 +0300)]
i3bar: fix freeing static strings

name and color fields of blocks are freed in clear_statusline, so they
need to be strdup'ed.

9 years agomkdirp: do not throw an error if directory exists
Theo Buehler [Sat, 23 May 2015 11:12:18 +0000 (13:12 +0200)]
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.

9 years agoMove mkdirp into libi3
Deiz [Sun, 29 Mar 2015 21:18:00 +0000 (17:18 -0400)]
Move mkdirp into libi3

9 years agoDetect base 16 in cmd criteria
Tony Crisci [Tue, 12 May 2015 21:04:01 +0000 (17:04 -0400)]
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.

9 years agouserguide: quoted strings need to be used, escaping isn’t possible
Michael Stapelberg [Sun, 3 May 2015 16:57:05 +0000 (18:57 +0200)]
userguide: quoted strings need to be used, escaping isn’t possible

fixes #1678

9 years agoInitialize workspace rect to the output's upon creation
Deiz [Sun, 26 Apr 2015 18:23:08 +0000 (14:23 -0400)]
Initialize workspace rect to the output's upon creation

The comment immediately following implied that this was the intended
behaviour. Not doing so means that compound commands that both move a
window to a new workspace as well as do something that depends on the
workspace's geometry (e.g. 'move position center' or 'floating enable'
on a tiled window) would use the workspace's calloc'd 0x0+0x0 geometry.

9 years agoCheck if output is disabled in handle_output()
Tony Crisci [Thu, 23 Apr 2015 22:21:15 +0000 (18:21 -0400)]
Check if output is disabled in handle_output()

Check if the `connection` of the randr output is
XCB_RANDR_CONNECTION_DISONNECTED and disable the output if it is.

This fixes an issue where the output would not be disabled if the output was
physically unplugged from the machine.

9 years agoIgnore InputHint when not in WM_HINTS
Tony Crisci [Sun, 26 Apr 2015 02:43:46 +0000 (22:43 -0400)]
Ignore InputHint when not in WM_HINTS

When InputHint is not in WM_HINTS (i.e., the flag is not set), treat the window
as if the InputHint was set (the default behavior). This means that i3 will
focus the window when it becomes managed.

fixes #1676

9 years agoBugfix: serialize con_id with %p in run_binding()
Tony Crisci [Sun, 26 Apr 2015 00:05:55 +0000 (20:05 -0400)]
Bugfix: serialize con_id with %p in run_binding()

%p is equivalent to either %x or %lx, depending on the pointer size of the
platform. Before this commit, we always used %d, which has the same behavior
on Linux, but is not automatically expanded to %ld on e.g. FreeBSD.

fixes #1661

9 years agoChanges for compiling on Illumos 1816/head
Tim Creech [Tue, 28 Jul 2015 00:47:12 +0000 (20:47 -0400)]
Changes for compiling on Illumos

* common.mk: use -lsocket -liconv -lgen on Illumos/Solaris
* mkdirp: return int and accept a mode argument
* use i3's mkdirp on everything except Illumos

9 years agoMerge pull request #1818 from simonnagl/terminology
Michael Stapelberg [Thu, 30 Jul 2015 07:05:08 +0000 (00:05 -0700)]
Merge pull request #1818 from simonnagl/terminology

Added terminology to i3-sensible-terminal

9 years agoAdded terminology to i3-sensible-terminal 1818/head
Simon Nagl [Tue, 28 Jul 2015 21:00:18 +0000 (23:00 +0200)]
Added terminology to i3-sensible-terminal

9 years agoMake line continuation userguide entry more verbose.
Michael Stapelberg [Mon, 27 Jul 2015 20:33:03 +0000 (22:33 +0200)]
Make line continuation userguide entry more verbose.

9 years agoImprove error message for clarity.
Michael Stapelberg [Mon, 27 Jul 2015 20:29:44 +0000 (22:29 +0200)]
Improve error message for clarity.

9 years agoMerge pull request #1797 from hwangcc23/config-file-line-continuation
Michael Stapelberg [Mon, 27 Jul 2015 20:27:03 +0000 (13:27 -0700)]
Merge pull request #1797 from hwangcc23/config-file-line-continuation

Support config file line continuation

9 years agoSupport config file line continuation 1797/head
hwangcc23 [Tue, 14 Jul 2015 15:38:45 +0000 (23:38 +0800)]
Support config file line continuation

1. Allow to use the line continuation, which is indicated by \ before the new line character, in config files.
2. Add a new testcase "247-config-line-continuation.t" for
    a). testing line continuation
    b). making sure string escaping still works
    c). testing line continuations within a string
    b). testing line continuations with too many lines

9 years agoMerge pull request #1805 from lasers/next
Michael Stapelberg [Sun, 19 Jul 2015 20:48:04 +0000 (22:48 +0200)]
Merge pull request #1805 from lasers/next

Added missing bar section for tray_output primary

9 years agoAdded missing bar section for tray_output primary 1805/head
Chris [Sat, 18 Jul 2015 23:50:02 +0000 (18:50 -0500)]
Added missing bar section for tray_output primary

9 years agoadd link to a rust i3 library
Michael Stapelberg [Sat, 18 Jul 2015 22:23:39 +0000 (00:23 +0200)]
add link to a rust i3 library

9 years agoMerge pull request #1795 from PopeLevi/patch-1
Michael Stapelberg [Tue, 14 Jul 2015 13:00:30 +0000 (09:00 -0400)]
Merge pull request #1795 from PopeLevi/patch-1

Added 'pg' to i3-sensible-pager

9 years agoAdded 'pg' to i3-sensible-pager 1795/head
PopeLevi [Tue, 14 Jul 2015 08:03:55 +0000 (20:03 +1200)]
Added 'pg' to i3-sensible-pager

Added 'pg' to the list of pagers in i3-sensible-pager

9 years agoMerge pull request #1792 from PopeLevi/patch-1
Michael Stapelberg [Sun, 12 Jul 2015 14:24:33 +0000 (07:24 -0700)]
Merge pull request #1792 from PopeLevi/patch-1

Added mate-terminal to i3-sensible-terminal

9 years agoAdded mate-terminal to i3-sensible-terminal 1792/head
PopeLevi [Sun, 12 Jul 2015 12:13:55 +0000 (00:13 +1200)]
Added mate-terminal to i3-sensible-terminal

Added the 'mate-terminal' terminal emulator to the list of terminals emulators in i3-sensible-terminal

9 years agoMerge pull request #1786 from hwangcc23/pr-for-issue-#1785
Michael Stapelberg [Fri, 10 Jul 2015 15:29:48 +0000 (08:29 -0700)]
Merge pull request #1786 from hwangcc23/pr-for-issue-#1785

Display which config is used in --more_version

9 years agoDisplay which config is used in --more_version 1786/head
hwangcc23 [Thu, 9 Jul 2015 14:25:50 +0000 (22:25 +0800)]
Display which config is used in --more_version

In the output of i3 --moreversion,
display the path of the used config and its last modified time.

9 years agoMerge pull request #1788 from acrisci/feature/docs-contributing-finding-issues
Michael Stapelberg [Fri, 10 Jul 2015 05:03:27 +0000 (22:03 -0700)]
Merge pull request #1788 from acrisci/feature/docs-contributing-finding-issues

docs: add section on finding issues to CONTRIBUTING

9 years agodocs: add section on finding issues to CONTRIBUTING 1788/head
Tony Crisci [Fri, 10 Jul 2015 04:04:20 +0000 (00:04 -0400)]
docs: add section on finding issues to CONTRIBUTING

9 years agoMerge pull request #1778 from Airblader/bug-1777
Michael Stapelberg [Wed, 1 Jul 2015 13:05:56 +0000 (06:05 -0700)]
Merge pull request #1778 from Airblader/bug-1777

Send custom command if workspace buttons are disabled

9 years agoSend custom-defined command upon click on the non-statusline part of i3bar even if... 1778/head
Ingo Bürk [Wed, 1 Jul 2015 12:48:06 +0000 (14:48 +0200)]
Send custom-defined command upon click on the non-statusline part of i3bar even if workspace_buttons is set to 'no'.

fixes #1777

9 years agoMerge pull request #1776 from Airblader/bug-1774
Michael Stapelberg [Wed, 1 Jul 2015 10:00:37 +0000 (03:00 -0700)]
Merge pull request #1776 from Airblader/bug-1774

Return non-match instead of asserting

9 years agoRemove asserts and return non-match instead if the container or its workspace cannot... 1776/head
Ingo Bürk [Wed, 1 Jul 2015 09:47:55 +0000 (11:47 +0200)]
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

9 years agoMerge pull request #1771 from Airblader/feature-1769
Michael Stapelberg [Tue, 30 Jun 2015 20:52:54 +0000 (13:52 -0700)]
Merge pull request #1771 from Airblader/feature-1769

Implement new criterion 'workspace'.

9 years agoMerge pull request #1772 from Airblader/feature-fix-newline
Michael Stapelberg [Tue, 30 Jun 2015 20:52:48 +0000 (13:52 -0700)]
Merge pull request #1772 from Airblader/feature-fix-newline

Added missing newlines in log statements.

9 years agoImplement new criterion 'workspace'. 1771/head
Ingo Bürk [Mon, 29 Jun 2015 21:58:48 +0000 (23:58 +0200)]
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

9 years agoMerge pull request #1768 from hwangcc23/atoi2strtol
Michael Stapelberg [Tue, 30 Jun 2015 18:50:28 +0000 (11:50 -0700)]
Merge pull request #1768 from hwangcc23/atoi2strtol

Fix TODO in src/bindings.c

9 years agoAdded missing newlines in log statements. 1772/head
Ingo Bürk [Tue, 30 Jun 2015 18:48:35 +0000 (20:48 +0200)]
Added missing newlines in log statements.

9 years agoFix TODO by replacing atoi by strtol 1768/head
hwangcc23 [Thu, 25 Jun 2015 14:33:50 +0000 (22:33 +0800)]
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.

9 years agoMerge pull request #1747 from Airblader/feature-1723
Michael Stapelberg [Mon, 29 Jun 2015 07:24:59 +0000 (00:24 -0700)]
Merge pull request #1747 from Airblader/feature-1723

Implement "title_format"

9 years agoAdded documentation for "title_format". 1747/head
Ingo Bürk [Thu, 11 Jun 2015 05:26:01 +0000 (07:26 +0200)]
Added documentation for "title_format".

9 years agoMerge pull request #1745 from mh21/configurable-tray-padding
Michael Stapelberg [Mon, 29 Jun 2015 07:19:44 +0000 (00:19 -0700)]
Merge pull request #1745 from mh21/configurable-tray-padding

Configurable tray padding.

9 years agoParse the title_format and display the customized window title if a format was set.
Ingo Bürk [Wed, 10 Jun 2015 17:01:05 +0000 (19:01 +0200)]
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

9 years agoAdded command directive 'title_format'.
Ingo Bürk [Wed, 10 Jun 2015 16:59:45 +0000 (18:59 +0200)]
Added command directive 'title_format'.
This directive will be used to customize the window title.

9 years agoadd util-{wm,keysyms} explicitly, remove obsolete xlib, update lkgv
Michael Stapelberg [Sun, 28 Jun 2015 19:27:52 +0000 (21:27 +0200)]
add util-{wm,keysyms} explicitly, remove obsolete xlib, update lkgv

fixes #1764

9 years agoConfigurable tray padding. 1745/head
Michael Hofmann [Tue, 9 Jun 2015 08:06:45 +0000 (10:06 +0200)]
Configurable tray padding.

9 years agodebian: stacklimit.png got deleted, so remove it from i3-wm.docs
Michael Stapelberg [Sun, 21 Jun 2015 11:24:35 +0000 (13:24 +0200)]
debian: stacklimit.png got deleted, so remove it from i3-wm.docs

9 years agoMerge pull request #1697 from Airblader/feature-1695
Michael Stapelberg [Thu, 18 Jun 2015 18:50:56 +0000 (20:50 +0200)]
Merge pull request #1697 from Airblader/feature-1695

Extend mouse commands on i3bar

9 years agoAdded testcase for #1695. 1697/head
Ingo Bürk [Thu, 4 Jun 2015 13:55:39 +0000 (15:55 +0200)]
Added testcase for #1695.

9 years agoEnsure format of dumped bindings for i3bar is compatible with i3 bindings.
Ingo Bürk [Sat, 23 May 2015 20:48:29 +0000 (16:48 -0400)]
Ensure format of dumped bindings for i3bar is compatible with i3 bindings.

fixes #1695

9 years agoAdapted userguide for new i3bar 'bindsym' command.
Ingo Bürk [Sat, 2 May 2015 19:56:10 +0000 (21:56 +0200)]
Adapted userguide for new i3bar 'bindsym' command.

9 years agoRead 'bindsym' rather than the old 'wheel_up_cmd' and 'wheel_down_cmd' directives...
Ingo Bürk [Sat, 13 Jun 2015 12:58:41 +0000 (14:58 +0200)]
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.

9 years agoMerge pull request #1752 from Airblader/feature-test-cleanups-1
Michael Stapelberg [Sat, 13 Jun 2015 12:39:19 +0000 (14:39 +0200)]
Merge pull request #1752 from Airblader/feature-test-cleanups-1

Silence "masks earlier declaration in same scope" warnings

9 years agoMerge pull request #1744 from Airblader/feature-docs-7
Michael Stapelberg [Sat, 13 Jun 2015 10:39:59 +0000 (12:39 +0200)]
Merge pull request #1744 from Airblader/feature-docs-7

Documentation Improvements

9 years agoSilence "masks earlier declaration in same scope" warnings when executing tests. 1752/head
Ingo Bürk [Fri, 12 Jun 2015 16:19:43 +0000 (18:19 +0200)]
Silence "masks earlier declaration in same scope" warnings when executing tests.

9 years agoFix documentation for border styles. 1744/head
Ingo Bürk [Tue, 9 Jun 2015 21:13:40 +0000 (23:13 +0200)]
Fix documentation for border styles.

9 years agouserguide: document signal handling caveat affecting at least dash(1)
Michael Stapelberg [Fri, 12 Jun 2015 07:52:02 +0000 (09:52 +0200)]
userguide: document signal handling caveat affecting at least dash(1)

fixes #1741

9 years agoRemove dead documentation for non-existing feature "stack-limit".
Ingo Bürk [Tue, 9 Jun 2015 21:13:15 +0000 (23:13 +0200)]
Remove dead documentation for non-existing feature "stack-limit".

9 years agoMerge pull request #1743 from Airblader/bug-1742
Michael Stapelberg [Tue, 9 Jun 2015 21:12:17 +0000 (23:12 +0200)]
Merge pull request #1743 from Airblader/bug-1742

Remove redundant and broken check for '\0'.

9 years agoRemove redundant and broken check for '\0'. 1743/head
Ingo Bürk [Tue, 9 Jun 2015 20:14:56 +0000 (22:14 +0200)]
Remove redundant and broken check for '\0'.

fixes #1742

9 years agoMerge pull request #1731 from Airblader/feature-indicator-pango
Michael Stapelberg [Sun, 7 Jun 2015 18:46:16 +0000 (20:46 +0200)]
Merge pull request #1731 from Airblader/feature-indicator-pango

Allow pango markup for the binding indicator.

9 years agoImplement i3's logic for maintaining a list of 'bindsym' directives and passing it...
Ingo Bürk [Sat, 2 May 2015 19:54:56 +0000 (21:54 +0200)]
Implement i3's logic for maintaining a list of 'bindsym' directives and passing it to i3bar through the IPC.

9 years agoAdd new command skeleton 'bindsym <button> <command>' for 'bar' block.
Ingo Bürk [Sat, 2 May 2015 19:53:23 +0000 (21:53 +0200)]
Add new command skeleton 'bindsym <button> <command>' for 'bar' block.

9 years agoMerge pull request #1737 from Airblader/feature-xdotool-on-travis
Michael Stapelberg [Fri, 5 Jun 2015 10:16:47 +0000 (12:16 +0200)]
Merge pull request #1737 from Airblader/feature-xdotool-on-travis

Install xdotool to run tests requiring it on Travis.

9 years agoInstall xdotool to run tests requiring it on Travis. 1737/head
Ingo Bürk [Thu, 4 Jun 2015 15:05:53 +0000 (17:05 +0200)]
Install xdotool to run tests requiring it on Travis.

9 years agoMerge pull request #1735 from shdown/strdup
Michael Stapelberg [Tue, 2 Jun 2015 20:25:27 +0000 (22:25 +0200)]
Merge pull request #1735 from shdown/strdup

i3bar: fix freeing static strings

9 years agoi3bar: fix freeing static strings 1735/head
shdown [Tue, 2 Jun 2015 20:08:08 +0000 (23:08 +0300)]
i3bar: fix freeing static strings

name and color fields of blocks are freed in clear_statusline, so they
need to be strdup'ed.

9 years agoMerge pull request #1733 from Airblader/feature-1732
Michael Stapelberg [Tue, 2 Jun 2015 06:35:14 +0000 (08:35 +0200)]
Merge pull request #1733 from Airblader/feature-1732

Added a separate color directive for the binding mode indicator

9 years agoMerge pull request #1734 from Airblader/bug-1538-1
Michael Stapelberg [Tue, 2 Jun 2015 06:33:41 +0000 (08:33 +0200)]
Merge pull request #1734 from Airblader/bug-1538-1

Fix warning about potentially uninitialized variable.

9 years agoFix warning about potentially uninitialized variable. 1734/head
Ingo Bürk [Mon, 1 Jun 2015 15:10:10 +0000 (17:10 +0200)]
Fix warning about potentially uninitialized variable.

9 years agoUse the introduced binding_mode_* colors to draw the binding mode. 1733/head
Ingo Bürk [Sun, 31 May 2015 14:27:58 +0000 (16:27 +0200)]
Use the introduced binding_mode_* colors to draw the binding mode.

fixes #1732

9 years agoAdded the 'binding_mode' color directive to the documentation.
Ingo Bürk [Sun, 31 May 2015 14:07:40 +0000 (16:07 +0200)]
Added the 'binding_mode' color directive to the documentation.

9 years agoIntroduce a config directive 'binding_mode' in the 'bar' config, pass it through...
Ingo Bürk [Sun, 31 May 2015 14:07:23 +0000 (16:07 +0200)]
Introduce a config directive 'binding_mode' in the 'bar' config, pass it through the IPC and parse it in i3bar.

9 years agoMerge pull request #1725 from Airblader/bug-1056
Michael Stapelberg [Sun, 31 May 2015 14:13:51 +0000 (16:13 +0200)]
Merge pull request #1725 from Airblader/bug-1056

Allow window decoration to change focus

9 years agoAllow pango markup for the binding indicator. 1731/head
Ingo Bürk [Sun, 31 May 2015 10:35:47 +0000 (12:35 +0200)]
Allow pango markup for the binding indicator.

9 years agoUse XCB_NONE instead of hard-coded 0. 1725/head
Ingo Bürk [Fri, 29 May 2015 18:28:35 +0000 (20:28 +0200)]
Use XCB_NONE instead of hard-coded 0.