mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-04 08:55:35 +00:00
app/internal/wm: [X11] ignore zero-sized FrameEvents
Updates gio#235 Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -325,7 +325,7 @@ loop:
|
||||
default:
|
||||
}
|
||||
|
||||
if anim || syn {
|
||||
if (anim || syn) && w.width != 0 && w.height != 0 {
|
||||
w.w.Event(FrameEvent{
|
||||
FrameEvent: system.FrameEvent{
|
||||
Now: time.Now(),
|
||||
|
||||
Reference in New Issue
Block a user