fix locking for raising window
Merge remote-tracking branch 'kali/bug/fix_raise_window_win' into develop