https://bugs.kde.org/show_bug.cgi?id=350826

--- Comment #49 from Thomas Lübking <thomas.luebk...@gmail.com> ---
(In reply to Marco Martin from comment #48)

> is it safe (and fast enough) checking what the existing window type is
> fairly often?

I beg your pardon??

The KWindowSystem classes operate on locally cached data, so the X property
isn't read on queries, but when it changes. The check is always "safe".

Why do you think you need to "ensureWindowType()"?
Nothing but the client (plasmashell) should ever change the type anyway.

Indeed, it actually "should" (only) be set for an unmapped (before
showing/managing) window - KWin is a bit graceful to respect runtime changes
here (likely because the spec says "should" - and once more it's no way clear
what the expected behavior is itr....)

=> The "correct" behavior is to set the type before showing the screen and then
"expecting" it to remain untouched. If "something else™" touches *your*
property, "something else™" is maicious or broken.

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

Reply via email to