Re: [E-devel] E CVS: libs/ecore kwo

2007-04-08 Thread Vincent Torri

Kim, don't you think that the creation of that atom should also be added 
in ecore (in netwm) ?

Vincent

On Sun, 8 Apr 2007, Enlightenment CVS wrote:

 Enlightenment CVS committal

 Author  : kwo
 Project : e17
 Module  : libs/ecore

 Dir : e17/libs/ecore/src/lib/ecore_x


 Modified Files:
   Ecore_X_Atoms.h


 Log Message:
 Add missing declaration (ECORE_X_ATOM_NET_STARTUP_ID).

 ===
 RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_x/Ecore_X_Atoms.h,v
 retrieving revision 1.15
 retrieving revision 1.16
 diff -u -3 -r1.15 -r1.16
 --- Ecore_X_Atoms.h   19 May 2006 06:05:35 -  1.15
 +++ Ecore_X_Atoms.h   8 Apr 2007 20:52:54 -   1.16
 @@ -122,6 +122,7 @@
 EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_SYNC_REQUEST;
 EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_SYNC_REQUEST_COUNTER;

 +EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_STARTUP_ID;
 EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_STARTUP_INFO_BEGIN;
 EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_STARTUP_INFO;

-
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.phpp=sourceforgeCID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E CVS: libs/ecore kwo

2007-04-08 Thread Kim Woelders
It's already there. The external declaration was just missing.

/Kim

Vincent Torri wrote:
 Kim, don't you think that the creation of that atom should also be added 
 in ecore (in netwm) ?
 
 Vincent
 
 On Sun, 8 Apr 2007, Enlightenment CVS wrote:
 
 Enlightenment CVS committal

 Author  : kwo
 Project : e17
 Module  : libs/ecore

 Dir : e17/libs/ecore/src/lib/ecore_x


 Modified Files:
  Ecore_X_Atoms.h


 Log Message:
 Add missing declaration (ECORE_X_ATOM_NET_STARTUP_ID).

 ===
 RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_x/Ecore_X_Atoms.h,v
 retrieving revision 1.15
 retrieving revision 1.16
 diff -u -3 -r1.15 -r1.16
 --- Ecore_X_Atoms.h  19 May 2006 06:05:35 -  1.15
 +++ Ecore_X_Atoms.h  8 Apr 2007 20:52:54 -   1.16
 @@ -122,6 +122,7 @@
 EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_SYNC_REQUEST;
 EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_SYNC_REQUEST_COUNTER;

 +EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_STARTUP_ID;
 EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_STARTUP_INFO_BEGIN;
 EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_STARTUP_INFO;
 
 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 


-
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.phpp=sourceforgeCID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E CVS: libs/ecore kwo

2006-09-14 Thread The Rasterman
On Thu, 14 Sep 2006 18:43:31 +0200 Kim Woelders [EMAIL PROTECTED] babbled:

 Tilman Sauerbeck wrote:
  Carsten Haitzler [2006-09-14 07:37]:
  
 On Wed, 13 Sep 2006 13:45:12 -0400 (EDT) Enlightenment CVS
 [EMAIL PROTECTED] babbled:
 
 hmm - i would have done it per root window - not screen (reverse map the
 roots back to screen #)
  
  
  I felt _screen was the obvious choice since there's one selection atom
  per screen...
  
 I did consider making it
ecore_x_screen_is_composited(Ecore_X_Window win)
 meaning is the screen on which win resides composited?. Is it most 
 likely that the caller knows which screen he wants info about or that he 
 has a window on some screen he wants the info about? Dunno.
 Anyway, I ended up doing as tilman suggested, as it is the simple way. 
 Please change it to whatever is considered most appropriate :)

oh no - not the client window - the root window. mostly clients don't know what
screen they are on - they know what root window they created their window for -
they would need to do some extra lookups to get the screen #. :)

 /Kim
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E CVS: libs/ecore kwo

2006-09-13 Thread The Rasterman
On Wed, 13 Sep 2006 13:45:12 -0400 (EDT) Enlightenment CVS
[EMAIL PROTECTED] babbled:

hmm - i would have done it per root window - not screen (reverse map the roots
back to screen #)

 Enlightenment CVS committal
 
 Author  : kwo
 Project : e17
 Module  : libs/ecore
 
 Dir : e17/libs/ecore/src/lib/ecore_x
 
 
 Modified Files:
   Ecore_X.h ecore_x_netwm.c 
 
 
 Log Message:
 Requested by tilman.
 
 ===
 RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_x/Ecore_X.h,v
 retrieving revision 1.172
 retrieving revision 1.173
 diff -u -3 -r1.172 -r1.173
 --- Ecore_X.h 29 Aug 2006 22:37:07 -  1.172
 +++ Ecore_X.h 13 Sep 2006 17:45:12 -  1.173
 @@ -1515,6 +1515,8 @@
  EAPI void  ecore_x_damage_del(Ecore_X_Damage damage);
  EAPI void  ecore_x_damage_subtract(Ecore_X_Damage damage,
 Ecore_X_Region repair, Ecore_X_Region parts); 
 +EAPI int   ecore_x_screen_is_composited(int screen);
 +
  #ifdef __cplusplus
  }
  #endif
 ===
 RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_x/ecore_x_netwm.c,v
 retrieving revision 1.54
 retrieving revision 1.55
 diff -u -3 -r1.54 -r1.55
 --- ecore_x_netwm.c   7 Jun 2006 23:30:13 -   1.54
 +++ ecore_x_netwm.c   13 Sep 2006 17:45:12 -  1.55
 @@ -1638,3 +1638,22 @@
 if (info-wmclass) free(info-wmclass);
 free(info);
  }
 +
 +/*
 + * Is screen composited?
 + */
 +EAPI int
 +ecore_x_screen_is_composited(int screen)
 +{
 +   Ecore_X_Window  win;
 +   Ecore_X_Atomatom;
 +   charbuf[32];
 +
 +   snprintf(buf, sizeof(buf), _NET_WM_CM_S%d, screen);
 +   atom = XInternAtom(_ecore_x_disp, buf, True);
 +   if (atom == None) return 0;
 +
 +   win = XGetSelectionOwner(_ecore_x_disp, atom);
 +
 +   return win != None;
 +}
 
 
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 enlightenment-cvs mailing list
 enlightenment-cvs@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E CVS: libs/ecore kwo

2006-09-13 Thread Tilman Sauerbeck
Carsten Haitzler [2006-09-14 07:37]:
 On Wed, 13 Sep 2006 13:45:12 -0400 (EDT) Enlightenment CVS
 [EMAIL PROTECTED] babbled:
 
 hmm - i would have done it per root window - not screen (reverse map the roots
 back to screen #)

I felt _screen was the obvious choice since there's one selection atom
per screen...

Thanks Kim for putting it in :)

Regards,
Tilman

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?


pgpzfiWVmlANw.pgp
Description: PGP signature
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel