Render buttons border immedialtely after windo list population
This commit is contained in:
@@ -19,7 +19,6 @@ var WL WinList
|
||||
|
||||
// UpdateI3WinList subsribes to all window-related events and send them to I3EventParser() for more detailed parsing.
|
||||
func (c *MyConfig) UpdateI3WinList() {
|
||||
// TODO: Здесь получить начальный список окон, управляемых i3wm (через GetTree()) и сложить их атрибутику в переменную WL
|
||||
Tree, err := i3.GetTree()
|
||||
|
||||
if err != nil {
|
||||
@@ -30,6 +29,8 @@ func (c *MyConfig) UpdateI3WinList() {
|
||||
|
||||
c.ExtractProps(Tree.Root)
|
||||
|
||||
c.Channels.UpdateReady <- true
|
||||
|
||||
i3wm := i3.Subscribe(i3.WindowEventType)
|
||||
|
||||
for i3wm.Next() {
|
||||
|
||||
Reference in New Issue
Block a user