Fixed app windows destroy will do close(0)
shmid was not initailized on creation of app window, that will be close fd = 0. everytimes in app windows destroy (Call xf_DestroyWindow ).
@@ -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;
