From 750e902568c35d4fbefdcb69e1782d6e20a30948 Mon Sep 17 00:00:00 2001 From: "dinglis%qnx.com" Date: Wed, 21 Nov 2001 18:53:23 +0000 Subject: [PATCH] -not part of build- added NOTIFY flag to drawing region. --- widget/src/photon/nsWidget.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/widget/src/photon/nsWidget.cpp b/widget/src/photon/nsWidget.cpp index 9416e70ece49..19e739f99f91 100644 --- a/widget/src/photon/nsWidget.cpp +++ b/widget/src/photon/nsWidget.cpp @@ -310,7 +310,15 @@ NS_METHOD nsWidget::Show( PRBool bState ) { PtSetResources(mWidget, 1, &arg); EnableDamage( mWidget, PR_TRUE ); PtDamageWidget(mWidget); - } +#ifdef Ph_REGION_NOTIFY + PhRegion_t region; + PtWidget_t *mWgt; + mWgt = (PtWidget_t*) GetNativeData( NS_NATIVE_WIDGET ); + region.flags = Ph_REGION_NOTIFY | Ph_FORCE_BOUNDARY; + region.rid = PtWidgetRid(mWgt); + PhRegionChange(Ph_REGION_FLAGS, 0, ®ion, NULL, NULL); +#endif + } else { PtWidgetToFront( mWidget ); // EnableDamage( mWidget, PR_FALSE );