From owner-freebsd-ports Wed Aug 22 22:30:23 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D25F837B442 for ; Wed, 22 Aug 2001 22:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7N5U1B51540; Wed, 22 Aug 2001 22:30:01 -0700 (PDT) (envelope-from gnats) Received: from shumai.marcuscom.com (rdu57-28-046.nc.rr.com [66.57.28.46]) by hub.freebsd.org (Postfix) with ESMTP id DC5D537B409 for ; Wed, 22 Aug 2001 22:25:54 -0700 (PDT) (envelope-from marcus@shumai.marcuscom.com) Received: (from marcus@localhost) by shumai.marcuscom.com (8.11.3/8.11.3) id f7N5Pwm09296; Thu, 23 Aug 2001 01:25:58 -0400 (EDT) (envelope-from marcus) Message-Id: <200108230525.f7N5Pwm09296@shumai.marcuscom.com> Date: Thu, 23 Aug 2001 01:25:58 -0400 (EDT) From: marcus@marcuscom.com Reply-To: marcus@marcuscom.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/29973: Patch to re-enable root window clicks in sawfish Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 29973 >Category: ports >Synopsis: Patch to re-enable root window clicks in sawfish >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 22 22:30:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Joe Marcus Clarke >Release: FreeBSD 4.3-RELEASE i386 >Organization: MarcusCom, Inc. >Environment: System: FreeBSD shumai.marcuscom.com 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sun May 6 01:46:59 EDT 2001 root@shumai.marcuscom.com:/usr/src/sys/compile/SHUMAI i386 >Description: Since sawfish 1.0, mouse button 1 and 3 root window clicks were broken. This patch is taken from sawfish's CVS repository, and fixes that problem. >How-To-Repeat: Sawfish 1.0 integrated with Gnome's gmc can reproduce this problem. Prior to sawfish 1.0, all root window clicks worked as expected. >Fix: --- lisp/sawfish/wm/state/gnome.jl.orig Fri May 4 03:41:32 2001 +++ lisp/sawfish/wm/state/gnome.jl Wed Aug 8 02:31:28 2001 @@ -1,5 +1,5 @@ ;; gnome.jl -- minimal GNOME compliance -;; $Id: gnome.jl,v 1.72 2001/05/04 07:41:32 jsh Exp $ +;; $Id: gnome.jl,v 1.73 2001/07/24 04:37:14 jsh Exp $ ;; Copyright (C) 1999 John Harper @@ -321,7 +321,7 @@ (let ((event (event-name (current-event)))) ;; only proxy Click1 or Off events, and only if we don't have ;; a binding for an event that may follow in the same grab - (cond ((and (string-match "^(.*)-Click1$" event) + (cond ((and (string-match "^(.*)-Click\\d?$" event) (let ((mirror (lookup-event (expand-last-match "\\1-Off")))) (not (or (search-keymap mirror global-keymap) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message