]> git.sur5r.net Git - i3/i3/commit
Make containers containing exactly one window behave like default containers
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 22 Dec 2009 22:40:06 +0000 (23:40 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 22 Dec 2009 22:40:06 +0000 (23:40 +0100)
commit848d9c1b01367f943057449ae374025423aa755d
treeee236093188108807db44378941570589f93c6a6
parent75ac464c0dc7758a0db7723da4bb9dcf061466eb
Make containers containing exactly one window behave like default containers

Starting from this commit, a borderless window will always be
borderless if it is the only window in a container. For example,
you can have Firefox borderless in a tabbed container and as soon
as the download manager or a viewer gets opened, the container
will be rendered like a normal tabbed container.

This solves the user-interface dilemma of borderless/1-px-border
windows inside stacked/tabbed containers, at least for this special
case. Thanks to Merovius for this suggestion.
include/client.h
include/container.h [new file with mode: 0644]
src/container.c [new file with mode: 0644]
src/handlers.c
src/layout.c