mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
Signed-off-by: Vasilyy Balyasnyy <v.balyasniy@omprussia.com> Co-authored-by: Vasilyy Balyasnyy <v.balyasniy@omprussia.com>
This commit is contained in:
co-authored by
Vasilyy Balyasnyy
parent
a10df88d99
commit
fa23f89a16
@@ -125,7 +125,7 @@ static void X11Surface_OnResize(LCUI_Surface s, int width, int height)
|
||||
int depth;
|
||||
XGCValues gcv;
|
||||
Visual *visual;
|
||||
if (width == s->width && height == s->height) {
|
||||
if (width == s->width && height == s->height && s->ximage && s->gc) {
|
||||
return;
|
||||
}
|
||||
if (s->ximage) {
|
||||
|
||||
Reference in New Issue
Block a user