openbsd-ports/x11/qt3/patches/patch-src_widgets_qscrollview_cpp

14 lines
523 B
Plaintext
Raw Normal View History

$OpenBSD: patch-src_widgets_qscrollview_cpp,v 1.4 2007/03/31 22:49:46 espie Exp $
--- src/widgets/qscrollview.cpp.orig Thu Oct 19 16:25:35 2006
+++ src/widgets/qscrollview.cpp Sat Mar 31 14:51:25 2007
@@ -1550,6 +1550,9 @@ bool QScrollView::eventFilter( QObject *obj, QEvent *e
2004-07-22 19:03:08 -04:00
case QEvent::LayoutHint:
d->autoResizeHint(this);
break;
+ case QEvent::WindowActivate:
+ case QEvent::WindowDeactivate:
+ return TRUE;
default:
break;
}