From: caro Date: Sun, 24 Jul 2011 00:23:34 +0000 (+0000) Subject: link xim module against ecore_x. This patch fixes compilation on mac os x X-Git-Tag: 2.0_alpha~180^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bb45091eb93a021fde1f83b61f18af408d321218;p=framework%2Fuifw%2Fecore.git link xim module against ecore_x. This patch fixes compilation on mac os x git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61625 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/ecore_evas/ecore_evas_win32.c b/src/lib/ecore_evas/ecore_evas_win32.c index bf1353a..703513a 100644 --- a/src/lib/ecore_evas/ecore_evas_win32.c +++ b/src/lib/ecore_evas/ecore_evas_win32.c @@ -316,8 +316,11 @@ _ecore_evas_win32_event_window_configure(void *data __UNUSED__, int type __UNUSE } if (ee->prop.avoid_damage) { + int pdam; + + pdam = ecore_evas_avoid_damage_get(ee); ecore_evas_avoid_damage_set(ee, 0); - ecore_evas_avoid_damage_set(ee, 1); + ecore_evas_avoid_damage_set(ee, pdam); } /* if (ee->shaped) */ /* _ecore_evas_win32_region_border_resize(ee); */ diff --git a/src/lib/ecore_win32/ecore_win32.c b/src/lib/ecore_win32/ecore_win32.c index 1c20e2f..aca3d78 100644 --- a/src/lib/ecore_win32/ecore_win32.c +++ b/src/lib/ecore_win32/ecore_win32.c @@ -394,6 +394,7 @@ _ecore_win32_window_procedure(HWND window, case WM_WINDOWPOSCHANGED: INF("position changed window message"); _ecore_win32_event_handle_configure_notify(data); + _ecore_win32_event_handle_expose(data); return 0; case WM_ENTERSIZEMOVE: INF("enter size move window message"); diff --git a/src/modules/immodules/xim/Makefile.am b/src/modules/immodules/xim/Makefile.am index 9e3d074..7d4718f 100644 --- a/src/modules/immodules/xim/Makefile.am +++ b/src/modules/immodules/xim/Makefile.am @@ -12,6 +12,8 @@ AM_CPPFLAGS = \ -I$(top_builddir)/src/lib/ecore_imf \ -DPACKAGE_LIB_DIR=\"$(libdir)\" \ -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ +@x_cflags@ \ +@XCB_CFLAGS@ \ @EVAS_CFLAGS@ \ @EINA_CFLAGS@ @@ -20,7 +22,6 @@ pkgdir = $(libdir)/ecore/immodules pkg_LTLIBRARIES = xim.la xim_la_SOURCES = \ ecore_imf_xim.c -xim_la_LIBADD = $(top_builddir)/src/lib/ecore_imf/libecore_imf.la +xim_la_LIBADD = $(top_builddir)/src/lib/ecore_imf/libecore_imf.la $(top_builddir)/src/lib/ecore_x/libecore_x.la xim_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version xim_la_LIBTOOLFLAGS = --tag=disable-static -xim_la_DEPENDENCIES = $(top_builddir)/config.h