]> git.sur5r.net Git - i3/i3/log
i3/i3
6 years agocon_activate -> con_focus when it is used as a building block 3196/head
Orestis Floros [Fri, 23 Mar 2018 11:27:05 +0000 (13:27 +0200)]
con_activate -> con_focus when it is used as a building block

6 years ago_con_move_to_con: remove outdated comment
Orestis Floros [Fri, 23 Mar 2018 11:00:36 +0000 (13:00 +0200)]
_con_move_to_con: remove outdated comment

6 years ago_con_move_to_con: showing target_ws is useless
Orestis Floros [Fri, 23 Mar 2018 10:56:30 +0000 (12:56 +0200)]
_con_move_to_con: showing target_ws is useless

The current_ws is shown latter anyway:
    if (!ignore_focus) {
        workspace_show(current_ws);
        ...

This also causes the following bug:
- Open a window in an empty workspace
- Switch to another workspace
- seturgent to the first window
- Move another window to the first workspace
- Urgent flag is now reset

6 years agoMerge pull request #3195 from orestisf1993/issue-2993
Ingo Bürk [Fri, 23 Mar 2018 13:52:48 +0000 (14:52 +0100)]
Merge pull request #3195 from orestisf1993/issue-2993

Improve directional moving of fullscreen containers

6 years agoMerge pull request #3178 from orestisf1993/pr-2314
Ingo Bürk [Fri, 23 Mar 2018 13:50:46 +0000 (14:50 +0100)]
Merge pull request #3178 from orestisf1993/pr-2314

Support _NET_WM_STATE_FOCUSED

6 years agoImprove directional moving of fullscreen containers 3195/head
Orestis Floros [Fri, 23 Mar 2018 13:46:40 +0000 (15:46 +0200)]
Improve directional moving of fullscreen containers

Fixes #2993.

6 years agoSupport _NET_WM_STATE_FOCUSED 3178/head
Tony Crisci [Mon, 25 Jul 2016 00:43:56 +0000 (20:43 -0400)]
Support _NET_WM_STATE_FOCUSED

_NET_WM_STATE_FOCUSED is set on _NET_WM_STATE to indicate that the
window is focused. It must be set when the window is newly focused and
removed once the window no longer has focus.

> _NET_WM_STATE_FOCUSED indicates whether the window's decorations are
> drawn in an active state. Clients MUST regard it as a read-only hint.
> It cannot be set at map time or changed via a _NET_WM_STATE client
> message.

For example, this is used by GTK applications to show the decoration in
an active or inactive state. This change can be tested by opening a GTK
application (like evince), focusing the window and unfocusing the
window, and observing a change in the window decorations.

Fixes #2273

6 years agoMerge pull request #3185 from orestisf1993/cmd_move_window_to_position
Ingo Bürk [Wed, 21 Mar 2018 07:38:41 +0000 (08:38 +0100)]
Merge pull request #3185 from orestisf1993/cmd_move_window_to_position

Remove 'method' from cmd_move_window_to_position

6 years agocmd_move_window_to_position: improve error message 3185/head
Orestis Floros [Sun, 18 Mar 2018 00:41:12 +0000 (02:41 +0200)]
cmd_move_window_to_position: improve error message

6 years agoRemove 'method' from cmd_move_window_to_position
Orestis Floros [Sun, 18 Mar 2018 00:08:16 +0000 (02:08 +0200)]
Remove 'method' from cmd_move_window_to_position

For command:
move window to [absolute] position X px Y px
if the optional keyword 'absolute' is provided the end result is the
same even though it is implemented differently. Only difference is that
with absolute the floating window can move completely outside of any
output.

This commit removes the 'method' argument and only keeps the sane
implementation.

6 years agoMerge pull request #3191 from orestisf1993/userguide
Ingo Bürk [Tue, 20 Mar 2018 07:39:23 +0000 (08:39 +0100)]
Merge pull request #3191 from orestisf1993/userguide

Fix userguide link

6 years agoFix userguide link 3191/head
Orestis Floros [Mon, 19 Mar 2018 16:30:22 +0000 (18:30 +0200)]
Fix userguide link

[[move_to_outputs]] doesn't work currently:
https://i3wm.org/docs/userguide.html#move_to_outputs
This does:
https://i3wm.org/docs/userguide.html#_moving_containers_workspaces_to_randr_outputs

This combines a 'BlockId Element' with an 'anchor'. Both should work
now.

6 years agoMerge pull request #3189 from orestisf1993/run_assignments
Ingo Bürk [Mon, 19 Mar 2018 13:32:54 +0000 (14:32 +0100)]
Merge pull request #3189 from orestisf1993/run_assignments

run_assignments: check for A_COMMAND early

6 years agoMerge pull request #3188 from orestisf1993/free_ran_assignments
Ingo Bürk [Mon, 19 Mar 2018 06:04:45 +0000 (07:04 +0100)]
Merge pull request #3188 from orestisf1993/free_ran_assignments

Free ran_assignments

6 years agoMerge pull request #3187 from orestisf1993/assign-memleak
Ingo Bürk [Mon, 19 Mar 2018 06:03:47 +0000 (07:03 +0100)]
Merge pull request #3187 from orestisf1993/assign-memleak

Fix memleak: FREE(assign->dest.output)

6 years agorun_assignments: check for A_COMMAND early 3189/head
Orestis Floros [Mon, 19 Mar 2018 01:17:32 +0000 (03:17 +0200)]
run_assignments: check for A_COMMAND early

6 years agoFree ran_assignments 3188/head
Orestis Floros [Mon, 19 Mar 2018 01:00:35 +0000 (03:00 +0200)]
Free ran_assignments

When we run 'reload' all the assignments are freed:
https://github.com/i3/i3/blob/e3e09119bf994ea3f5222441832952a8dd352941/src/config.c#L99-L109

Assignments are saved to each window after they are executed:
https://github.com/i3/i3/blob/e3e09119bf994ea3f5222441832952a8dd352941/src/assignments.c#L41-L46

This means that the pointers stored in window->ran_assignments are
invalid (shouldn't be dangerous currently but could lead to a segfault
if the code is modified) after a 'reload'.

6 years agoFix memleak: FREE(assign->dest.output) 3187/head
Orestis Floros [Mon, 19 Mar 2018 00:02:59 +0000 (02:02 +0200)]
Fix memleak: FREE(assign->dest.output)

6 years agoMerge pull request #3186 from orestisf1993/i3-msg
Ingo Bürk [Sun, 18 Mar 2018 06:51:50 +0000 (07:51 +0100)]
Merge pull request #3186 from orestisf1993/i3-msg

i3-msg: only print input + errorposition if they exist

6 years agoi3-msg: only print input + errorposition if they exist 3186/head
Orestis Floros [Sun, 18 Mar 2018 01:38:06 +0000 (03:38 +0200)]
i3-msg: only print input + errorposition if they exist

Before:
$ i3-msg floating disable, move window to position 100 px 100 px
ERROR: Your command: (null)
ERROR:               (null)
ERROR: Cannot change position of a window/container because it is not floating.
[{"success":true},{"success":false,"error":"Cannot change position of a window/container because it is not floating."}]

After:
$ i3-msg floating disable, move window to position 100 px 100 px
ERROR: Cannot change position of a window/container because it is not floating.
[{"success":true},{"success":false,"error":"Cannot change position of a window/container because it is not floating."}]

6 years agotestcases: remove assumption from state atoms test
Tony Crisci [Mon, 25 Jul 2016 00:43:09 +0000 (20:43 -0400)]
testcases: remove assumption from state atoms test

Remove the assumption that only two atoms can possibly be set in
t/253-multiple-net-wm-state-atoms.t so that the tests will pass when
more atoms are supported that may be set during this test.

6 years agoMerge pull request #3180 from chrisduerr/next
Ingo Bürk [Sat, 17 Mar 2018 06:31:48 +0000 (07:31 +0100)]
Merge pull request #3180 from chrisduerr/next

Add alacritty to `i3-sensible-terminal`

6 years agoAdd alacritty to i3-sensible-terminal 3180/head
Christian Duerr [Fri, 16 Mar 2018 21:53:39 +0000 (22:53 +0100)]
Add alacritty to i3-sensible-terminal

6 years agoMerge pull request #2975 from orestisf1993/move-con_focus
Michael Stapelberg [Fri, 16 Mar 2018 08:31:53 +0000 (09:31 +0100)]
Merge pull request #2975 from orestisf1993/move-con_focus

Fix move's focus bugs

6 years agoMerge pull request #3177 from orestisf1993/trailing
Ingo Bürk [Thu, 15 Mar 2018 19:41:47 +0000 (20:41 +0100)]
Merge pull request #3177 from orestisf1993/trailing

Remove trailing whitespace from Perl scripts

6 years agoRemove trailing whitespace from Perl scripts 3177/head
Orestis Floros [Thu, 15 Mar 2018 19:33:45 +0000 (21:33 +0200)]
Remove trailing whitespace from Perl scripts

6 years agoDon't call con_focus in tree_move 2975/head
Orestis Floros [Fri, 22 Sep 2017 01:48:32 +0000 (04:48 +0300)]
Don't call con_focus in tree_move

Fixes:
- Issue where moving an urgent (unfocused) window resets it's urgency
hint.
- Moving an unfocused container to a new parent should not move it to
the top of the focus stack.

6 years agoCorrect insert_con_into's focus handling
Orestis Floros [Sat, 23 Sep 2017 16:23:49 +0000 (19:23 +0300)]
Correct insert_con_into's focus handling

Change from always putting con on the head of the new parent. Important
for moving unfocused containers.

6 years agoMerge pull request #3176 from orestisf1993/dump-asy-marks
Ingo Bürk [Wed, 14 Mar 2018 13:24:00 +0000 (14:24 +0100)]
Merge pull request #3176 from orestisf1993/dump-asy-marks

dump-asy.pl: Add marks

6 years agoMerge pull request #3175 from orestisf1993/dump-asy
Ingo Bürk [Wed, 14 Mar 2018 13:23:39 +0000 (14:23 +0100)]
Merge pull request #3175 from orestisf1993/dump-asy

dump-asy.pl: Add options

6 years agodump-asy.pl: Add marks 3176/head
Orestis Floros [Wed, 14 Mar 2018 12:59:26 +0000 (14:59 +0200)]
dump-asy.pl: Add marks

6 years agodump-asy.pl: Add --save option 3175/head
Orestis Floros [Wed, 14 Mar 2018 12:43:12 +0000 (14:43 +0200)]
dump-asy.pl: Add --save option

6 years agodump-asy.pl: Add --gv option
Orestis Floros [Wed, 14 Mar 2018 10:18:58 +0000 (12:18 +0200)]
dump-asy.pl: Add --gv option

6 years agodump-asy.pl: Add POD usage
Orestis Floros [Wed, 14 Mar 2018 10:11:53 +0000 (12:11 +0200)]
dump-asy.pl: Add POD usage

6 years agoMerge pull request #3172 from klorax/patch-1
Ingo Bürk [Sun, 11 Mar 2018 18:54:39 +0000 (19:54 +0100)]
Merge pull request #3172 from klorax/patch-1

Docs [#3164]: Clarification about X resource value

6 years agoDocs [#3164]: Clarification about X resource value 3172/head
Klorax [Sun, 11 Mar 2018 17:04:32 +0000 (18:04 +0100)]
Docs [#3164]: Clarification about X resource value

Clarification about X resource value: they are loaded verbatim and must therefore be in the format that i3 uses.
Solves #3164.

6 years agoMerge pull request #3167 from hwangcc23/fix-3163
Ingo Bürk [Sun, 11 Mar 2018 15:33:10 +0000 (16:33 +0100)]
Merge pull request #3167 from hwangcc23/fix-3163

Add strip_workspace_name

6 years agoAdd strip_workspace_name 3167/head
hwangcc23 [Sat, 10 Mar 2018 04:49:09 +0000 (12:49 +0800)]
Add strip_workspace_name

See the issue #3163 (https://github.com/i3/i3/issues/3163).

Add strip_workspace_name to strip off the workspace name.

6 years agoRefocus focused window for FOCUS_IN events on the root window. (#3097)
Ingo Bürk [Sat, 10 Mar 2018 18:18:44 +0000 (19:18 +0100)]
Refocus focused window for FOCUS_IN events on the root window. (#3097)

This deals with (admittedly somewhat misbehaving) clients which
use XSetInputFocus to take focus, but then don't properly restore
focus. This has been observed with TK apps, but also, e.g., Steam.

fixes #2722
fixes #3096

6 years agoMerge pull request #3166 from Hritik14/next
Ingo Bürk [Sat, 10 Mar 2018 18:11:55 +0000 (19:11 +0100)]
Merge pull request #3166 from Hritik14/next

Fixed typo

6 years agoMerge pull request #3168 from stapelberg/release-fixes
Ingo Bürk [Sat, 10 Mar 2018 18:08:19 +0000 (19:08 +0100)]
Merge pull request #3168 from stapelberg/release-fixes

Release fixes

6 years agoupdate release.sh after release 3168/head
Michael Stapelberg [Sat, 10 Mar 2018 17:53:20 +0000 (18:53 +0100)]
update release.sh after release

6 years agorelease: new-enough dput no longer needs an explicit file name
Michael Stapelberg [Sat, 10 Mar 2018 17:53:04 +0000 (18:53 +0100)]
release: new-enough dput no longer needs an explicit file name

6 years agorelease: also build a Debian source-only upload
Michael Stapelberg [Sat, 10 Mar 2018 17:52:50 +0000 (18:52 +0100)]
release: also build a Debian source-only upload

6 years agorelease: disable git’s rename protection (prevented merging)
Michael Stapelberg [Sat, 10 Mar 2018 17:52:27 +0000 (18:52 +0100)]
release: disable git’s rename protection (prevented merging)

6 years agodebian: update changelog
Michael Stapelberg [Sat, 10 Mar 2018 17:35:11 +0000 (18:35 +0100)]
debian: update changelog

6 years agoMerge branch 'release-4.15'
Michael Stapelberg [Sat, 10 Mar 2018 17:29:21 +0000 (18:29 +0100)]
Merge branch 'release-4.15'

6 years agoSet non-git version to 4.15-non-git.
Michael Stapelberg [Sat, 10 Mar 2018 17:29:21 +0000 (18:29 +0100)]
Set non-git version to 4.15-non-git.

6 years agorelease i3 4.15 4.15
Michael Stapelberg [Sat, 10 Mar 2018 17:29:14 +0000 (18:29 +0100)]
release i3 4.15

6 years agoFixed typo 3166/head
Hritik Vijay [Fri, 9 Mar 2018 21:08:47 +0000 (02:38 +0530)]
Fixed typo

6 years agoMerge pull request #3165 from stapelberg/nagbar
Ingo Bürk [Fri, 9 Mar 2018 07:40:19 +0000 (08:40 +0100)]
Merge pull request #3165 from stapelberg/nagbar

Bugfix: ignore ConfigureNotify with width == 0 || height == 0

6 years agoBugfix: ignore ConfigureNotify with width == 0 || height == 0 3165/head
Michael Stapelberg [Fri, 9 Mar 2018 07:25:07 +0000 (08:25 +0100)]
Bugfix: ignore ConfigureNotify with width == 0 || height == 0

fixes #3132

6 years agoMerge pull request #3087 from orestisf1993/focus_order
Ingo Bürk [Tue, 27 Feb 2018 06:59:37 +0000 (07:59 +0100)]
Merge pull request #3087 from orestisf1993/focus_order

 Fix focus order issues when encapsulating workspaces

6 years agoFix focus order issues when encapsulating workspaces 3087/head
Orestis Floros [Wed, 13 Dec 2017 14:15:01 +0000 (16:15 +0200)]
Fix focus order issues when encapsulating workspaces

See new tests for an explanation of the problem.

6 years agoIntroduce *focus_order functions
Orestis Floros [Wed, 13 Dec 2017 14:29:54 +0000 (16:29 +0200)]
Introduce *focus_order functions

6 years agoMerge pull request #3153 from orestisf1993/issue-2990
Ingo Bürk [Mon, 26 Feb 2018 20:50:59 +0000 (21:50 +0100)]
Merge pull request #3153 from orestisf1993/issue-2990

Don't raise floating windows when workspace is shown

6 years agoDon't raise floating windows when workspace is shown 3153/head
Orestis Floros [Mon, 26 Feb 2018 01:26:05 +0000 (03:26 +0200)]
Don't raise floating windows when workspace is shown

From comment:
https://github.com/i3/i3/issues/2990#issuecomment-368345169

To easily reproduce:
1. Open 2 floating windows
2. Focus (with `focus_follows_mouse`) the one behind
3. Move the mouse to the other workspace
4. Move the mouse inside the previous workspace (without it even
touching a window)

6 years agoMakefile: include contrib/ in dist tarballs (#3152)
Michael Stapelberg [Sun, 25 Feb 2018 12:55:30 +0000 (13:55 +0100)]
Makefile: include contrib/ in dist tarballs (#3152)

unbreaks the debian package build

6 years agoMerge pull request #3147 from walker0643/next
Ingo Bürk [Sat, 24 Feb 2018 08:48:04 +0000 (09:48 +0100)]
Merge pull request #3147 from walker0643/next

dump-asy: add prerequisites check; fix empty container names warnings

6 years agoMerge pull request #3150 from stapelberg/examples
Ingo Bürk [Sat, 24 Feb 2018 08:42:14 +0000 (09:42 +0100)]
Merge pull request #3150 from stapelberg/examples

debian: install contrib/ scripts as examples (Thanks anarcat)

6 years agoMerge pull request #3151 from stapelberg/gzip
Ingo Bürk [Sat, 24 Feb 2018 08:41:49 +0000 (09:41 +0100)]
Merge pull request #3151 from stapelberg/gzip

debian: explicitly use gzip compression

6 years agodebian: explicitly use gzip compression 3151/head
Michael Stapelberg [Sat, 24 Feb 2018 07:55:57 +0000 (08:55 +0100)]
debian: explicitly use gzip compression

fixes #3146

6 years agodebian: install contrib/ scripts as examples (Thanks anarcat) 3150/head
Michael Stapelberg [Sat, 24 Feb 2018 07:24:53 +0000 (08:24 +0100)]
debian: install contrib/ scripts as examples (Thanks anarcat)

6 years agocontrib/dump-asy.pl: add prerequisites check and fix warnings about empty container... 3147/head
walker0643 [Wed, 21 Feb 2018 21:55:55 +0000 (16:55 -0500)]
contrib/dump-asy.pl: add prerequisites check and fix warnings about empty container names

6 years agoMerge pull request #3145 from DebianWall/gvim
Ingo Bürk [Mon, 19 Feb 2018 15:03:55 +0000 (16:03 +0100)]
Merge pull request #3145 from DebianWall/gvim

Added gVim to i3-sensible-editor

6 years agoMerge pull request #3144 from DebianWall/guaketilda
Ingo Bürk [Mon, 19 Feb 2018 14:42:30 +0000 (15:42 +0100)]
Merge pull request #3144 from DebianWall/guaketilda

Added guake and tilda.

6 years agoAdded gVim to i3-sensible-editor 3145/head
DebianWall [Mon, 19 Feb 2018 14:39:46 +0000 (15:39 +0100)]
Added gVim to i3-sensible-editor

6 years agoAdded guake and tilda. 3144/head
DebianWall [Mon, 19 Feb 2018 14:35:01 +0000 (15:35 +0100)]
Added guake and tilda.

6 years agoMerge pull request #3138 from clawoflight/default-border
Ingo Bürk [Mon, 19 Feb 2018 06:03:03 +0000 (07:03 +0100)]
Merge pull request #3138 from clawoflight/default-border

[WIP] Add default_{,floating_}border

6 years agoMerge pull request #3142 from jcrben/patch-1
Ingo Bürk [Mon, 19 Feb 2018 05:58:43 +0000 (06:58 +0100)]
Merge pull request #3142 from jcrben/patch-1

Remove hardcoded 2013 date from user guide

6 years agoRemove hardcoded 2013 date 3142/head
Ben Creasy [Mon, 19 Feb 2018 02:44:40 +0000 (18:44 -0800)]
Remove hardcoded 2013 date

The front page and docs landing page emphasize documentation, but the user guide looks like it hasn't been updated since 2013. It seems from the history of the file that this number is misleading. Let me know if I'm missing anything.

6 years agoMerge pull request #3135 from op8867555/update_ewmh_atoms
Ingo Bürk [Thu, 15 Feb 2018 15:29:29 +0000 (16:29 +0100)]
Merge pull request #3135 from op8867555/update_ewmh_atoms

Update EWMH atoms when closing inactive workspace

6 years agoAdd default_{,floating_}border to config 3138/head
Bennett Piater [Mon, 12 Feb 2018 14:11:19 +0000 (15:11 +0100)]
Add default_{,floating_}border to config

userguide: document default_{,floating_}border

201-config-parser.t: add new tokens to $expected_all_tokens

201-config-parser-t: fix whitespace

closes i3/i3#2702

6 years agoUpdate EWMH atoms when closing a workspace container 3135/head
Alex Lu [Sun, 11 Feb 2018 11:05:43 +0000 (19:05 +0800)]
Update EWMH atoms when closing a workspace container

fix #3126

6 years agoMerge pull request #3131 from EdwardBetts/patch-1
Ingo Bürk [Sun, 11 Feb 2018 14:48:55 +0000 (15:48 +0100)]
Merge pull request #3131 from EdwardBetts/patch-1

Correct spelling a mistake.

6 years agoCorrect spelling a mistake. 3131/head
Edward Betts [Wed, 7 Feb 2018 08:01:26 +0000 (08:01 +0000)]
Correct spelling a mistake.

6 years agoMerge pull request #3080 from orestisf1993/cmd_move_con_to_workspace
Ingo Bürk [Wed, 17 Jan 2018 20:26:09 +0000 (21:26 +0100)]
Merge pull request #3080 from orestisf1993/cmd_move_con_to_workspace

 Reduce repetition in cmd_move_con_to_workspace*

6 years agoMerge pull request #3102 from jolange/fix3071
Ingo Bürk [Wed, 17 Jan 2018 20:24:52 +0000 (21:24 +0100)]
Merge pull request #3102 from jolange/fix3071

tiling resize: remove minimum size (was 5%)

6 years agoMerge pull request #3104 from jolange/testcase_warnings
Ingo Bürk [Wed, 17 Jan 2018 20:24:00 +0000 (21:24 +0100)]
Merge pull request #3104 from jolange/testcase_warnings

Testcase warnings

6 years agoMerge pull request #2998 from orestisf1993/issue-2990
Michael Stapelberg [Sun, 14 Jan 2018 17:22:44 +0000 (18:22 +0100)]
Merge pull request #2998 from orestisf1993/issue-2990

Don't raise floating windows when focused because of focus_follows_mouse

6 years agoDon't raise floating windows when focused because of focus_follows_mouse 2998/head
Orestis Floros [Tue, 5 Dec 2017 23:58:47 +0000 (01:58 +0200)]
Don't raise floating windows when focused because of focus_follows_mouse

Fixes #2990.

6 years agoImplement 'resize set <width> ppt <height> ppt' command for tiling windows (#3036)
livanh [Mon, 8 Jan 2018 22:25:08 +0000 (23:25 +0100)]
Implement 'resize set <width> ppt <height> ppt' command for tiling windows (#3036)

6 years agoSend success response for nop. (#3113)
Ingo Bürk [Sat, 6 Jan 2018 22:24:33 +0000 (23:24 +0100)]
Send success response for nop. (#3113)

fixes #3112

6 years agoImprove resize_find_tiling_participants() and simplify cmd_resize_tiling_width_height...
livanh [Sat, 6 Jan 2018 16:59:27 +0000 (17:59 +0100)]
Improve resize_find_tiling_participants() and simplify cmd_resize_tiling_width_height() (#3111)

6 years agoMerge pull request #3110 from DikiCook/config
Ingo Bürk [Fri, 5 Jan 2018 17:43:51 +0000 (18:43 +0100)]
Merge pull request #3110 from DikiCook/config

Add comment $mod+r in back to normal when resize window

6 years agoconfig: add comment $mod+r in back to normal when resize window 3110/head
Diki Ananta [Fri, 5 Jan 2018 00:14:57 +0000 (07:14 +0700)]
config: add comment $mod+r in back to normal when resize window

6 years agoMerge pull request #3101 from tpraxl/feature/workspace-variables
Ingo Bürk [Tue, 2 Jan 2018 08:34:54 +0000 (09:34 +0100)]
Merge pull request #3101 from tpraxl/feature/workspace-variables

Add workspace vars to support DRY when customizing

6 years agoAdd testcases for focus_follows_mouse
Orestis Floros [Thu, 28 Sep 2017 22:35:11 +0000 (01:35 +0300)]
Add testcases for focus_follows_mouse

6 years agocmd_move_con_to_workspace_number: rename workspace->ws 3080/head
Orestis Floros [Sun, 10 Dec 2017 20:08:46 +0000 (22:08 +0200)]
cmd_move_con_to_workspace_number: rename workspace->ws

For consistency with other cmd_move_con_to_workspace* functions.

6 years agoReduce repetition in cmd_move_con_to_workspace*
Orestis Floros [Sun, 10 Dec 2017 20:06:29 +0000 (22:06 +0200)]
Reduce repetition in cmd_move_con_to_workspace*

6 years agoMerge pull request #3105 from clonejo/feat/pango-markup
Ingo Bürk [Wed, 27 Dec 2017 17:22:32 +0000 (18:22 +0100)]
Merge pull request #3105 from clonejo/feat/pango-markup

Docs: state that pango markup in i3bar requires the use of a pango font.

6 years agoDocs: state that pango markup requires the use of a pango font. 3105/head
clonejo [Wed, 27 Dec 2017 16:40:47 +0000 (17:40 +0100)]
Docs: state that pango markup requires the use of a pango font.

6 years agofixing uninitialized warnings in testcases 3104/head
Johannes Lange [Tue, 26 Dec 2017 12:39:19 +0000 (13:39 +0100)]
fixing uninitialized warnings in testcases

6 years agofixing redeclaration warnings in testcases
Johannes Lange [Tue, 26 Dec 2017 12:16:15 +0000 (13:16 +0100)]
fixing redeclaration warnings in testcases

6 years agotiling resize: remove minimum size (was 5%) 3102/head
Johannes Lange [Tue, 26 Dec 2017 08:37:22 +0000 (09:37 +0100)]
tiling resize: remove minimum size (was 5%)

fixes #3071

6 years agoShorten comment for workspace variables 3101/head
Thomas Praxl [Tue, 26 Dec 2017 10:29:42 +0000 (11:29 +0100)]
Shorten comment for workspace variables

The old comments gave the impression that you had to define workspace names upfront, which is not true. This also keeps the overall config as brief as possible.

6 years agoMerge pull request #3100 from jolange/fix3086
Ingo Bürk [Mon, 25 Dec 2017 08:52:09 +0000 (09:52 +0100)]
Merge pull request #3100 from jolange/fix3086

free last_motion_notify before returning

6 years agofree last_motion_notify before returning 3100/head
Johannes Lange [Sun, 24 Dec 2017 08:40:23 +0000 (09:40 +0100)]
free last_motion_notify before returning

fixes #3086

6 years agoAdd workspace vars to support DRY when customizing
Thomas Praxl [Sat, 23 Dec 2017 11:28:03 +0000 (12:28 +0100)]
Add workspace vars to support DRY when customizing

Relabeling the workspaces required the user to update the labels at least in two places of the i3 config file (switch to workspace + move focused container to workspace) to keep a consistent state.

This got even worse when the user started to reference the workspaces elsewhere, e.g. for assigning containers to specific workspaces.

This change supports the DRY principle for users. Relabeling the workspaces is now merely a matter of changing the respective variable ($ws1, $ws2, … $ws10).

6 years agoMerge pull request #3095 from pallavagarwal07/next
Ingo Bürk [Wed, 20 Dec 2017 17:33:21 +0000 (18:33 +0100)]
Merge pull request #3095 from pallavagarwal07/next

Add support for relative coordinates in i3bar click events