]> git.sur5r.net Git - i3/i3/log
i3/i3
9 years agoCheck if output is disabled in handle_output() 1680/head
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 agoMerge pull request #1664 from Airblader/feature-wm-state-hidden-2
Michael Stapelberg [Tue, 21 Apr 2015 08:09:51 +0000 (10:09 +0200)]
Merge pull request #1664 from Airblader/feature-wm-state-hidden-2

Set _NET_WM_STATE_HIDDEN in tabbed/stacked containers

9 years agoAdded testcases for setting _NET_WM_STATE_HIDDEN on unfocused containers in tabbed... 1664/head
Ingo Bürk [Fri, 17 Apr 2015 18:09:53 +0000 (20:09 +0200)]
Added testcases for setting _NET_WM_STATE_HIDDEN on unfocused containers in tabbed/stacked containers.

9 years agoSet the _NET_WM_STATE_HIDDEN atom on windows that are currently not visible due to...
Ingo Bürk [Thu, 16 Apr 2015 17:43:23 +0000 (19:43 +0200)]
Set the _NET_WM_STATE_HIDDEN atom on windows that are currently not visible due to being in the non-focused tab of a stacked or tabbed container.

fixes #1648

9 years agoAdded 'con_is_hidden' to check whether a given container is visible to the user assum...
Ingo Bürk [Thu, 16 Apr 2015 17:42:31 +0000 (19:42 +0200)]
Added 'con_is_hidden' to check whether a given container is visible to the user assuming its workspace is visible.
This is useful for determining whether we want to set the _NET_WM_STATE_HIDDEN atom on the window.

9 years agoMerge pull request #1665 from Airblader/feature-1658
Michael Stapelberg [Tue, 21 Apr 2015 06:42:16 +0000 (08:42 +0200)]
Merge pull request #1665 from Airblader/feature-1658

Added criterion 'window_type'

9 years agoMerge pull request #1669 from Airblader/feature-docs-2
Michael Stapelberg [Tue, 21 Apr 2015 06:32:13 +0000 (08:32 +0200)]
Merge pull request #1669 from Airblader/feature-docs-2

Documentation Improvement – Debug i3bar

9 years agoMerge pull request #1636 from Deiz/update-notices
Michael Stapelberg [Tue, 21 Apr 2015 06:31:40 +0000 (08:31 +0200)]
Merge pull request #1636 from Deiz/update-notices

Update copyright notices and get rid of ranges

9 years agoMerge pull request #1666 from Xarthisius/undef_FALSE
Michael Stapelberg [Tue, 21 Apr 2015 06:29:55 +0000 (08:29 +0200)]
Merge pull request #1666 from Xarthisius/undef_FALSE

Fix ‘FALSE’ undeclared (first use in this function) when i3 is built w/o PANGO

9 years agoFix ‘FALSE’ undeclared (first use in this function) when i3 is built without PANGO... 1666/head
Kacper Kowalik (Xarthisius) [Sun, 19 Apr 2015 15:26:10 +0000 (10:26 -0500)]
Fix ‘FALSE’ undeclared (first use in this function) when i3 is built without PANGO support

9 years agoUpdate copyright notices and get rid of ranges 1636/head
Deiz [Sat, 4 Apr 2015 00:17:56 +0000 (20:17 -0400)]
Update copyright notices and get rid of ranges

The script used to make these changes can be found at:

   https://gist.github.com/Deiz/32322020f76d23e2bf8f

9 years agoMerge pull request #1674 from Airblader/feature-docs-3
Michael Stapelberg [Mon, 20 Apr 2015 21:29:24 +0000 (23:29 +0200)]
Merge pull request #1674 from Airblader/feature-docs-3

Adapt release.sh to update the latest version in the debugging docs.

9 years agoCleanup: delete comments that were accidentally copy-pasted and are incorrect for... 1665/head
Ingo Bürk [Sun, 19 Apr 2015 08:47:33 +0000 (10:47 +0200)]
Cleanup: delete comments that were accidentally copy-pasted and are incorrect for these test cases

9 years agoSmall cleanups:
Ingo Bürk [Sun, 19 Apr 2015 08:47:09 +0000 (10:47 +0200)]
Small cleanups:
* Implement criterion specs just like it is done in the spec for the config
* Declare variables in test case early so the 'my' keyword can be dropped in the actual test cases

9 years agoAdded testcase for 'window_type' criterion when used as a command.
Ingo Bürk [Sat, 18 Apr 2015 22:37:10 +0000 (00:37 +0200)]
Added testcase for 'window_type' criterion when used as a command.

