Update upstream source from tag 'upstream/4.19.1'
Update to upstream version '4.19.1'
with Debian dir 25914260a7deca1d0de31cb0ec3d57b28464b6aa
Jakob Haufe
3 years ago
0 | ||
1 | ┌──────────────────────────────┐ | |
2 | │ Release notes for i3 v4.19 │ | |
3 | └──────────────────────────────┘ | |
4 | ||
5 | This is i3 v4.19. This version is considered stable. All users of i3 are | |
6 | strongly encouraged to upgrade. | |
7 | ||
8 | In this release, we switched from the autotools build system to the meson build | |
9 | system (https://mesonbuild.com/). Check https://github.com/i3/i3/issues/4086 for | |
10 | details. If this causes problems for you, you can revert the commit which | |
11 | removed autotools from the tree: we tried our best to keep both build systems | |
12 | working. Please reach out to us in that case! | |
13 | ||
14 | ┌────────────────────────────┐ | |
15 | │ Changes in i3 v4.19 │ | |
16 | └────────────────────────────┘ | |
17 | ||
18 | • userguide: explain button6 and button7 (scroll wheel right/left) | |
19 | • ipc: always include the marks property (even if empty) | |
20 | • ipc: introduce GET_BINDING_STATE command | |
21 | • ipc: clarify workspace name field semantics | |
22 | • ipc: document parse_error COMMAND reply field | |
23 | • i3bar: launch using exec to avoid leaving useless shell process | |
24 | • i3bar: make dock client order deterministic (sorted by class/instance) as a | |
25 | side effect, i3bars without an explicit bar-id will be sorted according | |
26 | to their definition order in the config file | |
27 | • i3bar: update config when necessary (reduces redraws on bar mode changes) | |
28 | • i3bar: add coordinates relative to the current output in i3bar click events | |
29 | • i3bar: add “nonprimary” output option | |
30 | • i3bar: set WM_CLASS instance to bar id | |
31 | • i3-input: add different exit codes for when i3-input fails | |
32 | • i3-dmenu-desktop: Support symlinks in search path | |
33 | • pod2html: render without stylesheet by default | |
34 | • introduce “tiling_from” and ”floating_from” criteria | |
35 | • mention rofi in default config file | |
36 | • allow ppt values in move direction and move position commands | |
37 | • allow matching on empty properties like class, title, etc. | |
38 | ||
39 | ┌────────────────────────────┐ | |
40 | │ Bugfixes │ | |
41 | └────────────────────────────┘ | |
42 | ||
43 | • i3-nagbar: Use _PATH_BSHELL to ensure using a bourne shell | |
44 | • i3bar: fix Xorg memory leak | |
45 | • i3bar: fix hang when pausing/resuming bar program | |
46 | • i3bar: fix crash on invalid JSON input | |
47 | • i3bar: kick tray clients before destroying the bar | |
48 | • ensure client windows have a size of at least 1px after resize | |
49 | • correctly handle overlapping decorations | |
50 | • limit workspace numbers within 0..INT32_MAX | |
51 | • fix a bug with tiling resize inside floating container | |
52 | • correctly handle mouse resize in fullscreen containers by | |
53 | not propagating $mod+right click to fullscreen clients | |
54 | • do not try to resize fullscreen and non-fullscreen windows | |
55 | • do not focus floating windows changing workspace with ConfigureNotify | |
56 | • set _NET_DESKTOP_VIEWPORT after randr changes | |
57 | • fix a bug with i3-nagbar not starting after it has already started once | |
58 | • fix conflict when moving parent of fullscreen window to workspace | |
59 | • fix named workspace assignments on output changes | |
60 | • fix named workspace assignment precedence on workspace renames | |
61 | • fix windows getting swallowed more than once | |
62 | • erase i3 --moreversion progress line before overwriting | |
63 | • fix test case 180-fd-leaks when running on Fedora | |
64 | • fix crash in `focus next sibling` | |
65 | • fix moving tiling windows out of the scratchpad | |
66 | • floating_maybe_reassign_ws: only re-focus if previously focused | |
67 | (fixes a focus issue with KDE notifications) | |
68 | • fix crash on invalid JSON input in stored layouts | |
69 | • fix monitor change during/with i3 restart by moving | |
70 | content for non-existing output containers | |
71 | ||
72 | Thanks for testing, bugfixes, discussions and everything I forgot go out to: | |
73 | ||
74 | 6144, acheronfail, Albert Safin, Alessandro Vinciguerra, Andrey Burov, | |
75 | Francesc Hervada-Sala, Heman Gandhi, Ian Fan, Ingo Bürk, izzel, Jason, Jason | |
76 | Nader, Jorg Heymans, Joseph, Konstantin Kharlamov, Lukas Kern, Mark Guptill, | |
77 | Martin T. H. Sandsmark, Matthew Martin, Maxim Schuwalow, Mike Sharov, Orestis | |
78 | Floros, Vasily Fomin, Wilhelm Schuster, xzfc, zero77 | |
79 | ||
80 | -- Michael Stapelberg, 2020-11-15 |
0 | ||
1 | ┌──────────────────────────────┐ | |
2 | │ Release notes for i3 v4.19.1 │ | |
3 | └──────────────────────────────┘ | |
4 | ||
5 | This is i3 v4.19. This version is considered stable. All users of i3 are | |
6 | strongly encouraged to upgrade. | |
7 | ||
8 | This is a bugfix release for v4.19 | |
9 | ||
10 | ┌────────────────────────────┐ | |
11 | │ Bugfixes │ | |
12 | └────────────────────────────┘ | |
13 | ||
14 | • fix workspaces not moving to assigned output after output becomes available | |
15 | • fix duplicate bindcode after i3-config-wizard | |
16 | • fix commented-out rofi call in default i3 config | |
17 | ||
18 | ┌────────────────────────────┐ | |
19 | │ Thanks! │ | |
20 | └────────────────────────────┘ | |
21 | ||
22 | Thanks for testing, bugfixes, discussions and everything I forgot go out to: | |
23 | ||
24 | Anaël Beutot, Imran Virani, Orestis Floros | |
25 | ||
26 | -- Michael Stapelberg, 2021-02-01 |
3 | 3 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
4 | 4 | <head> |
5 | 5 | <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" /> |
6 | <meta name="generator" content="AsciiDoc 9.0.3" /> | |
6 | <meta name="generator" content="AsciiDoc 9.0.4" /> | |
7 | 7 | <title>Debugging i3: How To</title> |
8 | 8 | <style type="text/css"> |
9 | 9 | /* Shared CSS for AsciiDoc xhtml11 and html5 backends */ |
956 | 956 | <div id="footer"> |
957 | 957 | <div id="footer-text"> |
958 | 958 | Last updated |
959 | 2020-11-15 18:23:01 CET | |
959 | 2021-02-01 09:03:46 CET | |
960 | 960 | </div> |
961 | 961 | </div> |
962 | 962 | </body> |
3 | 3 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
4 | 4 | <head> |
5 | 5 | <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" /> |
6 | <meta name="generator" content="AsciiDoc 9.0.3" /> | |
6 | <meta name="generator" content="AsciiDoc 9.0.4" /> | |
7 | 7 | <title>Hacking i3: How To</title> |
8 | 8 | <style type="text/css"> |
9 | 9 | /* Shared CSS for AsciiDoc xhtml11 and html5 backends */ |
2282 | 2282 | <div id="footer"> |
2283 | 2283 | <div id="footer-text"> |
2284 | 2284 | Last updated |
2285 | 2020-11-15 18:23:01 CET | |
2285 | 2021-02-01 09:03:46 CET | |
2286 | 2286 | </div> |
2287 | 2287 | </div> |
2288 | 2288 | </body> |
3 | 3 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
4 | 4 | <head> |
5 | 5 | <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" /> |
6 | <meta name="generator" content="AsciiDoc 9.0.3" /> | |
6 | <meta name="generator" content="AsciiDoc 9.0.4" /> | |
7 | 7 | <title>i3bar input protocol</title> |
8 | 8 | <style type="text/css"> |
9 | 9 | /* Shared CSS for AsciiDoc xhtml11 and html5 backends */ |
1220 | 1220 | <div id="footer"> |
1221 | 1221 | <div id="footer-text"> |
1222 | 1222 | Last updated |
1223 | 2020-11-15 18:23:01 CET | |
1223 | 2021-02-01 09:03:46 CET | |
1224 | 1224 | </div> |
1225 | 1225 | </div> |
1226 | 1226 | </body> |
3 | 3 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
4 | 4 | <head> |
5 | 5 | <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" /> |
6 | <meta name="generator" content="AsciiDoc 9.0.3" /> | |
6 | <meta name="generator" content="AsciiDoc 9.0.4" /> | |
7 | 7 | <title>IPC interface (interprocess communication)</title> |
8 | 8 | <style type="text/css"> |
9 | 9 | /* Shared CSS for AsciiDoc xhtml11 and html5 backends */ |
2707 | 2707 | <div id="footer"> |
2708 | 2708 | <div id="footer-text"> |
2709 | 2709 | Last updated |
2710 | 2020-11-15 18:23:01 CET | |
2710 | 2021-02-01 09:03:46 CET | |
2711 | 2711 | </div> |
2712 | 2712 | </div> |
2713 | 2713 | </body> |
3 | 3 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
4 | 4 | <head> |
5 | 5 | <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" /> |
6 | <meta name="generator" content="AsciiDoc 9.0.3" /> | |
6 | <meta name="generator" content="AsciiDoc 9.0.4" /> | |
7 | 7 | <title>Layout saving in i3</title> |
8 | 8 | <style type="text/css"> |
9 | 9 | /* Shared CSS for AsciiDoc xhtml11 and html5 backends */ |
1015 | 1015 | <div id="footer"> |
1016 | 1016 | <div id="footer-text"> |
1017 | 1017 | Last updated |
1018 | 2020-11-15 18:23:01 CET | |
1018 | 2021-02-01 09:03:46 CET | |
1019 | 1019 | </div> |
1020 | 1020 | </div> |
1021 | 1021 | </body> |
3 | 3 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
4 | 4 | <head> |
5 | 5 | <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" /> |
6 | <meta name="generator" content="AsciiDoc 9.0.3" /> | |
6 | <meta name="generator" content="AsciiDoc 9.0.4" /> | |
7 | 7 | <title>The multi-monitor situation</title> |
8 | 8 | <style type="text/css"> |
9 | 9 | /* Shared CSS for AsciiDoc xhtml11 and html5 backends */ |
815 | 815 | <div id="footer"> |
816 | 816 | <div id="footer-text"> |
817 | 817 | Last updated |
818 | 2020-11-15 18:23:01 CET | |
818 | 2021-02-01 09:03:46 CET | |
819 | 819 | </div> |
820 | 820 | </div> |
821 | 821 | </body> |
3 | 3 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
4 | 4 | <head> |
5 | 5 | <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" /> |
6 | <meta name="generator" content="AsciiDoc 9.0.3" /> | |
6 | <meta name="generator" content="AsciiDoc 9.0.4" /> | |
7 | 7 | <title>i3 testsuite</title> |
8 | 8 | <style type="text/css"> |
9 | 9 | /* Shared CSS for AsciiDoc xhtml11 and html5 backends */ |
1429 | 1429 | <div id="footer"> |
1430 | 1430 | <div id="footer-text"> |
1431 | 1431 | Last updated |
1432 | 2020-11-15 18:23:01 CET | |
1432 | 2021-02-01 09:03:46 CET | |
1433 | 1433 | </div> |
1434 | 1434 | </div> |
1435 | 1435 | </body> |
3 | 3 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
4 | 4 | <head> |
5 | 5 | <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" /> |
6 | <meta name="generator" content="AsciiDoc 9.0.3" /> | |
6 | <meta name="generator" content="AsciiDoc 9.0.4" /> | |
7 | 7 | <title>i3 User’s Guide</title> |
8 | 8 | <style type="text/css"> |
9 | 9 | /* Shared CSS for AsciiDoc xhtml11 and html5 backends */ |
4004 | 4004 | <div id="footer"> |
4005 | 4005 | <div id="footer-text"> |
4006 | 4006 | Last updated |
4007 | 2020-11-15 18:23:01 CET | |
4007 | 2021-02-01 09:03:46 CET | |
4008 | 4008 | </div> |
4009 | 4009 | </div> |
4010 | 4010 | </body> |
3 | 3 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
4 | 4 | <head> |
5 | 5 | <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" /> |
6 | <meta name="generator" content="AsciiDoc 9.0.3" /> | |
6 | <meta name="generator" content="AsciiDoc 9.0.4" /> | |
7 | 7 | <title>External workspace bars</title> |
8 | 8 | <style type="text/css"> |
9 | 9 | /* Shared CSS for AsciiDoc xhtml11 and html5 backends */ |
843 | 843 | <div id="footer"> |
844 | 844 | <div id="footer-text"> |
845 | 845 | Last updated |
846 | 2020-11-15 18:23:01 CET | |
846 | 2021-02-01 09:03:46 CET | |
847 | 847 | </div> |
848 | 848 | </div> |
849 | 849 | </body> |
53 | 53 | # start dmenu (a program launcher) |
54 | 54 | bindsym Mod1+d exec --no-startup-id dmenu_run |
55 | 55 | # A more modern dmenu replacement is rofi: |
56 | # bindsym Mod1+d exec rofi -modi drun,run -show drun | |
56 | # bindsym Mod1+d exec "rofi -modi drun,run -show drun" | |
57 | 57 | # There also is i3-dmenu-desktop which only displays applications shipping a |
58 | 58 | # .desktop file. It is a wrapper around dmenu, so you need that installed. |
59 | 59 | # bindsym Mod1+d exec --no-startup-id i3-dmenu-desktop |
47 | 47 | # start dmenu (a program launcher) |
48 | 48 | bindcode $mod+40 exec --no-startup-id dmenu_run |
49 | 49 | # A more modern dmenu replacement is rofi: |
50 | # bindcode $mod+40 exec rofi -modi drun,run -show drun | |
50 | # bindcode $mod+40 exec "rofi -modi drun,run -show drun" | |
51 | 51 | # There also is i3-dmenu-desktop which only displays applications shipping a |
52 | 52 | # .desktop file. It is a wrapper around dmenu, so you need that installed. |
53 | bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop | |
53 | # bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop | |
54 | 54 | |
55 | 55 | # change focus |
56 | 56 | bindcode $mod+44 focus left |
1 | 1 | .\" Title: i3-config-wizard |
2 | 2 | .\" Author: [see the "AUTHOR" section] |
3 | 3 | .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> |
4 | .\" Date: 11/15/2020 | |
4 | .\" Date: 02/01/2021 | |
5 | 5 | .\" Manual: i3 Manual |
6 | .\" Source: i3 4.19 | |
6 | .\" Source: i3 4.19.1 | |
7 | 7 | .\" Language: English |
8 | 8 | .\" |
9 | .TH "I3\-CONFIG\-WIZARD" "1" "11/15/2020" "i3 4\&.19" "i3 Manual" | |
9 | .TH "I3\-CONFIG\-WIZARD" "1" "02/01/2021" "i3 4\&.19\&.1" "i3 Manual" | |
10 | 10 | .\" ----------------------------------------------------------------- |
11 | 11 | .\" * Define some portability stuff |
12 | 12 | .\" ----------------------------------------------------------------- |
70 | 70 | .\" ======================================================================== |
71 | 71 | .\" |
72 | 72 | .IX Title "I3-DMENU-DESKTOP 1" |
73 | .TH I3-DMENU-DESKTOP 1 "2020-11-15" "perl v5.32.0" "User Contributed Perl Documentation" | |
73 | .TH I3-DMENU-DESKTOP 1 "2021-02-01" "perl v5.32.0" "User Contributed Perl Documentation" | |
74 | 74 | .\" For nroff, turn off justification. Always turn off hyphenation; it makes |
75 | 75 | .\" way too many mistakes in technical documents. |
76 | 76 | .if n .ad l |
1 | 1 | .\" Title: i3-dump-log |
2 | 2 | .\" Author: [see the "AUTHOR" section] |
3 | 3 | .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> |
4 | .\" Date: 11/15/2020 | |
4 | .\" Date: 02/01/2021 | |
5 | 5 | .\" Manual: i3 Manual |
6 | .\" Source: i3 4.19 | |
6 | .\" Source: i3 4.19.1 | |
7 | 7 | .\" Language: English |
8 | 8 | .\" |
9 | .TH "I3\-DUMP\-LOG" "1" "11/15/2020" "i3 4\&.19" "i3 Manual" | |
9 | .TH "I3\-DUMP\-LOG" "1" "02/01/2021" "i3 4\&.19\&.1" "i3 Manual" | |
10 | 10 | .\" ----------------------------------------------------------------- |
11 | 11 | .\" * Define some portability stuff |
12 | 12 | .\" ----------------------------------------------------------------- |
1 | 1 | .\" Title: i3-input |
2 | 2 | .\" Author: [see the "AUTHOR" section] |
3 | 3 | .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> |
4 | .\" Date: 11/15/2020 | |
4 | .\" Date: 02/01/2021 | |
5 | 5 | .\" Manual: i3 Manual |
6 | .\" Source: i3 4.19 | |
6 | .\" Source: i3 4.19.1 | |
7 | 7 | .\" Language: English |
8 | 8 | .\" |
9 | .TH "I3\-INPUT" "1" "11/15/2020" "i3 4\&.19" "i3 Manual" | |
9 | .TH "I3\-INPUT" "1" "02/01/2021" "i3 4\&.19\&.1" "i3 Manual" | |
10 | 10 | .\" ----------------------------------------------------------------- |
11 | 11 | .\" * Define some portability stuff |
12 | 12 | .\" ----------------------------------------------------------------- |
1 | 1 | .\" Title: i3-migrate-config-to-v4 |
2 | 2 | .\" Author: [see the "AUTHOR" section] |
3 | 3 | .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> |
4 | .\" Date: 11/15/2020 | |
4 | .\" Date: 02/01/2021 | |
5 | 5 | .\" Manual: i3 Manual |
6 | .\" Source: i3 4.19 | |
6 | .\" Source: i3 4.19.1 | |
7 | 7 | .\" Language: English |
8 | 8 | .\" |
9 | .TH "I3\-MIGRATE\-CONFIG\" "1" "11/15/2020" "i3 4\&.19" "i3 Manual" | |
9 | .TH "I3\-MIGRATE\-CONFIG\" "1" "02/01/2021" "i3 4\&.19\&.1" "i3 Manual" | |
10 | 10 | .\" ----------------------------------------------------------------- |
11 | 11 | .\" * Define some portability stuff |
12 | 12 | .\" ----------------------------------------------------------------- |
1 | 1 | .\" Title: i3-msg |
2 | 2 | .\" Author: [see the "AUTHOR" section] |
3 | 3 | .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> |
4 | .\" Date: 11/15/2020 | |
4 | .\" Date: 02/01/2021 | |
5 | 5 | .\" Manual: i3 Manual |
6 | .\" Source: i3 4.19 | |
6 | .\" Source: i3 4.19.1 | |
7 | 7 | .\" Language: English |
8 | 8 | .\" |
9 | .TH "I3\-MSG" "1" "11/15/2020" "i3 4\&.19" "i3 Manual" | |
9 | .TH "I3\-MSG" "1" "02/01/2021" "i3 4\&.19\&.1" "i3 Manual" | |
10 | 10 | .\" ----------------------------------------------------------------- |
11 | 11 | .\" * Define some portability stuff |
12 | 12 | .\" ----------------------------------------------------------------- |
1 | 1 | .\" Title: i3-nagbar |
2 | 2 | .\" Author: [see the "AUTHOR" section] |
3 | 3 | .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> |
4 | .\" Date: 11/15/2020 | |
4 | .\" Date: 02/01/2021 | |
5 | 5 | .\" Manual: i3 Manual |
6 | .\" Source: i3 4.19 | |
6 | .\" Source: i3 4.19.1 | |
7 | 7 | .\" Language: English |
8 | 8 | .\" |
9 | .TH "I3\-NAGBAR" "1" "11/15/2020" "i3 4\&.19" "i3 Manual" | |
9 | .TH "I3\-NAGBAR" "1" "02/01/2021" "i3 4\&.19\&.1" "i3 Manual" | |
10 | 10 | .\" ----------------------------------------------------------------- |
11 | 11 | .\" * Define some portability stuff |
12 | 12 | .\" ----------------------------------------------------------------- |
70 | 70 | .\" ======================================================================== |
71 | 71 | .\" |
72 | 72 | .IX Title "I3-SAVE-TREE 1" |
73 | .TH I3-SAVE-TREE 1 "2020-11-15" "perl v5.32.0" "User Contributed Perl Documentation" | |
73 | .TH I3-SAVE-TREE 1 "2021-02-01" "perl v5.32.0" "User Contributed Perl Documentation" | |
74 | 74 | .\" For nroff, turn off justification. Always turn off hyphenation; it makes |
75 | 75 | .\" way too many mistakes in technical documents. |
76 | 76 | .if n .ad l |
1 | 1 | .\" Title: i3-sensible-editor |
2 | 2 | .\" Author: [see the "AUTHOR" section] |
3 | 3 | .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> |
4 | .\" Date: 11/15/2020 | |
4 | .\" Date: 02/01/2021 | |
5 | 5 | .\" Manual: i3 Manual |
6 | .\" Source: i3 4.19 | |
6 | .\" Source: i3 4.19.1 | |
7 | 7 | .\" Language: English |
8 | 8 | .\" |
9 | .TH "I3\-SENSIBLE\-EDITOR" "1" "11/15/2020" "i3 4\&.19" "i3 Manual" | |
9 | .TH "I3\-SENSIBLE\-EDITOR" "1" "02/01/2021" "i3 4\&.19\&.1" "i3 Manual" | |
10 | 10 | .\" ----------------------------------------------------------------- |
11 | 11 | .\" * Define some portability stuff |
12 | 12 | .\" ----------------------------------------------------------------- |
1 | 1 | .\" Title: i3-sensible-pager |
2 | 2 | .\" Author: [see the "AUTHOR" section] |
3 | 3 | .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> |
4 | .\" Date: 11/15/2020 | |
4 | .\" Date: 02/01/2021 | |
5 | 5 | .\" Manual: i3 Manual |
6 | .\" Source: i3 4.19 | |
6 | .\" Source: i3 4.19.1 | |
7 | 7 | .\" Language: English |
8 | 8 | .\" |
9 | .TH "I3\-SENSIBLE\-PAGER" "1" "11/15/2020" "i3 4\&.19" "i3 Manual" | |
9 | .TH "I3\-SENSIBLE\-PAGER" "1" "02/01/2021" "i3 4\&.19\&.1" "i3 Manual" | |
10 | 10 | .\" ----------------------------------------------------------------- |
11 | 11 | .\" * Define some portability stuff |
12 | 12 | .\" ----------------------------------------------------------------- |
1 | 1 | .\" Title: i3-sensible-terminal |
2 | 2 | .\" Author: [see the "AUTHOR" section] |
3 | 3 | .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> |
4 | .\" Date: 11/15/2020 | |
4 | .\" Date: 02/01/2021 | |
5 | 5 | .\" Manual: i3 Manual |
6 | .\" Source: i3 4.19 | |
6 | .\" Source: i3 4.19.1 | |
7 | 7 | .\" Language: English |
8 | 8 | .\" |
9 | .TH "I3\-SENSIBLE\-TERMIN" "1" "11/15/2020" "i3 4\&.19" "i3 Manual" | |
9 | .TH "I3\-SENSIBLE\-TERMIN" "1" "02/01/2021" "i3 4\&.19\&.1" "i3 Manual" | |
10 | 10 | .\" ----------------------------------------------------------------- |
11 | 11 | .\" * Define some portability stuff |
12 | 12 | .\" ----------------------------------------------------------------- |
1 | 1 | .\" Title: i3 |
2 | 2 | .\" Author: [see the "AUTHOR" section] |
3 | 3 | .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> |
4 | .\" Date: 11/15/2020 | |
4 | .\" Date: 02/01/2021 | |
5 | 5 | .\" Manual: i3 Manual |
6 | .\" Source: i3 4.19 | |
6 | .\" Source: i3 4.19.1 | |
7 | 7 | .\" Language: English |
8 | 8 | .\" |
9 | .TH "I3" "1" "11/15/2020" "i3 4\&.19" "i3 Manual" | |
9 | .TH "I3" "1" "02/01/2021" "i3 4\&.19\&.1" "i3 Manual" | |
10 | 10 | .\" ----------------------------------------------------------------- |
11 | 11 | .\" * Define some portability stuff |
12 | 12 | .\" ----------------------------------------------------------------- |
1 | 1 | .\" Title: i3bar |
2 | 2 | .\" Author: [see the "AUTHORS" section] |
3 | 3 | .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> |
4 | .\" Date: 11/15/2020 | |
4 | .\" Date: 02/01/2021 | |
5 | 5 | .\" Manual: i3 Manual |
6 | .\" Source: i3 4.19 | |
6 | .\" Source: i3 4.19.1 | |
7 | 7 | .\" Language: English |
8 | 8 | .\" |
9 | .TH "I3BAR" "1" "11/15/2020" "i3 4\&.19" "i3 Manual" | |
9 | .TH "I3BAR" "1" "02/01/2021" "i3 4\&.19\&.1" "i3 Manual" | |
10 | 10 | .\" ----------------------------------------------------------------- |
11 | 11 | .\" * Define some portability stuff |
12 | 12 | .\" ----------------------------------------------------------------- |
5 | 5 | project( |
6 | 6 | 'i3', |
7 | 7 | 'c', |
8 | version: '4.19', | |
8 | version: '4.19.1', | |
9 | 9 | default_options: [ |
10 | 10 | 'c_std=c11', |
11 | 11 | 'warning_level=1', # enable all warnings (-Wall) |
62 | 62 | sources: vcs_tag( |
63 | 63 | input: config_h_in, |
64 | 64 | output: 'config.h', |
65 | fallback: meson.project_version() + ' (2020-11-15)', | |
65 | fallback: meson.project_version() + '-non-git', | |
66 | 66 | ) |
67 | 67 | ) |
68 | 68 |
438 | 438 | Con *previous_focus = con_get_workspace(focused); |
439 | 439 | |
440 | 440 | /* Iterate over all workspaces and check if any of them should be assigned |
441 | * to this output. */ | |
442 | Con *output_con; | |
443 | TAILQ_FOREACH (output_con, &(croot->nodes_head), nodes) { | |
444 | if (con_is_internal(output_con)) { | |
445 | continue; | |
446 | } | |
447 | ||
448 | Con *workspace; | |
449 | TAILQ_FOREACH (workspace, &(output_get_content(output_con)->nodes_head), nodes) { | |
450 | Con *workspace_out = get_assigned_output(workspace->name, workspace->num); | |
451 | if (output->con != workspace_out) { | |
452 | continue; | |
453 | } | |
454 | ||
455 | DLOG("Moving workspace \"%s\" from output \"%s\" to \"%s\" due to assignment\n", | |
456 | workspace->name, workspace_out->name, output_primary_name(output)); | |
457 | /* Need to copy output's rect since content is not yet rendered. We | |
458 | * can't call render_con here because render_output only proceeds | |
459 | * if a workspace exists. */ | |
460 | content->rect = output->con->rect; | |
461 | workspace_move_to_output(workspace, output); | |
462 | } | |
441 | * to this output. | |
442 | * Note: in order to do that we iterate over all_cons and not using another | |
443 | * list that would be updated during iteration by the | |
444 | * workspace_move_to_output function. */ | |
445 | Con *workspace; | |
446 | TAILQ_FOREACH (workspace, &all_cons, all_cons) { | |
447 | if (workspace->type != CT_WORKSPACE || con_is_internal(workspace)) { | |
448 | continue; | |
449 | } | |
450 | ||
451 | Con *workspace_out = get_assigned_output(workspace->name, workspace->num); | |
452 | ||
453 | if (output->con != workspace_out) { | |
454 | continue; | |
455 | } | |
456 | ||
457 | DLOG("Moving workspace \"%s\" from output \"%s\" to \"%s\" due to assignment\n", | |
458 | workspace->name, output_primary_name(get_output_for_con(workspace)), | |
459 | output_primary_name(output)); | |
460 | ||
461 | /* Need to copy output's rect since content is not yet rendered. We | |
462 | * can't call render_con here because render_output only proceeds | |
463 | * if a workspace exists. */ | |
464 | content->rect = output->con->rect; | |
465 | workspace_move_to_output(workspace, output); | |
463 | 466 | } |
464 | 467 | |
465 | 468 | /* Temporarily set the focused container, might not be initialized yet. */ |