Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Borghetti <bdiego@gmail.com>2007-12-31 17:28:10 +0300
committerDiego Borghetti <bdiego@gmail.com>2007-12-31 17:28:10 +0300
commit2d3bbe480c5b693ce5f620cf2ebf9d0d7279d386 (patch)
tree1a4e457ca8df0ba880168a20ac126b44010cd8b8 /intern/ghost
parent63d2208319404ce1e9c793c92a72d05210d2fe52 (diff)
I got confused screenToClient with clientToScreen.
Sorry, i get the wrong value because a print the wrong variable :/
Diffstat (limited to 'intern/ghost')
-rw-r--r--intern/ghost/intern/GHOST_WindowX11.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/ghost/intern/GHOST_WindowX11.cpp b/intern/ghost/intern/GHOST_WindowX11.cpp
index c628035c15d..544222e814f 100644
--- a/intern/ghost/intern/GHOST_WindowX11.cpp
+++ b/intern/ghost/intern/GHOST_WindowX11.cpp
@@ -565,15 +565,15 @@ screenToClient(
GHOST_TInt32& outX,
GHOST_TInt32& outY
) const {
- // Now, this is correct!
+ // This is correct!
int ax,ay;
Window temp;
XTranslateCoordinates(
m_display,
- m_window,
RootWindow(m_display, m_visual->screen),
+ m_window,
inX,
inY,
&ax,