Fix wrong placement of i3bar when connecting/disconnecting outputs
When connecting or disconnecting an output, i3bar reconfigures its windows. This also included an unmapping of the bars, and a remapping of all docked bars. Thus, the bars were misplaced when a monitor was disconnected. This commit assures that the remapping of the bars only takes place, when the mode has actually changed. This patch also takes care of an inconsistency when pressing the bar_modifier while switching the mode. Also, the xkbDisplay is now closed correctly, when deregestering the xkb keyevents.
This commit is contained in:
committed by
Michael Stapelberg
parent
8353a387c9
commit
4937788e8d
@ -114,7 +114,7 @@ void realloc_sl_buffer(void);
|
||||
* Reconfigure all bars and create new for newly activated outputs
|
||||
*
|
||||
*/
|
||||
void reconfig_windows(void);
|
||||
void reconfig_windows(bool redraw_bars);
|
||||
|
||||
/*
|
||||
* Render the bars, with buttons and statusline
|
||||
|
Reference in New Issue
Block a user