issue #21357 check to see if window has parent before xtsettingsSetValue call
Merge pull request #155 from gpazo/21357

issue #21357 check to see if window has parent before xtsettingsSetValue...