9 years agoAdded testcase for changing _NET_WM_WINDOW_TYPE after the window is already managed.
Ingo Bürk [Sat, 18 Apr 2015 22:30:01 +0000 (00:30 +0200)]
Added testcase for changing _NET_WM_WINDOW_TYPE after the window is already managed.

9 years agoHandle changes to _NET_WM_WINDOW_TYPE after the window has been managed.
Ingo Bürk [Sat, 18 Apr 2015 22:29:31 +0000 (00:29 +0200)]
Handle changes to _NET_WM_WINDOW_TYPE after the window has been managed.

9 years agoImplement new criterion 'window_type = normal|dialog|utility|toolbar|splash|menu...
Ingo Bürk [Sat, 18 Apr 2015 19:09:03 +0000 (21:09 +0200)]
Implement new criterion 'window_type = normal|dialog|utility|toolbar|splash|menu|dropdown_menu|popup_menu|tooltip'

fixes #1658

9 years agoProvide instructions on how to debug i3bar 1669/head
Ingo Bürk [Sun, 19 Apr 2015 20:37:37 +0000 (22:37 +0200)]
Provide instructions on how to debug i3bar

9 years agoAdapt release.sh to update the latest version in the debugging docs. 1674/head
Ingo Bürk [Mon, 20 Apr 2015 15:51:34 +0000 (17:51 +0200)]
Adapt release.sh to update the latest version in the debugging docs.

9 years agocontributing: mention that we cannot support closed-source software
Michael Stapelberg [Sun, 19 Apr 2015 19:11:22 +0000 (21:11 +0200)]
contributing: mention that we cannot support closed-source software

9 years agoMerge pull request #1662 from Airblader/feature-move-to-mark
Michael Stapelberg [Sun, 19 Apr 2015 19:04:26 +0000 (21:04 +0200)]
Merge pull request #1662 from Airblader/feature-move-to-mark

Allow moving windows to marks

9 years agoAdded test case for transfer of urgency flag when moving a window to a mark. 1662/head
Ingo Bürk [Wed, 15 Apr 2015 19:33:59 +0000 (21:33 +0200)]
Added test case for transfer of urgency flag when moving a window to a mark.

9 years agofix commands parser test
Ingo Bürk [Wed, 15 Apr 2015 18:39:39 +0000 (20:39 +0200)]
fix commands parser test

9 years agoAdded testcase for moving a window to a workspace holding the mark
Ingo Bürk [Wed, 15 Apr 2015 18:38:33 +0000 (20:38 +0200)]
Added testcase for moving a window to a workspace holding the mark

9 years agoDisallow moving a container to itself since this would crash i3.
Ingo Bürk [Wed, 15 Apr 2015 17:59:53 +0000 (19:59 +0200)]
Disallow moving a container to itself since this would crash i3.

9 years agoAdded testcases for 'move window|container to mark <str>'
Ingo Bürk [Wed, 15 Apr 2015 16:41:56 +0000 (18:41 +0200)]
Added testcases for 'move window|container to mark <str>'

fixes #1643

9 years agoImplement the command 'move container to mark <mark>' using 'con_move_to_mark'.
Ingo Bürk [Tue, 14 Apr 2015 15:57:33 +0000 (17:57 +0200)]
Implement the command 'move container to mark <mark>' using 'con_move_to_mark'.

9 years agoAdded 'con_move_to_mark' to move a container to the container holding a certain mark.
Ingo Bürk [Wed, 15 Apr 2015 16:36:45 +0000 (18:36 +0200)]
Added 'con_move_to_mark' to move a container to the container holding a certain mark.

9 years agoExtract a function from con_move_to_workpsace that deals with moving a container...
Ingo Bürk [Tue, 14 Apr 2015 15:56:10 +0000 (17:56 +0200)]
Extract a function from con_move_to_workpsace that deals with moving a container to some other container rather than being restricted to moving to a specific workspace.

9 years agoadded function 'con_by_mark' to look up a con holding the given mark
Ingo Bürk [Tue, 14 Apr 2015 15:51:28 +0000 (17:51 +0200)]
added function 'con_by_mark' to look up a con holding the given mark

9 years agoAdded configuration directive for 'move [container|window] [to] mark <str>'
Ingo Bürk [Sun, 12 Apr 2015 15:30:31 +0000 (17:30 +0200)]
Added configuration directive for 'move [container|window] [to] mark <str>'

