Make the manager listen for changes on new window
When mapping a new window, listen for property notify events.
This commit is contained in:
@@ -59,6 +59,7 @@ module Uh
|
||||
return if window.override_redirect? || client_for(window)
|
||||
@clients << client = Client.new(window)
|
||||
@events.emit :manage, args: client
|
||||
@display.listen_events window, Events::PROPERTY_CHANGE_MASK
|
||||
end
|
||||
|
||||
def unmap window
|
||||
|
Reference in New Issue
Block a user