Skip to content
Commit 38eb0a96 authored by Liu, Kai1's avatar Liu, Kai1 Committed by Marius Vlad
Browse files

xwm: WM_TRANSIENT_FOR should not point to override-redirect window



The override-redirect window will not be assigned a shell_surface
object. If it is used as a parent window, it will cause a crash
when calling the set_parent function.

The EWMH specification does not describe the behavior of an
override-redirect window as a parent window, so we should ignore
this case.

Signed-off-by: default avatarLiu, Kai1 <kai1.liu@intel.com>
(cherry picked from commit b468687d)
parent a5d52075
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment