~cmiller/ubuntu/trusty/icewm/translations-cause-crash-lp447883

« back to all changes in this revision

Viewing changes to src/wmprog.cc

  • Committer: Bazaar Package Importer
  • Author(s): Eduard Bloch
  • Date: 2009-01-26 00:18:14 UTC
  • mfrom: (1.3.1 upstream) (5.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090126001814-ea5ceoy4uroruz72
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
706
706
bool StartMenu::handleKey(const XKeyEvent &key) {
707
707
    // If meta key, close the popup
708
708
    if (key.type == KeyPress) {
709
 
        KeySym k = XKeycodeToKeysym(xapp->display(), key.keycode, 0);
 
709
        KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0);
710
710
        int m = KEY_MODMASK(key.state);
711
711
 
712
712
        if (((k == xapp->Win_L) || (k == xapp->Win_R)) && m == 0) {