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

« back to all changes in this revision

Viewing changes to src/yscrollbar.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:
692
692
 
693
693
bool YScrollBar::handleScrollKeys(const XKeyEvent &key) {
694
694
    if (key.type == KeyPress) {
695
 
        KeySym k = XKeycodeToKeysym(xapp->display(), key.keycode, 0);
 
695
        KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0);
696
696
        int m = KEY_MODMASK(key.state);
697
697
 
698
698
        switch (k) {