9 years agoMerge pull request #1632 from Deiz/binding-border
Michael Stapelberg [Sun, 19 Apr 2015 16:28:08 +0000 (09:28 -0700)]
Merge pull request #1632 from Deiz/binding-border

Add a --border flag to enable mouse binds to trigger on border click

9 years agoAdded testcase for criterion 'window_type'.
Ingo Bürk [Sat, 18 Apr 2015 20:02:03 +0000 (22:02 +0200)]
Added testcase for criterion 'window_type'.

9 years agoMerge pull request #1651 from tanderson92/pkgconfig
Michael Stapelberg [Thu, 16 Apr 2015 07:34:01 +0000 (00:34 -0700)]
Merge pull request #1651 from tanderson92/pkgconfig

Respect EXEC_PREFIX and a users' choice of PKG_CONFIG.

9 years agorelease.sh: add missing -t parameter for sendmail
Michael Stapelberg [Thu, 16 Apr 2015 07:21:13 +0000 (09:21 +0200)]
release.sh: add missing -t parameter for sendmail

9 years agorelease.sh: add missing commit step for debian changelog
Michael Stapelberg [Thu, 16 Apr 2015 07:21:00 +0000 (09:21 +0200)]
release.sh: add missing commit step for debian changelog

9 years agorelease.sh: fix encoding and concatenating changelog
Michael Stapelberg [Thu, 16 Apr 2015 07:20:43 +0000 (09:20 +0200)]
release.sh: fix encoding and concatenating changelog

9 years agorelease.sh: set up master branch for pushing the website
Michael Stapelberg [Thu, 16 Apr 2015 07:20:22 +0000 (09:20 +0200)]
release.sh: set up master branch for pushing the website

9 years agorelease.sh: checkout correct branch before copying docs
Michael Stapelberg [Thu, 16 Apr 2015 07:19:46 +0000 (09:19 +0200)]
release.sh: checkout correct branch before copying docs

9 years agorelease.sh: 4.10.2 release
Michael Stapelberg [Thu, 16 Apr 2015 07:19:30 +0000 (09:19 +0200)]
release.sh: 4.10.2 release

9 years agodebian: update changelog
Michael Stapelberg [Thu, 16 Apr 2015 07:08:46 +0000 (09:08 +0200)]
debian: update changelog

9 years agoMerge branch 'master' into next
Michael Stapelberg [Thu, 16 Apr 2015 07:03:28 +0000 (09:03 +0200)]
Merge branch 'master' into next

9 years agoMerge branch 'release-4.10.2'
Michael Stapelberg [Thu, 16 Apr 2015 07:03:28 +0000 (09:03 +0200)]
Merge branch 'release-4.10.2'

9 years agorelease i3 4.10.2 4.10.2
Michael Stapelberg [Thu, 16 Apr 2015 07:02:58 +0000 (09:02 +0200)]
release i3 4.10.2

9 years agoRespect EXEC_PREFIX and a users' choice of PKG_CONFIG. 1651/head
Thomas Anderson [Fri, 10 Apr 2015 21:09:00 +0000 (14:09 -0700)]
Respect EXEC_PREFIX and a users' choice of PKG_CONFIG.

The Makefiles should put binaries in $(EXEC_PREFIX) and
architecture-independent files in $(PREFIX). Also a user may have a
prefixed- pkg-config, as in the case of cross compiling on Exherbo
Linux, so respect the well-accepted $(PKG_CONFIG) variable for this
purpose.

9 years agoMerge pull request #1654 from Deiz/complete-run-chdir
Michael Stapelberg [Sun, 12 Apr 2015 17:46:54 +0000 (10:46 -0700)]
Merge pull request #1654 from Deiz/complete-run-chdir

Allow complete-run.pl to be run from any directory

9 years agoAllow complete-run.pl to be run from any directory 1654/head
Deiz [Sat, 11 Apr 2015 22:52:47 +0000 (18:52 -0400)]
Allow complete-run.pl to be run from any directory

9 years agoMerge pull request #1641 from Deiz/fix-1640
Michael Stapelberg [Sun, 12 Apr 2015 17:08:43 +0000 (10:08 -0700)]
Merge pull request #1641 from Deiz/fix-1640

Store Git commit identifier in its own object

9 years agoRebuild version.o when version.c or LAST_VERSION change 1641/head
Deiz [Tue, 7 Apr 2015 17:27:35 +0000 (13:27 -0400)]
Rebuild version.o when version.c or LAST_VERSION change

