summaryrefslogtreecommitdiffstats
path: root/generic/tkBind.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-02 11:48:45 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-02 11:48:45 (GMT)
commitacfb83993a6266257e059e30e5dffde280882c11 (patch)
treeff59694615ea38e034d8e98a8f4b199b111e243b /generic/tkBind.c
parentc7759d4c7d331a7db4a2b4d9cf0444cd9bcf1702 (diff)
parentf6ce17f323f35d5c06e37723848cbd7fa8f2f6fa (diff)
downloadtk-acfb83993a6266257e059e30e5dffde280882c11.zip
tk-acfb83993a6266257e059e30e5dffde280882c11.tar.gz
tk-acfb83993a6266257e059e30e5dffde280882c11.tar.bz2
merge core-8-4-branch
Diffstat (limited to 'generic/tkBind.c')
-rw-r--r--generic/tkBind.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/generic/tkBind.c b/generic/tkBind.c
index 7e8d823..fc212cb 100644
--- a/generic/tkBind.c
+++ b/generic/tkBind.c
@@ -2626,32 +2626,20 @@ ExpandPercents(winPtr, before, eventPtr, keySym, dsPtr)
case 'X':
if (flags & KEY_BUTTON_MOTION_CROSSING) {
Tk_Window tkwin;
- int x, y;
- int width, height;
number = eventPtr->xkey.x_root;
tkwin = Tk_IdToWindow(eventPtr->xany.display,
eventPtr->xany.window);
- if (tkwin != NULL) {
- Tk_GetVRootGeometry(tkwin, &x, &y, &width, &height);
- number -= x;
- }
goto doNumber;
}
goto doString;
case 'Y':
if (flags & KEY_BUTTON_MOTION_CROSSING) {
Tk_Window tkwin;
- int x, y;
- int width, height;
number = eventPtr->xkey.y_root;
tkwin = Tk_IdToWindow(eventPtr->xany.display,
eventPtr->xany.window);
- if (tkwin != NULL) {
- Tk_GetVRootGeometry(tkwin, &x, &y, &width, &height);
- number -= y;
- }
goto doNumber;
}
goto doString;