diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-05-02 11:39:29 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-05-02 11:39:29 (GMT) |
commit | aa8efe88661be2b380149cb1e1d7c0e9313c4130 (patch) | |
tree | c12fa65a444645b8f89feba3bddeef8e4b31542b /generic/tkBind.c | |
parent | e9140811cd74d9b4da77039deb20dfca25fd798c (diff) | |
parent | f6ce17f323f35d5c06e37723848cbd7fa8f2f6fa (diff) | |
download | tk-aa8efe88661be2b380149cb1e1d7c0e9313c4130.zip tk-aa8efe88661be2b380149cb1e1d7c0e9313c4130.tar.gz tk-aa8efe88661be2b380149cb1e1d7c0e9313c4130.tar.bz2 |
[Bug 533519]: Window placement with multiple screens
Diffstat (limited to 'generic/tkBind.c')
-rw-r--r-- | generic/tkBind.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/generic/tkBind.c b/generic/tkBind.c index abdee59..21bfb5c 100644 --- a/generic/tkBind.c +++ b/generic/tkBind.c @@ -2581,33 +2581,13 @@ ExpandPercents( } 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; |