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

« back to all changes in this revision

Viewing changes to src/aaddressbar.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:
24
24
 
25
25
bool AddressBar::handleKey(const XKeyEvent &key) {
26
26
    if (key.type == KeyPress) {
27
 
        KeySym k = XKeycodeToKeysym(xapp->display(), key.keycode, 0);
 
27
        KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0);
28
28
        int m = KEY_MODMASK(key.state);
29
29
 
30
30
        if (k == XK_KP_Enter || k == XK_Return) {