ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/command.C
(Generate patch)

Comparing rxvt-unicode/src/command.C (file contents):
Revision 1.358 by sasha, Tue Sep 18 22:27:41 2007 UTC vs.
Revision 1.359 by ayin, Mon Oct 15 14:56:06 2007 UTC

1302rxvt_term::mouse_report (XButtonEvent &ev) 1302rxvt_term::mouse_report (XButtonEvent &ev)
1303{ 1303{
1304 int button_number, key_state = 0; 1304 int button_number, key_state = 0;
1305 int x, y; 1305 int x, y;
1306 1306
1307 x = ev.x; 1307 x = Pixel2Col (ev.x);
1308 y = ev.y; 1308 y = Pixel2Row (ev.y);
1309 pixel_position (&x, &y);
1310 1309
1311 if (MEvent.button == AnyButton) 1310 if (MEvent.button == AnyButton)
1312 button_number = 3; 1311 button_number = 3;
1313 else 1312 else
1314 { 1313 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines