Bugfix: Don’t draw borders for fullscreen windows

This commit is contained in:
Michael Stapelberg
2010-11-21 17:00:10 +01:00
parent 09b5b17830
commit 2d280469af
4 changed files with 15 additions and 8 deletions

View File

@ -503,6 +503,12 @@ Rect con_border_style_rect(Con *con) {
*
*/
int con_border_style(Con *con) {
Con *fs = con_get_fullscreen_con(con->parent);
if (fs == con) {
DLOG("this one is fullscreen! overriding BS_NONE\n");
return BS_NONE;
}
if (con->parent->layout == L_STACKED)
return BS_NORMAL;