Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Look and Chameleon Technology » Compiz fix
Re: Compiz fix [message #20855 is a reply to message #20820] Tue, 14 April 2009 19:57 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
kodos wrote on Fri, 10 April 2009 11:32

Hi,

I don't know how the standard settings are in other Linux distributions but at least in Ubuntu the standard settings for compiz is to use the Animation plugin, an they have different animations for top level windows and "other" windows (like popupmenus and other things). So for example if you open the file menu in TheIDE it looks weird. Compiz decides what animation it should use according to its type.

I have hacked a quick fix which works for me, but it isn't really nice, because I just set every window which is created with redirect==true to be a popup menu. I'm afraid I don't know how I could detect in the Create method which sort of window actually is created and set type correctly.

EDIT: The patch is for the CtrlCore/X11Wnd.cpp file Wink
EDIT2: And a link which shows every type a WM should understand: http://standards.freedesktop.org/wm-spec/1.4/ar01s05.html
A correct fix would probably use those types.


Thanks, applied.

I guess that for really good fix, we will have to add "type hint" to Ctrl (MENU, TOOLTIP, DROPLIST etc...) and call it appropriately... (with some reasonable default).

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Previous Topic: Questions about themeing plz
Next Topic: ChGtk menu fix
Goto Forum:
  


Current Time: Mon Apr 29 12:17:19 CEST 2024

Total time taken to generate the page: 0.04326 seconds