Removed some redundant draw calls
This commit is contained in:
parent
1f2e8aa677
commit
6d9bc4f868
@ -86,8 +86,8 @@ func (window *Window) exposeEventFollows (event xproto.ConfigureNotifyEvent) (fo
|
||||
untypedEvent := nextEvents[0]
|
||||
if untypedEvent.Err == nil {
|
||||
typedEvent, ok :=
|
||||
untypedEvent.Event.(xproto.ConfigureNotifyEvent)
|
||||
|
||||
untypedEvent.Event.(xproto.ExposeEvent)
|
||||
|
||||
if ok && typedEvent.Window == event.Window {
|
||||
return true
|
||||
}
|
||||
|
Reference in New Issue
Block a user