Vincent Torri wrote:
> Hey,
> 
> In ecore_x_netwm_allowed_action_isset (ecore_x_netwm.c), we get the atoms 
> from the ECORE_X_ATOM_NET_WM_WINDOW_TYPE property. I think that we should 
> use ECORE_X_ATOM_NET_WM_ALLOWED_ACTIONS. Am I right ?
> 
Yes.

However, I'm not sure this function should exist at all.
The WM sets the allowed actions list on client windows and should never 
have to test what it actually did :)
Clients that bother about allowed actions (typically a taskbar) should 
monitor the property and keep a local allowed actions state and not 
query the server using e.g. ecore_x_netwm_allowed_action_isset every 
time it needs the info.

/Kim

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to