]> git.sur5r.net Git - i3/i3/log
i3/i3
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.

9 years agoAllow hovering over the window decoration to change the focus if the parent container...
Ingo Bürk [Fri, 29 May 2015 18:28:24 +0000 (20:28 +0200)]
Allow hovering over the window decoration to change the focus if the parent container is split horizontally or vertically.

fixes #1056

9 years agoAdded a testcases for #1056 to test whether hovering over a window decoration causes...
Ingo Bürk [Fri, 29 May 2015 21:49:22 +0000 (23:49 +0200)]
Added a testcases for #1056 to test whether hovering over a window decoration causes the corresponding window to be
focused.

9 years agoMerge pull request #1722 from Airblader/bug-1701
Michael Stapelberg [Wed, 27 May 2015 17:27:56 +0000 (19:27 +0200)]
Merge pull request #1722 from Airblader/bug-1701

Grab all buttons when managing a window

9 years agoImprove logging of button events. 1722/head
Ingo Bürk [Tue, 26 May 2015 14:57:25 +0000 (16:57 +0200)]
Improve logging of button events.

9 years agoGrab all buttons when managing a window to also allow 'bindsym --whole-window button4...
Ingo Bürk [Tue, 26 May 2015 14:56:00 +0000 (16:56 +0200)]
Grab all buttons when managing a window to also allow 'bindsym --whole-window button4 …' to work correctly.

fixes #1701

9 years agodocs/ipc: add veelenga/i3ipc-ruby
Michael Stapelberg [Sun, 24 May 2015 23:05:08 +0000 (01:05 +0200)]
docs/ipc: add veelenga/i3ipc-ruby

9 years agoMerge pull request #1714 from Airblader/feature-docs-6
Michael Stapelberg [Sun, 24 May 2015 22:51:41 +0000 (00:51 +0200)]
Merge pull request #1714 from Airblader/feature-docs-6

Fixed syntax for tray_output in userguide

9 years agoMerge pull request #1716 from botovq/next
Michael Stapelberg [Sat, 23 May 2015 11:33:33 +0000 (13:33 +0200)]
Merge pull request #1716 from botovq/next

mkdirp: do not throw an error if directory exists

9 years agomkdirp: do not throw an error if directory exists 1716/head
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 agoFixed syntax for tray_output in userguide. 1714/head
Ingo Bürk [Sat, 23 May 2015 02:07:43 +0000 (22:07 -0400)]
Fixed syntax for tray_output in userguide.

9 years agoMerge pull request #1706 from Airblader/feature-docs-5
Michael Stapelberg [Mon, 18 May 2015 19:46:47 +0000 (21:46 +0200)]
Merge pull request #1706 from Airblader/feature-docs-5

Made syntax of syntax descriptions consistent:

9 years agoMade syntax of syntax descriptions consistent: 1706/head
Ingo Bürk [Tue, 12 May 2015 22:07:01 +0000 (18:07 -0400)]
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

9 years agoMerge pull request #1698 from Airblader/feature-1696
Michael Stapelberg [Sun, 17 May 2015 13:02:50 +0000 (15:02 +0200)]
Merge pull request #1698 from Airblader/feature-1696

Added 'move position mouse'

9 years agoProtect "move position mouse" against a NULL access. 1698/head
Ingo Bürk [Thu, 14 May 2015 17:07:56 +0000 (13:07 -0400)]
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.

9 years agoAdded testcases for 'move position mouse'
Ingo Bürk [Sun, 3 May 2015 14:19:23 +0000 (16:19 +0200)]
Added testcases for 'move position mouse'

9 years agoMerge pull request #1704 from acrisci/bug/cmd-detect-base-16
Michael Stapelberg [Wed, 13 May 2015 06:35:06 +0000 (08:35 +0200)]
Merge pull request #1704 from acrisci/bug/cmd-detect-base-16

Detect base 16 in cmd criteria

9 years agoAdded 'move position mouse' command to the userguide.
Ingo Bürk [Sun, 3 May 2015 12:59:30 +0000 (14:59 +0200)]
Added 'move position mouse' command to the userguide.

9 years agoImplemented new command 'move [window|container] [to] position mouse|cursor|pointer
Ingo Bürk [Sat, 2 May 2015 22:19:26 +0000 (00:19 +0200)]
Implemented new command 'move [window|container] [to] position mouse|cursor|pointer

fixes #1696

9 years agoDetect base 16 in cmd criteria 1704/head
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 agoMerge pull request #1700 from mh21/tray-icon-size-cleanup
Michael Stapelberg [Tue, 12 May 2015 20:44:08 +0000 (22:44 +0200)]
Merge pull request #1700 from mh21/tray-icon-size-cleanup

Tray icon size cleanup.

9 years agoMerge pull request #1693 from mh21/wm-class-garbage-no-copy
Michael Stapelberg [Thu, 7 May 2015 06:55:47 +0000 (23:55 -0700)]
Merge pull request #1693 from mh21/wm-class-garbage-no-copy

Don't duplicate property value on class change.

9 years agoNo memcpy on class change. 1693/head
Michael Hofmann [Mon, 30 Mar 2015 10:02:39 +0000 (12:02 +0200)]
No memcpy on class change.

9 years agoIntroduce sstrndup wrapper.
Michael Hofmann [Wed, 6 May 2015 14:28:29 +0000 (16:28 +0200)]
Introduce sstrndup wrapper.

9 years agoMerge pull request #1638 from hwangcc23/fix-1489
Michael Stapelberg [Tue, 5 May 2015 07:43:43 +0000 (00:43 -0700)]
Merge pull request #1638 from hwangcc23/fix-1489

Add a timeout: delay_exit_on_zero_displays

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 agoMerge pull request #1689 from Airblader/feature-docs-4
Michael Stapelberg [Sun, 3 May 2015 09:28:45 +0000 (02:28 -0700)]
Merge pull request #1689 from Airblader/feature-docs-4

Debugging docs – minimal setup, small log file, closed source software

9 years agoAdded a section to the debugging docs: 1689/head
Ingo Bürk [Sun, 26 Apr 2015 21:07:41 +0000 (23:07 +0200)]
Added a section to the debugging docs:
* Motivate users to come up with clear and minimal instructions on how to reproduce a problem before submitting an issue.
* Encourage users to restart i3 before reproducing the problem so that the log file can stay small and noise-free.
* Mention the non-support of closed source software.

9 years agoMerge pull request #1685 from Deiz/fix-new-workspace-float
Michael Stapelberg [Sat, 2 May 2015 15:24:54 +0000 (08:24 -0700)]
Merge pull request #1685 from Deiz/fix-new-workspace-float

Initialize workspace rect to the output's upon creation

9 years agoTray icon size cleanup. 1700/head
Michael Hofmann [Mon, 30 Mar 2015 22:07:50 +0000 (00:07 +0200)]
Tray icon size cleanup.

- icon_size instead of font.height
- consistent spacing with tray_spacing_px

9 years agoInitialize workspace rect to the output's upon creation 1685/head
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 agoMerge pull request #1680 from acrisci/bug/randr-disabled-outputs
Michael Stapelberg [Sun, 26 Apr 2015 21:44:03 +0000 (23:44 +0200)]
Merge pull request #1680 from acrisci/bug/randr-disabled-outputs

Check if output is disabled in handle_output()

9 years agoMerge pull request #1657 from Georgiy-Tugai/fix-flickering-shortened
Michael Stapelberg [Sun, 26 Apr 2015 21:38:27 +0000 (23:38 +0200)]
Merge pull request #1657 from Georgiy-Tugai/fix-flickering-shortened

i3bar: fix flickering shortened status bar on other output(s)

9 years agoMerge pull request #1683 from Airblader/bug-click-detection
Michael Stapelberg [Sun, 26 Apr 2015 21:36:28 +0000 (23:36 +0200)]
Merge pull request #1683 from Airblader/bug-click-detection

Only detect clicks within the statusline width.

9 years agoMerge pull request #1688 from Airblader/feature-1687
Michael Stapelberg [Sun, 26 Apr 2015 21:31:12 +0000 (23:31 +0200)]
Merge pull request #1688 from Airblader/feature-1687

Added a note to the debugging docs about sensitive data.

9 years agoAdded a note to the debugging docs about sensitive data. 1688/head
Ingo Bürk [Sun, 26 Apr 2015 20:51:16 +0000 (22:51 +0200)]
Added a note to the debugging docs about sensitive data.

resolves #1687

9 years agoMerge pull request #1684 from acrisci/bug/focus-without-input-hint
Michael Stapelberg [Sun, 26 Apr 2015 10:15:38 +0000 (12:15 +0200)]
Merge pull request #1684 from acrisci/bug/focus-without-input-hint

Ignore InputHint when not in WM_HINTS

9 years agoMerge pull request #1672 from acrisci/bug/fix-freebsd-bindmouse
Michael Stapelberg [Sun, 26 Apr 2015 10:13:43 +0000 (12:13 +0200)]
Merge pull request #1672 from acrisci/bug/fix-freebsd-bindmouse

bugfix: serialize con_id with %p in run_binding()

9 years agoIgnore InputHint when not in WM_HINTS 1684/head
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() 1672/head
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 agoOnly detect clicks within the statusline width. 1683/head
Ingo Bürk [Sat, 25 Apr 2015 21:31:56 +0000 (23:31 +0200)]
Only detect clicks within the statusline width.

If the user clicks on the very top of i3bar above a tray icon, i3bar might
mistakenly trigger the click event for the last status block. This is due to
the fact that the click detection considers the separator width of the block
even though on the last block this is ignored, incorrectly spanning the block's
width partially (or entirely) across the tray area.