Notes from "New OSD in Plasma 2"
Martin Gräßlin
mgraesslin at kde.org
Tue Jan 21 14:10:32 UTC 2014
On Tuesday 21 January 2014 14:26:59 Martin Klapetek wrote:
> On Tue, Jan 21, 2014 at 8:57 AM, Martin Gräßlin <mgraesslin at kde.org> wrote:
> > I had a look and the Plasma side seems fine. You can verify using xprop.
> > My
> >
> > demo dialog got the notification type.
>
> Hmm...I might have been wrong then, using xprop on the OSD I get
>
> _NET_WM_WINDOW_TYPE(ATOM) = _KDE_NET_WM_WINDOW_TYPE_OVERRIDE,
> _NET_WM_WINDOW_TYPE_NORMAL
That's not what I had. My example code which I wrote this morning for testing:
http://pastebin.kde.org/phhnfbtda
I executed the code using qmlscene. Maybe that makes a difference.
>
> Which I don't understand as the Dialog code looks fine and it goes through
> "NETWinInfo::setWindowType(..)" setting the notification type properly.
>
> Also if the type is "Normal", shouldn't it have normal win decorations? I'm
> getting a borderless window (unless that's actually done by some inner kwin
> stuff).
No, the type is _KDE_NET_WM_WINDOW_TYPE_OVERRIDE, normal is just the fallback
for all other window managers. Override is our window type hint for "don't
decorate me".
Cheers
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20140121/fe5259c2/attachment.sig>
More information about the Plasma-devel
mailing list