$(TOPDIR)/LAST_VERSION is a cached copy of common.mk's I3_VERSION var,
updated only if the two differ.

9 years agoMerge pull request #1652 from Airblader/fix-1649
Michael Stapelberg [Sun, 12 Apr 2015 16:27:02 +0000 (09:27 -0700)]
Merge pull request #1652 from Airblader/fix-1649

Removed comment on removal of legacy "default" layout.

9 years agoMerge pull request #1653 from nmikhailov/next
Michael Stapelberg [Sun, 12 Apr 2015 16:26:32 +0000 (09:26 -0700)]
Merge pull request #1653 from nmikhailov/next

Bump testsuite dependencies versions

9 years agoBump testsuite dependencies versions 1653/head
Nikita Mikhailov [Sat, 11 Apr 2015 11:00:57 +0000 (16:00 +0500)]
Bump testsuite dependencies versions

9 years agoRemoved comment on removal of legacy "default" layout. 1652/head
Ingo Bürk [Sat, 11 Apr 2015 08:27:42 +0000 (10:27 +0200)]
Removed comment on removal of legacy "default" layout.

closes #1649

9 years agoStore Git commit identifier in its own object
Deiz [Mon, 6 Apr 2015 22:28:40 +0000 (18:28 -0400)]
Store Git commit identifier in its own object

Fixes #1640

9 years agoBugfix: Remove windows from the save set when unmapping. sur5r.net/master
Michael Stapelberg [Mon, 6 Apr 2015 13:40:12 +0000 (15:40 +0200)]
Bugfix: Remove windows from the save set when unmapping.

fixes #1617

9 years agoUse a reasonable default sep_block_width if a separator_symbol is given
Ingo Bürk [Fri, 3 Apr 2015 20:54:59 +0000 (22:54 +0200)]
Use a reasonable default sep_block_width if a separator_symbol is given

9 years agoGet workspace name when renaming current workspace.
Michael Hofmann [Mon, 30 Mar 2015 06:23:00 +0000 (08:23 +0200)]
Get workspace name when renaming current workspace.

- fixes #1607

9 years agoCope with non-null-terminated x class properties.
Michael Hofmann [Sun, 29 Mar 2015 13:15:12 +0000 (15:15 +0200)]
Cope with non-null-terminated x class properties.

- fixes #1605

9 years agoBugfix: Remove windows from the save set when unmapping.
Michael Stapelberg [Mon, 6 Apr 2015 13:40:12 +0000 (15:40 +0200)]
Bugfix: Remove windows from the save set when unmapping.

fixes #1617

9 years agoMerge pull request #1634 from Airblader/feature-sep-symbol-default
Michael Stapelberg [Sat, 4 Apr 2015 16:08:28 +0000 (09:08 -0700)]
Merge pull request #1634 from Airblader/feature-sep-symbol-default

Use a reasonable default sep_block_width if a separator_symbol is given

9 years agoUse a reasonable default sep_block_width if a separator_symbol is given 1634/head
Ingo Bürk [Fri, 3 Apr 2015 20:54:59 +0000 (22:54 +0200)]
Use a reasonable default sep_block_width if a separator_symbol is given

9 years agoAdd test cases for --border 1632/head
Deiz [Thu, 2 Apr 2015 20:46:42 +0000 (16:46 -0400)]
Add test cases for --border

9 years agoUpdate userguide for --border
Deiz [Thu, 2 Apr 2015 20:43:54 +0000 (16:43 -0400)]
Update userguide for --border

9 years agoAdd a --border flag to enable mouse binds to trigger on border click
Deiz [Thu, 2 Apr 2015 01:43:46 +0000 (21:43 -0400)]
Add a --border flag to enable mouse binds to trigger on border click

9 years agoMerge pull request #1631 from Airblader/bug-1629
Michael Stapelberg [Thu, 2 Apr 2015 20:15:28 +0000 (13:15 -0700)]
Merge pull request #1631 from Airblader/bug-1629

Allow --whole-window right after 'bindsym' within binding modes

