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