We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86c4b0b commit f690418Copy full SHA for f690418
src/x11/window-x11.c
@@ -3817,10 +3817,14 @@ meta_window_x11_configure_notify (MetaWindow *window,
3817
g_assert (window->override_redirect);
3818
g_assert (window->frame == NULL);
3819
3820
- window->rect.x = event->x;
3821
- window->rect.y = event->y;
3822
- window->rect.width = event->width;
3823
- window->rect.height = event->height;
+ if (event->width != 1 &&
+ event->height != 1)
+ {
+ window->rect.x = event->x;
3824
+ window->rect.y = event->y;
3825
+ window->rect.width = event->width;
3826
+ window->rect.height = event->height;
3827
+ }
3828
3829
priv->client_rect = window->rect;
3830
window->buffer_rect = window->rect;
0 commit comments