con_border_style: check con->fullscreen_mode directly
This commit is contained in:
parent
efc78de4ee
commit
0ac75bea5a
|
@ -1711,8 +1711,7 @@ adjacent_t con_adjacent_borders(Con *con) {
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
int con_border_style(Con *con) {
|
int con_border_style(Con *con) {
|
||||||
Con *fs = con_get_fullscreen_con(con->parent, CF_OUTPUT);
|
if (con->fullscreen_mode == CF_OUTPUT || con->fullscreen_mode == CF_GLOBAL) {
|
||||||
if (fs == con) {
|
|
||||||
DLOG("this one is fullscreen! overriding BS_NONE\n");
|
DLOG("this one is fullscreen! overriding BS_NONE\n");
|
||||||
return BS_NONE;
|
return BS_NONE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue