Compare commits
1 Commits
main
...
data-orien
Author | SHA1 | Date | |
---|---|---|---|
|
6d9bc4f868 |
@ -86,8 +86,8 @@ 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