Article View: comp.windows.x
Article #25044Re: Window managers grabbing buttons
From: faustus
Date: Thu, 05 Mar 1987 01:00
Date: Thu, 05 Mar 1987 01:00
14 lines
1306 bytes
1306 bytes
The solution that I used with an xterm that I wrote was to make the mouse buttons configurable. It is possible in the .Xdefaults file to have an option of the form "xterm.Button.ShiftMetaLeft: Cut". This way you can distribute the functionality of your buttons any way you like. It also makes it reasonable to have more functions than there are button combinations for, and let the user pick the ones he wants. Another possibility is to restrict the wm functions to certain contexts. For instance, an unshifted click inside an icon can always mean "open". For this to work the wm will have to be able to forward events it doesn't need to the appropriate client, which may be a lot of trouble and too much overhead... Wayne
Technical Details
Message-ID:
<1295@ucbcad.berkeley.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ucbvax!ucbcad!faustusReferences:
<8702211303.AA01735@gjetost.wisc.edu> <1024@cartan.Berkeley.EDU> <8227@decwrl.DEC.COM>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ucbvax!ucbcad!faustus From: faustus@ucbcad.UUCP Newsgroups: comp.windows.x Subject: Re: Window managers grabbing buttons Message-ID: <1295@ucbcad.berkeley.edu> Date: Wed, 4-Mar-87 20:00:22 EST Article-I.D.: ucbcad.1295 Posted: Wed Mar 4 20:00:22 1987 Date-Received: Fri, 6-Mar-87 05:40:50 EST References: <8702211303.AA01735@gjetost.wisc.edu> <1024@cartan.Berkeley.EDU> <8227@decwrl.DEC.COM> Organization: CAD Group, U.C. Berkeley Lines: 14