Compare commits

...
This repository has been archived on 2023-08-08. You can view files and clone it, but cannot push or open issues or pull requests.

1 Commits

Author SHA1 Message Date
Sasha Koshka 6d9bc4f868 Removed some redundant draw calls 2023-03-01 13:43:36 -05:00
1 changed files with 2 additions and 2 deletions

View File

@ -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
}