On Wed, 23 Dec 2009, Enlightenment SVN wrote:
> Log:
> Add atoms/props/functions to set/get if a window is a 'illume quickpanel'.
> Fix some formatting.
>
>
> Author: devilhorns
> Date: 2009-12-23 07:26:19 -0800 (Wed, 23 Dec 2009)
> New Revision: 44692
>
> Modified:
> trunk/ecore/src/lib/ecore_x/Ecore_X.h
> trunk/ecore/src/lib/ecore_x/Ecore_X_Atoms.h
> trunk/ecore/src/lib/ecore_x/ecore_x_atoms_decl.h
> trunk/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c
> trunk/ecore/src/lib/ecore_x/xlib/ecore_x_e.c
>
> Modified: trunk/ecore/src/lib/ecore_x/Ecore_X.h
> ===================================================================
> --- trunk/ecore/src/lib/ecore_x/Ecore_X.h 2009-12-23 14:22:04 UTC (rev
> 44691)
> +++ trunk/ecore/src/lib/ecore_x/Ecore_X.h 2009-12-23 15:26:19 UTC (rev
> 44692)
> @@ -1024,9 +1024,9 @@
> #define ECORE_X_WINDOW_LAYER_ABOVE 6
>
> /* Property list operations */
> -#define ECORE_X_PROP_LIST_REMOVE 0
> -#define ECORE_X_PROP_LIST_ADD 1
> -#define ECORE_X_PROP_LIST_TOGGLE 2
> +#define ECORE_X_PROP_LIST_REMOVE 0
> +#define ECORE_X_PROP_LIST_ADD 1
> +#define ECORE_X_PROP_LIST_TOGGLE 2
why removing the alignment ? we usually align the values of defined, and
it is easier to read, imho
Vincent
>
> EAPI int ecore_x_init(const char *name);
> EAPI int ecore_x_shutdown(void);
> @@ -1317,7 +1317,6 @@
> EAPI char *ecore_x_atom_name_get(Ecore_X_Atom atom);
>
>
> -
> EAPI void ecore_x_icccm_init(void);
> EAPI void ecore_x_icccm_state_set(Ecore_X_Window win,
> Ecore_X_Window_State_Hint state);
> EAPI Ecore_X_Window_State_Hint ecore_x_icccm_state_get(Ecore_X_Window win);
> @@ -1551,8 +1550,9 @@
> EAPI int ecore_x_e_illume_drag_locked_get(Ecore_X_Window win);
> EAPI void ecore_x_e_illume_drag_start_send(Ecore_X_Window win);
> EAPI void ecore_x_e_illume_drag_end_send(Ecore_X_Window win);
> +EAPI void ecore_x_e_illume_quickpanel_set(Ecore_X_Window win,
> unsigned int is_quickpanel);
> +EAPI int ecore_x_e_illume_quickpanel_get(Ecore_X_Window win);
>
> -
> EAPI void ecore_x_xinerama_query_screens_prefetch(void);
> EAPI void ecore_x_xinerama_query_screens_fetch(void);
> EAPI int ecore_x_xinerama_screen_count_get(void);
>
> Modified: trunk/ecore/src/lib/ecore_x/Ecore_X_Atoms.h
> ===================================================================
> --- trunk/ecore/src/lib/ecore_x/Ecore_X_Atoms.h 2009-12-23 14:22:04 UTC
> (rev 44691)
> +++ trunk/ecore/src/lib/ecore_x/Ecore_X_Atoms.h 2009-12-23 15:26:19 UTC
> (rev 44692)
> @@ -214,5 +214,6 @@
> EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_DRAG_LOCKED;
> EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_DRAG_START;
> EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_DRAG_END;
> +EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_QUICKPANEL;
>
> #endif /* _ECORE_X_ATOMS_H */
>
> Modified: trunk/ecore/src/lib/ecore_x/ecore_x_atoms_decl.h
> ===================================================================
> --- trunk/ecore/src/lib/ecore_x/ecore_x_atoms_decl.h 2009-12-23 14:22:04 UTC
> (rev 44691)
> +++ trunk/ecore/src/lib/ecore_x/ecore_x_atoms_decl.h 2009-12-23 15:26:19 UTC
> (rev 44692)
> @@ -237,4 +237,4 @@
> EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_DRAG_LOCKED = 0;
> EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_DRAG_START = 0;
> EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_DRAG_END = 0;
> -
> +EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_QUICKPANEL = 0;
>
> Modified: trunk/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c
> ===================================================================
> --- trunk/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c 2009-12-23 14:22:04 UTC
> (rev 44691)
> +++ trunk/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c 2009-12-23 15:26:19 UTC
> (rev 44692)
> @@ -226,7 +226,8 @@
> { "_E_ILLUME_DRAG", &ECORE_X_ATOM_E_ILLUME_DRAG },
> { "_E_ILLUME_DRAG_LOCKED", &ECORE_X_ATOM_E_ILLUME_DRAG_LOCKED },
> { "_E_ILLUME_DRAG_START", &ECORE_X_ATOM_E_ILLUME_DRAG_START },
> - { "_E_ILLUME_DRAG_END", &ECORE_X_ATOM_E_ILLUME_DRAG_END }
> + { "_E_ILLUME_DRAG_END", &ECORE_X_ATOM_E_ILLUME_DRAG_END },
> + { "_E_ILLUME_QUICKPANEL", &ECORE_X_ATOM_E_ILLUME_QUICKPANEL }
> };
> Atom *atoms;
> char **names;
>
> Modified: trunk/ecore/src/lib/ecore_x/xlib/ecore_x_e.c
> ===================================================================
> --- trunk/ecore/src/lib/ecore_x/xlib/ecore_x_e.c 2009-12-23 14:22:04 UTC
> (rev 44691)
> +++ trunk/ecore/src/lib/ecore_x/xlib/ecore_x_e.c 2009-12-23 15:26:19 UTC
> (rev 44692)
> @@ -192,7 +192,8 @@
> {
> unsigned int val = 0;
>
> - if (!ecore_x_window_prop_card32_get(win,
> ECORE_X_ATOM_E_ILLUME_CONFORMANT, &val, 1))
> + if (!ecore_x_window_prop_card32_get(win, ECORE_X_ATOM_E_ILLUME_CONFORMANT,
> + &val, 1))
> return 0;
> return val;
> }
> @@ -291,3 +292,21 @@
> ECORE_X_EVENT_MASK_WINDOW_CONFIGURE,
> 1, 0, 0, 0, 0);
> }
> +
> +EAPI void
> +ecore_x_e_illume_quickpanel_set(Ecore_X_Window win, unsigned int
> is_quickpanel)
> +{
> + ecore_x_window_prop_card32_set(win, ECORE_X_ATOM_E_ILLUME_QUICKPANEL,
> + &is_quickpanel, 1);
> +}
> +
> +EAPI int
> +ecore_x_e_illume_quickpanel_get(Ecore_X_Window win)
> +{
> + unsigned int val = 0;
> +
> + if (!ecore_x_window_prop_card32_get(win, ECORE_X_ATOM_E_ILLUME_QUICKPANEL,
> + &val, 1))
> + return 0;
> + return val;
> +}
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> enlightenment-svn mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>
>
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel