summaryrefslogtreecommitdiffstats
path: root/generic/tkBind.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-02 11:22:27 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-02 11:22:27 (GMT)
commitf6ce17f323f35d5c06e37723848cbd7fa8f2f6fa (patch)
treeddcb2fa3b4aa7f590b0b475a91d7453e13edba97 /generic/tkBind.c
parent92dc17bde5685c5249794b0ef519d9597139c5f4 (diff)
parent1ad8b81988aa95d3ae080faa924677e7c9d56c1f (diff)
downloadtk-f6ce17f323f35d5c06e37723848cbd7fa8f2f6fa.zip
tk-f6ce17f323f35d5c06e37723848cbd7fa8f2f6fa.tar.gz
tk-f6ce17f323f35d5c06e37723848cbd7fa8f2f6fa.tar.bz2
[Bug 533519]: Window placement with multiple screens
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;