Your message dated Sat, 28 Oct 2006 14:18:19 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#391212: fixed in icewm 1.2.28-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: icewm
Version: 1.2.28-1
Severity: wishlist

Hi Eduard,

can you apply this patch to icewm? It adds AltGr as a key symbol. This
makes it possible to use AltGr+Tab as KeySysSwitchNext. This patch was
posted on the ice-user mailinglist and I did not encounter any problems.

#v+
diff -u -r icewm-1.2.28/src/wmswitch.cc icewm-1.2.28~/src/wmswitch.cc
--- icewm-1.2.28/src/wmswitch.cc        2006-09-10 18:12:11.000000000 +0200
+++ icewm-1.2.28~/src/wmswitch.cc       2006-10-05 01:43:54.402483249 +0200
@@ -592,7 +592,7 @@
 void SwitchWindow::begin(bool zdown, int mods) {
     modsDown = mods & (xapp->AltMask | xapp->MetaMask |
                        xapp->HyperMask | xapp->SuperMask |
-                       ControlMask);
+                       xapp->ModeSwitchMask | ControlMask);
 
     if (isUp) {
         cancelPopup();
@@ -721,14 +721,17 @@
         k == XK_Alt_L     || k == XK_Alt_R     ||
         k == XK_Meta_L    || k == XK_Meta_R    ||
         k == XK_Super_L   || k == XK_Super_R   ||
-        k == XK_Hyper_L   || k == XK_Hyper_R)
+        k == XK_Hyper_L   || k == XK_Hyper_R   ||
+        k == XK_ISO_Level3_Shift       || k == XK_Mode_switch)
         return true;
 
     return false;
 }
 
 bool SwitchWindow::modDown(int mod) {
-    int m = mod & (xapp->AltMask | xapp->MetaMask | xapp->HyperMask | 
xapp->SuperMask | ControlMask);
+    int m = mod & (xapp->AltMask | xapp->MetaMask | xapp->HyperMask |
+                  xapp->SuperMask | xapp->ModeSwitchMask | ControlMask);
 
     if ((m & modsDown) != modsDown)
         return false;
diff -u -r icewm-1.2.28/src/yconfig.cc icewm-1.2.28~/src/yconfig.cc
--- icewm-1.2.28/src/yconfig.cc 2006-09-10 18:12:10.000000000 +0200
+++ icewm-1.2.28~/src/yconfig.cc        2006-10-05 01:43:59.674483249 +0200
@@ -183,6 +183,9 @@
         } else if (strncmp("Hyper+", arg, 6) == 0) {
             *mod |= kfHyper;
             arg += 6;
+        } else if (strncmp("AltGr+", arg, 6) == 0) {
+            *mod |= kfAltGr;
+            arg += 6;
         } else
             break;
     }
diff -u -r icewm-1.2.28/src/yconfig.h icewm-1.2.28~/src/yconfig.h
--- icewm-1.2.28/src/yconfig.h  2006-09-10 18:12:10.000000000 +0200
+++ icewm-1.2.28~/src/yconfig.h 2006-10-05 01:43:57.234483249 +0200
@@ -63,6 +63,7 @@
 #define kfMeta   8
 #define kfSuper  16
 #define kfHyper  32
+#define kfAltGr  64
 
 #ifdef GENPREF
 ///typedef unsigned int KeySym;
diff -u -r icewm-1.2.28/src/ywindow.cc icewm-1.2.28~/src/ywindow.cc
--- icewm-1.2.28/src/ywindow.cc 2006-09-10 18:12:11.000000000 +0200
+++ icewm-1.2.28~/src/ywindow.cc        2006-10-05 01:43:59.938483249 +0200
@@ -1616,13 +1616,16 @@
        m |= xapp->SuperMask;
     if (vm & kfHyper)
        m |= xapp->HyperMask;
+    if (vm & kfAltGr)
+        m |= xapp->ModeSwitchMask;
 
     MSG(("grabVKey %d %d %d", key, vm, m));
     if (key != 0 && (vm == 0 || m != 0)) {
         if ((!(vm & kfMeta) || xapp->MetaMask) &&
             (!(vm & kfAlt) || xapp->AltMask) &&
            (!(vm & kfSuper) || xapp->SuperMask) &&
-            (!(vm & kfHyper) || xapp->HyperMask))
+            (!(vm & kfHyper) || xapp->HyperMask) &&
+            (!(vm & kfAltGr) || xapp->ModeSwitchMask))
         {
             grabKey(key, m);
         }
@@ -1639,6 +1642,8 @@
                 m |= xapp->SuperMask;
             if (vm & kfHyper)
                 m |= xapp->HyperMask;
+            if (vm & kfAltGr)
+                m |= xapp->ModeSwitchMask;
             grabKey(key, m);
         }
     }
@@ -1659,6 +1664,8 @@
        m |= xapp->SuperMask;
     if (vm & kfHyper)
        m |= xapp->HyperMask;
+    if (vm & kfAltGr)
+       m |= xapp->ModeSwitchMask;
 
     MSG(("grabVButton %d %d %d", button, vm, m));
 
@@ -1666,7 +1673,8 @@
         if ((!(vm & kfMeta) || xapp->MetaMask) &&
             (!(vm & kfAlt) || xapp->AltMask) &&
            (!(vm & kfSuper) || xapp->SuperMask) &&
-            (!(vm & kfHyper) || xapp->HyperMask))
+            (!(vm & kfHyper) || xapp->HyperMask) &&
+            (!(vm & kfAltGr) || xapp->ModeSwitchMask))
         {
             grabButton(button, m);
         }
@@ -1683,6 +1691,8 @@
                 m |= xapp->SuperMask;
             if (vm & kfHyper)
                 m |= xapp->HyperMask;
+            if (vm & kfAltGr)
+                m |= xapp->ModeSwitchMask;
             grabButton(button, m);
         }
     }
@@ -1712,6 +1722,8 @@
        vm |= kfSuper;
     if (m1 & xapp->HyperMask)
        vm |= kfHyper;
+    if (m1 & xapp->ModeSwitchMask)
+       vm |= kfAltGr;
 
     return vm;
 }
diff -u -r icewm-1.2.28/src/yxapp.cc icewm-1.2.28~/src/yxapp.cc
--- icewm-1.2.28/src/yxapp.cc   2006-09-10 18:12:10.000000000 +0200
+++ icewm-1.2.28~/src/yxapp.cc  2006-10-05 01:43:59.202483249 +0200
@@ -381,7 +381,7 @@
                     SuperMask = (1 << m);
                 if ((kc == XK_Hyper_L || kc == XK_Hyper_R) && HyperMask == 0)
                     HyperMask = (1 << m);
-                if (kc == XK_Mode_switch && ModeSwitchMask == 0)
+                if ((kc == XK_Mode_switch || kc == XK_ISO_Level3_Shift) && 
ModeSwitchMask == 0)
                     ModeSwitchMask = (1 << m);
             }
 
@@ -417,6 +417,9 @@
     if (AltMask == 0)
         AltMask = Mod1Mask;
 
+    if (ModeSwitchMask & (AltMask | MetaMask | SuperMask | HyperMask))
+       ModeSwitchMask = 0;
+
     PRECONDITION(xapp->AltMask != 0);
     PRECONDITION(xapp->AltMask != ShiftMask);
     PRECONDITION(xapp->AltMask != ControlMask);
#v-

Bye, Jörg.

-- System Information:
Debian Release: unstable/experimental
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages icewm depends on:
ii  icewm-common            1.2.28-1         wonderful Win95-OS/2-Motif-like wi
ii  imlib11                 1.9.14-31        Imlib is an imaging library for X 
ii  libaudiofile0           0.2.6-6          Open-source version of SGI's audio
ii  libc6                   2.3.6.ds1-4      GNU C Library: Shared libraries
ii  libesd0                 0.2.36-3         Enlightened Sound Daemon - Shared 
ii  libfontconfig1          2.4.1-2          generic font configuration library
ii  libfreetype6            2.2.1-5          FreeType 2 font engine, shared lib
ii  libgcc1                 1:4.2-20060709-1 GCC support library
ii  libice6                 1:1.0.1-2        X11 Inter-Client Exchange library
ii  libjpeg62               6b-13            The Independent JPEG Group's JPEG 
ii  libpng12-0              1.2.8rel-5.2     PNG library - runtime
ii  libsm6                  1:1.0.1-3        X11 Session Management library
ii  libtiff4                3.8.2-6          Tag Image File Format (TIFF) libra
ii  libungif4g              4.1.4-4          shared library for GIF images
ii  libx11-6                2:1.0.0-9        X11 client-side library
ii  libxext6                1:1.0.1-2        X11 miscellaneous extension librar
ii  libxft2                 2.1.8.2-8        FreeType-based font drawing librar
ii  libxinerama1            1:1.0.1-4.1      X11 Xinerama extension library
ii  libxrandr2              2:1.1.0.2-4      X11 RandR extension library
ii  libxrender1             1:0.9.1-3        X Rendering Extension client libra
ii  zlib1g                  1:1.2.3-13       compression library - runtime

