https://bugs.kde.org/show_bug.cgi?id=439137
--- Comment #4 from qydwhotm...@gmail.com ---
▣The transient status bool is defined
here(https://github.com/KDE/kwin/blob/8c8098a61c8990076f6d0866d662ab7980e49dc7/src/x11client.h#L559)
The default value of m_transientForId is equal to XCB_WINDOW_NONE.

▣ m_transientForId is modified by setTransient().
(https://github.com/KDE/kwin/blob/c61085dc2e28cb7d737c9b049499b4433916b194/src/x11client.cpp#L2966)

▣setTransient() is called by
readTransientProperty()(https://github.com/KDE/kwin/blob/c61085dc2e28cb7d737c9b049499b4433916b194/src/x11client.cpp#L2947).
 
1. If transientFor.getTransientFor(&new_transient_for_id) returns false,
isTransient() is false.
2. If verifyTransientFor() fails, isTransient() is false. There are some debug
messages defined in verifyTransientFor(), but I haven't seen them. So I guess
WM_TRANSIENT_FOR is None when verifyTransientFor() fails.

▣verifyTransientFor() is defined
here(https://github.com/KDE/kwin/blob/c61085dc2e28cb7d737c9b049499b4433916b194/src/x11client.cpp#L3120)

More debug information is needed to find what part is wrong.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to