steps to reproduce1. configure emacs to use pgtk2. emacs -Q3. C-z or M-x iconify-frame4. Restore emacs by clicking on its iconEmacs does not display characters any more.I believe this bug is similar to bug#42655 except this time it is for pgtk and not lucid.I believe I have fixed this problem and will attach a patch in the next mail, but the thing is I have no idea how I fixed it so please check for any unintended consequences.Thanks