Add info check to avoid unnecessary SHM detection.
If user does not explicitly set alloc_shm to TRUE in win_create, we should never detect SHM windows because of expensive overhead. However, current code does not check this info flag. This patch fixed it. Closes #2161 Signed-off-by: Xin Zhao <firstname.lastname@example.org>
Showing with 12 additions and 1 deletion