Subject: IceWM patch
To: None <tech-pkg@netbsd.org>
From: Richard Braun <syn@sceen.net>
List: tech-pkg
Date: 10/21/2004 17:19:27
--1yeeQ81UyVL57Vl7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi,
This little patch will correct the Numlock+Win95 keys problem found with
wm/icewm*.
$NetBSD$
--- src/wmmgr.cc.orig 2004-08-16 04:58:30.000000000 +0000
+++ src/wmmgr.cc
@@ -203,7 +203,7 @@ void YWindowManager::grabKeys() {
if (xapp->WinMask && win95keys) {
/// !!! fix -- allow apps to use remaining key combos (except sin=
gle press)
if (xapp->Win_L) {
-#if 0
+#if 1
grabKey(xapp->Win_L, 0);
#else
=20
@@ -214,7 +214,7 @@ void YWindowManager::grabKeys() {
#endif
}
if (xapp->Win_R) {
-#if 0
+#if 1
grabKey(xapp->Win_R, 0);
#else
KeyCode keycode =3D XKeysymToKeycode(xapp->display(), xapp->Wi=
n_R);
Hope it helps :-).
--=20
Richard Braun
--1yeeQ81UyVL57Vl7
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (NetBSD)
iD8DBQFBd9N/BlWsEPLYRi8RAkNhAJsHuioS+jpEpKvBJIqnD/Lgg/agpgCfWbd5
bdwulqCi/iTGL1ASmdl9dEc=
=7itr
-----END PGP SIGNATURE-----
--1yeeQ81UyVL57Vl7--