From 0852cb0bbe1772282e53696dff69dcd36a7f2c92 Mon Sep 17 00:00:00 2001 From: "ramiro%netscape.com" Date: Mon, 19 Jul 1999 19:14:16 +0000 Subject: [PATCH] Respond to button motion. Fixes selection. --- widget/src/xlib/nsWindow.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/widget/src/xlib/nsWindow.cpp b/widget/src/xlib/nsWindow.cpp index 5b0da91459f1..0ebcaa129b1b 100644 --- a/widget/src/xlib/nsWindow.cpp +++ b/widget/src/xlib/nsWindow.cpp @@ -79,14 +79,15 @@ nsWindow::GetEventMask() long event_mask; event_mask = - StructureNotifyMask | - ExposureMask | + ButtonMotionMask | ButtonPressMask | ButtonReleaseMask | - PointerMotionMask | + ExposureMask | + FocusChangeMask | KeyPressMask | KeyReleaseMask | - FocusChangeMask | + PointerMotionMask | + StructureNotifyMask | VisibilityChangeMask; return event_mask; }