diff --git a/configure.ac b/configure.ac index c82e2e86..c21cf9cf 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.60) -AC_INIT(libminigui, 5.0.0) +AC_INIT(libminigui, 5.0.1) AC_CONFIG_SRCDIR(src/main/main.c) dnl Set various version strings - taken gratefully from the SDL sources @@ -16,9 +16,9 @@ dnl Set various version strings - taken gratefully from the SDL sources # MINIGUI_MAJOR_VERSION=5 MINIGUI_MINOR_VERSION=0 -MINIGUI_MICRO_VERSION=0 -MINIGUI_INTERFACE_AGE=0 -MINIGUI_BINARY_AGE=0 +MINIGUI_MICRO_VERSION=1 +MINIGUI_INTERFACE_AGE=1 +MINIGUI_BINARY_AGE=1 MINIGUI_VERSION=$MINIGUI_MAJOR_VERSION.$MINIGUI_MINOR_VERSION.$MINIGUI_MICRO_VERSION AC_SUBST(MINIGUI_MAJOR_VERSION) diff --git a/src/kernel/desktop.c b/src/kernel/desktop.c index a35a4f9c..1fb1d86c 100644 --- a/src/kernel/desktop.c +++ b/src/kernel/desktop.c @@ -188,7 +188,7 @@ static BOOL subtract_rgn_by_node (PCLIPRGN region, const ZORDERINFO* zi, else SubtractClipRect(region, &(node->rc)); - return !IsEmptyClipRgn(region); + return TRUE; // !IsEmptyClipRgn(region); We must return TRUE for this callback. } #else /* not defined _MGSCHEMA_COMPOSITING */ @@ -505,8 +505,13 @@ static BOOL _cb_update_znode (void* context, { const RECT* rc = (RECT*)context; + _DBG_PRINTF ("Checking window (%s), visibility: %s, referred: %s\n", znode->caption, + (znode->flags & ZOF_VISIBLE)? "TRUE" : "FALSE", + (znode->flags & ZOF_IF_REFERENCE)? "TRUE" : "FALSE"); + if (znode->flags & ZOF_VISIBLE && znode->flags & ZOF_IF_REFERENCE) { + _DBG_PRINTF ("Widnow (%s) will be updated\n", znode->caption); update_client_window (znode, rc); znode->flags &= ~ZOF_IF_REFERENCE; return TRUE;