TreviƱo
2007-Jun-06 17:42 UTC
[compiz] [PATCHES] Fixes for java apps and firefox in scale, switcher and wobbly
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've made these patches that basically, make the java apps and firefox items well being recognized by some compiz plugins (scale, switcher and wobbly), I don't know if those can be considered workaround, but this helps in using your desktop tools. Basically java apps are seen as: * name=sun-awt-X11-XFramePeer (default windows = Normal) * name=sun-awt-X11-XDialogPeer (secondary - child - dialogs = Dialog) * name=sun-awt-X11-XWindowPeer (Menus, tooltip, OSD & co...) While firefox items as: * type=Normal & override_redirect=1 Regards, Trevi?o - -- Trevi?o's Blog - Life and Linux http://3v1n0.tuxfamily.org/blog/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGZvHxLWz7RN2ADNkRAvtuAKCfMJT0q6XpnCoxMxIIkoYT2xKdogCfeKKZ xzFNhXqCebK9CedD3vRWm6c=z4A9 -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: scale-java-firefox-windows-fix.patch Type: text/x-patch Size: 652 bytes Desc: not available Url : http://lists.freedesktop.org/archives/compiz/attachments/20070606/9687f8c1/attachment.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: switcher-java-firefox-windows-fix.patch Type: text/x-patch Size: 648 bytes Desc: not available Url : http://lists.freedesktop.org/archives/compiz/attachments/20070606/9687f8c1/attachment-0001.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: wobbly-java-firefox-map-windows-fix.patch Type: text/x-patch Size: 770 bytes Desc: not available Url : http://lists.freedesktop.org/archives/compiz/attachments/20070606/9687f8c1/attachment-0002.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: scale-java-firefox-windows-fix.patch.sig Type: application/octet-stream Size: 65 bytes Desc: not available Url : http://lists.freedesktop.org/archives/compiz/attachments/20070606/9687f8c1/attachment.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: switcher-java-firefox-windows-fix.patch.sig Type: application/octet-stream Size: 65 bytes Desc: not available Url : http://lists.freedesktop.org/archives/compiz/attachments/20070606/9687f8c1/attachment-0001.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: wobbly-java-firefox-map-windows-fix.patch.sig Type: application/octet-stream Size: 65 bytes Desc: not available Url : http://lists.freedesktop.org/archives/compiz/attachments/20070606/9687f8c1/attachment-0002.obj
David Reveman
2007-Jun-06 19:48 UTC
[compiz] [PATCHES] Fixes for java apps and firefox in scale, switcher and wobbly
On Wed, 2007-06-06 at 19:42 +0200, Trevi?o wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I've made these patches that basically, make the java apps and firefox > items well being recognized by some compiz plugins (scale, switcher > and wobbly), I don't know if those can be considered workaround, but > this helps in using your desktop tools. > > Basically java apps are seen as: > * name=sun-awt-X11-XFramePeer (default windows = Normal) > * name=sun-awt-X11-XDialogPeer (secondary - child - dialogs = Dialog) > * name=sun-awt-X11-XWindowPeer (Menus, tooltip, OSD & co...) > > While firefox items as: > * type=Normal & override_redirect=1These are all workarounds for apps that are not setting window hints correctly and I think most people agree that it's not a good idea to adjust our default option values for this. Feel free to add the workarounds to the compiz.org wiki, though. I suggest that you submit java and firefox bug reports for this if you haven't already. That way it might get fixed where it's supposed to be fixed. -David