Guile Really-Improved 3 Window Manager Fork of i3-wm with guile configuration
Go to file
Orestis Floros f908403376
Simplify tree_close_internal
This commit makes multiple changes in tree_close_internal. I didn't
split them because they are not completely independent.

- Remove force_set_focus parameter
This parameter was always set to `false` throughout the code base except
for one case where it was set to `(con == focused)`, when killing a
floating con's parent (the one with type CT_FLOATING_CON). But this case
is not needed anymore since the special handling of CT_FLOATING_CONs in
con_next_focused was removed in #2941.
- Assume that con_next_focused does not returned a container of type
CT_DOCKAREA. This is reasonable since con_next_focused uses the
focus_head stack and has special handling of CT_DOCKAREA containers.
- Remove is_mapped
This variable was only used in the if block towards the end of
tree_close_internal. Ignoring the, now removed, dockarea code and the
use of force_set_focus this block performed only one useful action:
focus the `next` container when `con == focused`. `con == focused` was a
necessary and sufficient condition for the con_activate call:
if `con != focused` we could reach the inner if blocks because of the
other conditions but would never focus another container. If `con ==
focused` then all other conditions would be irrelevant.
- Remove special handling of floating containers
Since the `next` focused container is calculated through the parent for
floating containers, I moved this code to con_next_focused.
Also, because of the removal of force_set_focus, it appears that we can
call con_on_remove_child for floating containers as well.
2018-07-30 19:41:24 +03:00
.github Fix ISSUE_TEMPLATE typo 2018-07-12 03:49:07 +03:00
AnyEvent-I3 introduce the sync IPC command 2018-03-30 21:09:52 +02:00
contrib Merge pull request #3176 from orestisf1993/dump-asy-marks 2018-03-14 14:24:00 +01:00
debian debian: update changelog 2018-03-10 18:35:11 +01:00
docs docs/i3bar-protocol: fix typo 2018-07-16 08:54:08 -05:00
etc config: add comment $mod+r in back to normal when resize window 2018-01-05 07:14:57 +07:00
i3-config-wizard Fix redundant return statements 2018-04-27 00:09:42 +03:00
i3-dump-log i3-dump-log: enable shmlog on demand 2017-11-26 18:07:02 +01:00
i3-input Merge pull request #3058 from d-e-s-o/fix-FREE 2017-11-29 08:33:27 +01:00
i3-msg i3-msg: only print input + errorposition if they exist 2018-03-18 03:38:06 +02:00
i3-nagbar Fix redundant casts to the same type 2018-04-27 00:09:42 +03:00
i3bar Replace strncpy call with memcpy when result is not NUL-terminated 2018-05-08 17:05:46 +03:00
include Simplify tree_close_internal 2018-07-30 19:41:24 +03:00
libi3 fix height offset calculation in pango text drawing 2018-07-28 19:31:32 -07:00
m4 Accept calling absolute path when building outsource 2016-11-09 22:37:21 +01:00
man Correct XDG paths precedence for config files 2018-07-10 05:04:34 +03:00
parser-specs Allow multiple assignments of workspaces to outputs 2018-07-12 17:07:01 +03:00
share Move/rename config files/.desktop files into subdirs 2016-10-23 21:09:24 +02:00
src Simplify tree_close_internal 2018-07-30 19:41:24 +03:00
testcases Allow multiple assignments of workspaces to outputs 2018-07-12 17:07:01 +03:00
travis tests: run under Xvfb by default (if available) (#2951) 2017-10-13 00:18:49 -07:00
.clang-format switch to clang-format-3.8 (#2547) 2016-11-08 13:46:43 -08:00
.editorconfig Add .editorconfig (see editorconfig.org) (#2943) 2017-09-13 18:38:27 +02:00
.gitignore Add files generated by make check in AnyEvent-I3/ to .gitignore (#2915) 2017-09-09 14:47:32 +02:00
.travis.yml travis: remove clang-analyze (#2917) 2017-09-09 18:30:17 +02:00
DEPENDS Fix DEPENDS table 2018-05-01 13:49:55 +03:00
I3_VERSION Set non-git version to 4.15-non-git. 2018-03-10 18:29:21 +01:00
LICENSE Remove copyright year range from License 2016-01-17 16:25:54 +05:30
Makefile.am Makefile.am: add forgotten include/sync.h 2018-04-19 20:10:54 +02:00
PACKAGE-MAINTAINER Update PACKAGE-MAINTAINER’s compilation instructions 2016-10-23 21:09:24 +02:00
README.md Add README.md (#2910) 2017-09-10 07:43:53 +02:00
RELEASE-NOTES-4.15 release i3 4.15 2018-03-10 18:29:14 +01:00
configure.ac release i3 4.15 2018-03-10 18:29:14 +01:00
generate-command-parser.pl Remove trailing whitespace from Perl scripts 2018-03-15 21:33:45 +02:00
i3-dmenu-desktop Replace http:// with https:// where applicable 2017-09-24 10:19:07 +02:00
i3-migrate-config-to-v4 Remove dead documentation for non-existing feature "stack-limit". 2015-06-09 23:13:15 +02:00
i3-save-tree Update "mark" to "marks" in i3-save-tree. (#2308) 2016-04-23 12:43:23 +01:00
i3-sensible-editor Added gVim to i3-sensible-editor 2018-02-19 15:39:46 +01:00
i3-sensible-pager Quote the variables in i3-sensible-* correctly 2015-11-30 21:36:23 +00:00
i3-sensible-terminal Add alacritty to i3-sensible-terminal 2018-03-16 22:53:39 +01:00
logo.svg s/i3.zekjur.net/i3wm.org/g 2011-08-28 17:44:42 +02:00
pseudo-doc.doxygen Replace http:// with https:// where applicable 2017-09-24 10:19:07 +02:00
release.sh update release.sh after release 2018-03-10 18:53:20 +01:00

README.md

Logo i3: A tiling window manager

Build Status Issue Stats Pull Request Stats

i3 is a tiling window manager for X11.

For more information about i3, please see the project's website and online documentation.

For information about contributing to i3, please see CONTRIBUTING.md.