summaryrefslogtreecommitdiff
path: root/xc/lib/Xt/Event.c
diff options
context:
space:
mode:
authordawes <dawes>2001-03-19 17:45:15 +0000
committerdawes <dawes>2001-03-19 17:45:15 +0000
commit7bf7bda7738b2029bc71015f9ea08304c15e7240 (patch)
tree95c06cadb9f7fdb6d456eafb2cb015653c617724 /xc/lib/Xt/Event.c
parent856c96701fa6c514447af12b4b881f762e59767c (diff)
Import of XFree86 4.0.99.1X_4_0_99_1
Diffstat (limited to 'xc/lib/Xt/Event.c')
-rw-r--r--xc/lib/Xt/Event.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xc/lib/Xt/Event.c b/xc/lib/Xt/Event.c
index e0210f487..6059685d2 100644
--- a/xc/lib/Xt/Event.c
+++ b/xc/lib/Xt/Event.c
@@ -1,4 +1,4 @@
-/* $TOG: Event.c /main/153 1998/02/06 13:21:46 kaleb $ */
+/* $Xorg: Event.c,v 1.4 2000/08/17 19:46:11 cpqbld Exp $ */
/***********************************************************
Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
@@ -663,7 +663,7 @@ void XtUnregisterDrawable(display, drawable)
return;
}
idx = WWHASH(tab, window);
- if (entry = tab->entries[idx]) {
+ if ((entry = tab->entries[idx])) {
if (entry != widget) {
rehash = WWREHASHVAL(tab, window);
do {
@@ -1435,7 +1435,7 @@ Boolean _XtDefaultDispatcher(event)
if ((grabList == NULL ||_XtOnGrabList(dspWidget, grabList))
&& XtIsSensitive(dspWidget)) {
- if (was_filtered = XFilterEvent(event, XtWindow(dspWidget))) {
+ if ((was_filtered = XFilterEvent(event, XtWindow(dspWidget)))) {
/* If this event activated a device grab, release it. */
_XtUngrabBadGrabs(event, widget, mask, pdi);
was_dispatched = True;