Re: [Sawfish] alt-button-1 not passed through to application |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/sawfish Archives
]
- To: sawfish@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [Sawfish] alt-button-1 not passed through to application
- From: Teika Kazura <teika@xxxxxxxxxxx>
- Date: Mon, 22 Aug 2011 17:49:46 +0900 (JST)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=T3d4h1iGhkvcv1BwHiBvF/ppzJfSfxXcNHuoZiSj3MvnOcw6Tj3O5rlKiDOiiaFT9w+ngerD+zEBd5MI4JYe0foI+4VbacO6p6b06pf1hPafWyyMmI5sozyDCvK13lBwwpfelK8ixrtLZVrrzQzK0l6QFDHMgBV3jQdHZi8eeh4=; h=Date:Message-Id:To:Subject:From:In-Reply-To:References:Mime-Version:Content-Type:Content-Transfer-Encoding;
Oops, I'm sorry for my last reply which misunderstood your issue.
First the theory: In general, when an input event is "consumed",
then it's not propagated any more, so in this case, not sent to the
underlying window. If metacity always sends events, it's a bug,
too, in the opposite direction.
Sorry that it's not configurable in Sawfish, but there's a better
workaround; put the following in your ~/.sawfish/rc:
------------------------------------------------------------------------
(define (move-win-int-send w)
(require 'move-resize)
(move-window-interactively w)
(synthesize-event "Alt-Button1-Click" w))
(define-command 'move-win-int-send move-win-int-send
#:spec "%W")
(bind-keys window-keymap "Alt-Button1-Move" 'move-win-int-send)
------------------------------------------------------------------------
Then Alt-Button1-click and release are always sent to the client.
Teika (Teika kazura)
---
--
Sawfish ML