~ubuntu-branches/ubuntu/utopic/rxvt-unicode/utopic-proposed

« back to all changes in this revision

Viewing changes to src/command.C

  • Committer: Package Import Robot
  • Author(s): Ryan Kavanagh
  • Date: 2012-01-30 06:35:19 UTC
  • mfrom: (1.1.21)
  • Revision ID: package-import@ubuntu.com-20120130063519-ficcgzfi0iy5kvmt
Tags: 9.15-1
* Imported Upstream version 9.15
  - Update people's copyright years
  - Refresh patches
* Enable startup-notification for rxvt-unicode and rxvt-unicode-256color but
  not for rxvt-unicode-light (Closes: #656253)
  - Add libstartup-notification0-dev to B-D

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
# include "keyboard.h"
57
57
#endif
58
58
 
59
 
#include <csignal>
 
59
#include <signal.h>
60
60
 
61
61
#if LINUX_YIELD_HACK
62
 
# include <ctime>
 
62
# include <time.h>
63
63
#endif
64
64
 
65
65
/*----------------------------------------------------------------------*/
1636
1636
                        else
1637
1637
                          {
1638
1638
                            scroll_selection_dir = DN;
1639
 
                            dist = ev.xbutton.y - (int_bwidth + height);
 
1639
                            dist = ev.xbutton.y - (int_bwidth + vt_height);
1640
1640
                          }
1641
1641
 
1642
1642
                        scroll_selection_lines = Pixel2Height (dist)
2165
2165
            break;
2166
2166
 
2167
2167
          case Button2:
2168
 
            if (IN_RANGE_EXC (ev.x, 0, width) && IN_RANGE_EXC (ev.y, 0, height)) // inside window?
 
2168
            if (IN_RANGE_EXC (ev.x, 0, vt_width) && IN_RANGE_EXC (ev.y, 0, vt_height)) // inside window?
2169
2169
              selection_request (ev.time, ev.state & ModMetaMask ? Sel_Clipboard : Sel_Primary);
2170
2170
            break;
2171
2171
 
3136
3136
      //case 9: NYI, TODO, restore maximized window or maximize window
3137
3137
      default:
3138
3138
        if (args[0] >= 24)      /* set height (chars) */
3139
 
          set_widthheight ((unsigned int)width,
 
3139
          set_widthheight ((unsigned int)vt_width,
3140
3140
                           (unsigned int) (args[1] * fheight));
3141
3141
        break;
3142
3142