Subject: pkg/11732: wm2-4 bug on exiting
To: None <gnats-bugs@gnats.netbsd.org>
From: Joel Reicher <joel@panacea.null.org>
List: netbsd-bugs
Date: 12/13/2000 16:34:14
>Number:         11732
>Category:       pkg
>Synopsis:       wm2-4 bug on exiting
>Confidential:   yes
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 13 16:34:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Joel Reicher
>Release:        1.5	<NetBSD-current source date>
>Organization:
	
>Environment:
	
System: NetBSD cindy.panacea.null.org 1.5 NetBSD 1.5 (GENERIC) #1: Sun Nov 19 21:42:11 MET 2000 fvdl@sushi:/work/trees/netbsd-1-5/sys/arch/i386/compile/GENERIC i386


>Description:
When trying to exit wm2-4 an extra event is needed, such as an arbitrary
mouse click.
>How-To-Repeat:
Run the window manager, then exit it. :)
>Fix:

--- Buttons.C.orig	Fri Mar 21 22:12:30 1997
+++ Buttons.C	Thu Dec 14 11:26:48 2000
@@ -300,7 +300,7 @@
     }
 
     if (selecting == n-1 && allowExit) {
-	m_signalled = True;
+	m_looping = False;
 	return;
     }
 
>Release-Note:
>Audit-Trail:
>Unformatted: