diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-05-02 11:48:45 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-05-02 11:48:45 (GMT) |
commit | acfb83993a6266257e059e30e5dffde280882c11 (patch) | |
tree | ff59694615ea38e034d8e98a8f4b199b111e243b /generic/tkBind.c | |
parent | c7759d4c7d331a7db4a2b4d9cf0444cd9bcf1702 (diff) | |
parent | f6ce17f323f35d5c06e37723848cbd7fa8f2f6fa (diff) | |
download | tk-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.c | 12 |
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; |