Fixed app windows destroy will do close(0) (#8073)
shmid was not initailized on creation of app window, that will be close fd = 0. everytimes in app windows destroy (Call xf_DestroyWindow ).
This commit is contained in:
parent
54bbe33123
commit
e3cfe7300c
@ -799,6 +799,7 @@ int xf_AppWindowCreate(xfContext* xfc, xfAppWindow* appWindow)
|
||||
|
||||
xf_FixWindowCoordinates(xfc, &appWindow->x, &appWindow->y, &appWindow->width,
|
||||
&appWindow->height);
|
||||
appWindow->shmid = -1;
|
||||
appWindow->decorations = FALSE;
|
||||
appWindow->fullscreen = FALSE;
|
||||
appWindow->local_move.state = LMS_NOT_ACTIVE;
|
||||
|
Loading…
Reference in New Issue
Block a user