--===============7181064494067240399== Content-Type: multipart/signed; boundary="nextPart8203301.OuyuPxTX4m"; micalg="pgp-sha1"; protocol="application/pgp-signature" --nextPart8203301.OuyuPxTX4m Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" On Thursday 30 January 2014 11:21:59 Helio Chissini de Castro wrote: > On Thursday 30 January 2014 13:32:29 Martin Gr=C3=A4=C3=9Flin wrote: > > On Thursday 30 January 2014 10:23:57 Helio Chissini de Castro wrote= : > > > Hello all > > >=20 > > > Our base system that is deployed in our touch table machines are = KDE 4 > > > with > > > Fedora system. We use basically only Qt Qml application, full scr= een > > > spanned on the dual screen setup, standard monitor and projection= touch > > > screen. Recently we got required to run some applications built o= n > > > Unity3D and i stumbled on a specific issue only on kwin. > > >=20 > > > The Unity runtime player has few options to handle window, > > > one of then is -popupwindow > > >=20 > > > Situation is, despite been working fine on regular windowed mode,= if we > > > use > > > the popupwindow mode it creates a frameless window centered on sc= reen > > > which > > > simply hides itself when clicked with mouse or similar click iter= action > > > ( > > > touch table ), but application still runs on background. > > >=20 > > > The same result not happens on bare X window or any other > > > compositor/window > > > manager. > >=20 > > What is the expected effect? That the window stays there or that th= e > > application exits? >=20 > Stay there, because we need to iteract over the objects I'm getting good at guessing the window flags correctly from the descri= bed=20 behavior :-) It's a splash window, see: _NET_WM_WINDOW_TYPE(ATOM) =3D _NET_WM_WINDOW_TYPE_SPLASH KWin's behavior is to close splash windows when you click them: if (isSplash() && button =3D=3D XCB_BUTTON_INDEX_1 && !bModKeyHeld) { // hide splashwindow if the user clicks on it hideClient(true); if (w =3D=3D wrapperId()) xcb_allow_events(connection(), XCB_ALLOW_SYNC_POINTER,=20 XCB_TIME_CURRENT_TIME); //xTime()); return true; } This is from events.cpp (line 1053 current master). I'd suggest to not use a splash window for this case. I assume that uni= ty uses=20 splash windows for frameless windows as that was the only way to get it= =20 without decorations on all window managers. It's obviously wrong and th= ere are=20 kind of standardized ways (e.g. Yakuake works, doesn't it ;-) Cheers Martin --nextPart8203301.OuyuPxTX4m Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEABECAAYFAlLqVK8ACgkQqVXwidMiVrqaYQCfZ2wfa91ea7G+9ObsOJ/sO4/e YrcAn30CdCpTj1FR90RQ+l9v5pbp76kh =XI/V -----END PGP SIGNATURE----- --nextPart8203301.OuyuPxTX4m-- --===============7181064494067240399== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kwin mailing list kwin@kde.org https://mail.kde.org/mailman/listinfo/kwin --===============7181064494067240399==--