diff options
Diffstat (limited to 'src/window')
-rw-r--r-- | src/window/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window/window.c b/src/window/window.c index 8ed68e7..13bb4ba 100644 --- a/src/window/window.c +++ b/src/window/window.c @@ -581,7 +581,7 @@ static void mgl_window_on_receive_event(mgl_window *self, XEvent *xev, mgl_event } case ConfigureNotify: { while(XCheckTypedWindowEvent(context->connection, self->window, ConfigureNotify, xev)) {} - if(xev->xconfigure.width != self->size.x || xev->xconfigure.height != self->size.x) { + if(xev->xconfigure.width != self->size.x || xev->xconfigure.height != self->size.y) { mgl_window_on_resize(self, xev->xconfigure.width, xev->xconfigure.height); event->type = MGL_EVENT_RESIZED; |