icewm recommends no packages.

-- no debconf information

Attachment: pgptXWpAUa9r0.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: icewm
Source-Version: 1.2.28-2

We believe that the bug you reported is fixed in the latest version of
icewm, which is due to be installed in the Debian FTP archive:

icewm-common_1.2.28-2_amd64.deb
  to pool/main/i/icewm/icewm-common_1.2.28-2_amd64.deb
icewm-experimental_1.2.28-2_amd64.deb
  to pool/main/i/icewm/icewm-experimental_1.2.28-2_amd64.deb
icewm-gnome-support_1.2.28-2_amd64.deb
  to pool/main/i/icewm/icewm-gnome-support_1.2.28-2_amd64.deb
icewm-lite_1.2.28-2_amd64.deb
  to pool/main/i/icewm/icewm-lite_1.2.28-2_amd64.deb
icewm_1.2.28-2.diff.gz
  to pool/main/i/icewm/icewm_1.2.28-2.diff.gz
icewm_1.2.28-2.dsc
  to pool/main/i/icewm/icewm_1.2.28-2.dsc
icewm_1.2.28-2_amd64.deb
  to pool/main/i/icewm/icewm_1.2.28-2_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Eduard Bloch <[EMAIL PROTECTED]> (supplier of updated icewm package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 28 Oct 2006 21:35:44 +0200
Source: icewm
Binary: icewm icewm-lite icewm-gnome-support icewm-common icewm-experimental
Architecture: source amd64
Version: 1.2.28-2
Distribution: unstable
Urgency: medium
Maintainer: Eduard Bloch <[EMAIL PROTECTED]>
Changed-By: Eduard Bloch <[EMAIL PROTECTED]>
Description: 
 icewm      - wonderful Win95-OS/2-Motif-like window manager
 icewm-common - wonderful Win95-OS/2-Motif-like window manager
 icewm-experimental - wonderful Win95-OS/2-Motif-like window manager
 icewm-gnome-support - GNOME support files for IceWM
 icewm-lite - wonderful Win95-OS/2-Motif-like window manager
Closes: 391212 392936 392936
Changes: 
 icewm (1.2.28-2) unstable; urgency=medium
 .
   * blade_fixes.dpatch: inofficial workarounds, got no upstream reaction so
     far:
     - break an infinite function call loop when procession application exiting
       events, segfaulting icewm with qt-4.2 and presumably segfaulting
       icewmtray in some situations (closes: #392936, #392936)
     - adaptive start button pixmap selection
   * altgr_binding_support.dpatch:  (based on work from Joerg Sommer)
     - adds AltGR symbols to possible modifiers, (closes: #391212)
Files: 
 c4533d20c05b5b3444de6e1f1b4221de 995 x11 optional icewm_1.2.28-2.dsc
 4b05b7a507c2cac9bfb3d0d4331bdda0 109152 x11 optional icewm_1.2.28-2.diff.gz
 a17580045f70399ff31667f6684e4f6f 448176 x11 optional 
icewm-common_1.2.28-2_amd64.deb
 b1e7e4193b3773b05dc462266ea4475a 778876 x11 optional icewm_1.2.28-2_amd64.deb
 c71032e76d442be34aba75554f33b3c8 30538 gnome optional 
icewm-gnome-support_1.2.28-2_amd64.deb
 a10cd0b3997dd78c64e323a17b91cd6b 448768 x11 optional 
icewm-lite_1.2.28-2_amd64.deb
 38423cc34dbd21d721eb603533970a60 2522 x11 optional 
icewm-experimental_1.2.28-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFQ7Gd4QZIHu3wCMURAm36AKCE8Z+frJdQK2kV4RB9FnmDFiFKnwCdEFLN
QX2eQjwgdx60fXKLc9u0xzE=
=5oI1
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to