9 years agoAdded testcases for --whole-window in a binding inside a mode (#1629) 1631/head
Ingo Bürk [Thu, 2 Apr 2015 09:17:29 +0000 (11:17 +0200)]
Added testcases for --whole-window in a binding inside a mode (#1629)

9 years agoAllow --whole-window right after 'bindsym' within binding modes
Ingo Bürk [Wed, 1 Apr 2015 21:13:25 +0000 (23:13 +0200)]
Allow --whole-window right after 'bindsym' within binding modes

fixes #1629

9 years agoMerge pull request #1628 from acrisci/feature/complete-run-coverage
Michael Stapelberg [Thu, 2 Apr 2015 07:33:05 +0000 (00:33 -0700)]
Merge pull request #1628 from acrisci/feature/complete-run-coverage

complete-run: add coverage report generation

9 years agoMerge pull request #1630 from Deiz/consistent-mouse-actions
Michael Stapelberg [Thu, 2 Apr 2015 07:09:13 +0000 (00:09 -0700)]
Merge pull request #1630 from Deiz/consistent-mouse-actions

Make floating window mouse handling consistent with tiled windows

9 years agoMerge pull request #1625 from Airblader/feature-docs
Michael Stapelberg [Thu, 2 Apr 2015 07:08:19 +0000 (00:08 -0700)]
Merge pull request #1625 from Airblader/feature-docs

Documentation Improvements

9 years agoMerge pull request #1624 from Airblader/feature-1058
Michael Stapelberg [Thu, 2 Apr 2015 06:56:06 +0000 (23:56 -0700)]
Merge pull request #1624 from Airblader/feature-1058

Position i3-input at window with input focus

9 years agoClarify that more than one atom is handled by i3 and describe briefly in which way. 1625/head
Ingo Bürk [Wed, 1 Apr 2015 15:46:20 +0000 (17:46 +0200)]
Clarify that more than one atom is handled by i3 and describe briefly in which way.

9 years agoUpdate docs to clarify that split containers get a representation of their children...
Ingo Bürk [Wed, 1 Apr 2015 15:45:53 +0000 (17:45 +0200)]
Update docs to clarify that split containers get a representation of their children in the decoration

9 years agoReworded the documentation slightly and fixed the link to correctly point to Github.
Ingo Bürk [Wed, 1 Apr 2015 15:47:38 +0000 (17:47 +0200)]
Reworded the documentation slightly and fixed the link to correctly point to Github.

9 years agoUpdate the definition of the workspace spec and describe it.
Ingo Bürk [Wed, 1 Apr 2015 15:47:17 +0000 (17:47 +0200)]
Update the definition of the workspace spec and describe it.

9 years agoUpdate documentation to state that the configuration file is read by the custom parse...
Ingo Bürk [Wed, 1 Apr 2015 15:46:53 +0000 (17:46 +0200)]
Update documentation to state that the configuration file is read by the custom parser as well.

9 years agoMake floating window mouse handling consistent with tiled windows 1630/head
Deiz [Wed, 1 Apr 2015 20:17:26 +0000 (16:17 -0400)]
Make floating window mouse handling consistent with tiled windows

It seems that this was the intended behaviour all along, according to
the comments.

9 years agoPosition i3-input at window with input focus 1624/head
Ingo Bürk [Wed, 1 Apr 2015 12:35:49 +0000 (14:35 +0200)]
Position i3-input at window with input focus

This positions the i3-input window at the window holding the input focus' position, plus a small offset.

fixes #1058

9 years agoMerge pull request #1621 from Airblader/feature-1416
Michael Stapelberg [Thu, 2 Apr 2015 06:35:03 +0000 (23:35 -0700)]
Merge pull request #1621 from Airblader/feature-1416

Added no_focus directive

9 years agoDocument test coverage reporting for testcases 1628/head
Tony Crisci [Wed, 1 Apr 2015 22:19:18 +0000 (18:19 -0400)]
Document test coverage reporting for testcases

9 years agomakefile: allow COVERAGE to be configurable
Tony Crisci [Wed, 1 Apr 2015 21:36:32 +0000 (17:36 -0400)]
makefile: allow COVERAGE to be configurable

If COVERAGE=1 during build, i3 will be compiled for coverage testing.

9 years agocomplete-run: add coverage report generation
Tony Crisci [Wed, 1 Apr 2015 19:10:27 +0000 (15:10 -0400)]
complete-run: add coverage report generation

When `complete-run.pl` is given `--coverage-testing`, try to generate an
html coverage testing report for the run. This requires i3 to be
compiled with coverage testing support.

9 years agoUpdates userguide for 'no_focus <criteria>' (#1416) 1621/head
Ingo Bürk [Wed, 1 Apr 2015 11:59:24 +0000 (13:59 +0200)]
Updates userguide for 'no_focus <criteria>' (#1416)

9 years agoAdded testcase for the no_focus directive (#1416)
Ingo Bürk [Tue, 31 Mar 2015 19:22:34 +0000 (21:22 +0200)]
Added testcase for the no_focus directive (#1416)

9 years agoAdded config directive 'no_focus <criteria>' (#1416)
Ingo Bürk [Sun, 29 Mar 2015 15:30:14 +0000 (17:30 +0200)]
Added config directive 'no_focus <criteria>' (#1416)

9 years agoAdded assignment type 'A_NO_FOCUS' (#1416)
Ingo Bürk [Sun, 29 Mar 2015 15:29:21 +0000 (17:29 +0200)]
Added assignment type 'A_NO_FOCUS' (#1416)

Any assignment with type 'A_NO_FOCUS' will cause the matched window to not be focused by i3 when it is managed.

9 years agoMerge pull request #1620 from Airblader/bug-1614
Michael Stapelberg [Wed, 1 Apr 2015 18:29:38 +0000 (11:29 -0700)]
Merge pull request #1620 from Airblader/bug-1614

Only allow unique marks (#1614)

9 years agoMerge pull request #1626 from acrisci/feature/remove-tests-dir
Michael Stapelberg [Wed, 1 Apr 2015 18:27:35 +0000 (11:27 -0700)]
Merge pull request #1626 from acrisci/feature/remove-tests-dir

Remove unused `tests` dir

9 years agoRemove unused `tests` dir 1626/head
Tony Crisci [Wed, 1 Apr 2015 16:31:32 +0000 (12:31 -0400)]
Remove unused `tests` dir

9 years agoOnly mark a window if only one window is matched 1620/head
Ingo Bürk [Tue, 31 Mar 2015 18:47:22 +0000 (20:47 +0200)]
Only mark a window if only one window is matched

We only support unique marks, so looping over all matched windows must be prevented.
If more than one window is matched, we reject it with an error message.

fixes #1614

9 years agoAdded a testcase for #1614
Ingo Bürk [Tue, 31 Mar 2015 18:45:37 +0000 (20:45 +0200)]
Added a testcase for #1614

9 years agoMerge pull request #1618 from Deiz/fix-1603
Michael Stapelberg [Wed, 1 Apr 2015 07:08:22 +0000 (09:08 +0200)]
Merge pull request #1618 from Deiz/fix-1603

Allow single-child non-default layout cons to be moved between outputs

9 years agoAllow single-child non-default layout cons to be moved between outputs 1618/head
Deiz [Tue, 31 Mar 2015 17:29:43 +0000 (13:29 -0400)]
Allow single-child non-default layout cons to be moved between outputs

Includes a test case to verify the behaviour of 'move <direction>'.
Fixes #1603.

9 years agoMerge pull request #1601 from Airblader/feature-titlebar-marks
Michael Stapelberg [Mon, 30 Mar 2015 21:53:42 +0000 (23:53 +0200)]
Merge pull request #1601 from Airblader/feature-titlebar-marks

Show marks in the titlebar

9 years agoChanged the default for show_marks from "no" to "yes" 1601/head
Ingo Bürk [Mon, 30 Mar 2015 20:16:05 +0000 (22:16 +0200)]
Changed the default for show_marks from "no" to "yes"

9 years agoMake show_marks configurable
Ingo Bürk [Sat, 28 Mar 2015 23:26:49 +0000 (00:26 +0100)]
Make show_marks configurable

Introduce a config directive "show_marks [yes|no]" to en- or disable drawing marks on window decorations.
To not change the look & feel of existing configurations, the default is "no".

9 years agoIntroduce a cached boolean for changes to the mark of a window.
Ingo Bürk [Sat, 28 Mar 2015 23:13:44 +0000 (00:13 +0100)]
Introduce a cached boolean for changes to the mark of a window.
This is necessary to correctly redraw window decorations when the mark of
a window is added or removed.

9 years agoDraw marks in window decoration
Ingo Bürk [Sat, 28 Mar 2015 23:09:10 +0000 (00:09 +0100)]
Draw marks in window decoration

If a window has a mark set, e.g., "example", it will be printed on the right side of the window decorations.
The format is "[example]" and the name of the window is truncated if necessary.

Marks starting with an underscore ("_") will be ignored.

9 years agoMerge pull request #1613 from Airblader/feature-1426
Michael Stapelberg [Mon, 30 Mar 2015 20:58:16 +0000 (22:58 +0200)]
Merge pull request #1613 from Airblader/feature-1426

Added focus_on_window_activation directive