[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [E-devel] E CVS: engage handyande



On Wed,  9 Aug 2006 17:38:13 -0400 (EDT) Enlightenment CVS
<noreply@cvs.enlightenment.org> wrote:

> Enlightenment CVS committal
> 
> Author  : handyande
> Project : misc
> Module  : engage
> 
> Dir     : misc/engage/src
> 
> 
> Modified Files:
> 	config.c dock.c engage.h window.c 
> 
> 
> Log Message:
> Composite patch from Hannes Janetzek - thanks very much :)

> ===================================================================
> RCS file: /cvs/e/misc/engage/src/window.c,v
> retrieving revision 1.31
> retrieving revision 1.32
> diff -u -3 -r1.31 -r1.32
> --- window.c	13 Jun 2005 18:55:14 -0000	1.31
> +++ window.c	9 Aug 2006 21:38:13 -0000	1.32
> @@ -6,6 +6,8 @@
>  #include <X11/Xlib.h>
>  #include <X11/Xatom.h>
>  #include <X11/Xutil.h>
> +#include <X11/extensions/shape.h>
> +
>  #ifdef XINERAMA
>  #include <X11/extensions/Xinerama.h>
>  #endif
> @@ -32,6 +34,22 @@
>  static void     handle_menu_draw(void *data, Evas * e, Evas_Object *
> obj, void *event);
>  static void     od_window_set_hidden(int hidden);
> +static void 	window_input_shape_rectangle_set(Ecore_X_Window
> win, int x, int y, int w, int h); +
> +
> +static void
> +window_input_shape_rectangle_set(Ecore_X_Window win, int x, int y,
> int w, int h) +{
> +   XRectangle rect;
> +   
> +   rect.x = x;
> +   rect.y = y;
> +   rect.width = w;
> +   rect.height = h;
> +   XShapeCombineRectangles(ecore_x_display_get(), win, ShapeInput,
> 0, 0, &rect, 1, ShapeSet, Unsorted); +}

window.c: In function `window_input_shape_rectangle_set':
window.c:49: error: `ShapeInput' undeclared (first use in this function)
window.c:49: error: (Each undeclared identifier is reported only once
window.c:49: error: for each function it appears in.)

At least on my SuSE 9.3 Pro.

Attachment: signature.asc
Description: PGP signature