http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
deaf2f5
)
comctl32: Return the correct hittest for the size grip in mirrored windows.
author
Alexandre Julliard
<julliard@winehq.org>
Fri, 24 Sep 2010 13:37:16 +0000
(15:37 +0200)
committer
Alexandre Julliard
<julliard@winehq.org>
Fri, 24 Sep 2010 13:45:55 +0000
(15:45 +0200)
dlls/comctl32/status.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/comctl32/status.c
b/dlls/comctl32/status.c
index 1b69ef2d053c83efc1a6e83a1ecc9af76a3dca95..eeaf299f6b34cb92b1be8b5873d77849fcc9abb9 100644
(file)
--- a/
dlls/comctl32/status.c
+++ b/
dlls/comctl32/status.c
@@
-1047,7
+1047,10
@@
STATUSBAR_WMNCHitTest (const STATUS_INFO *infoPtr, INT x, INT y)
rect.top += 2;
if (PtInRect (&rect, pt))
- return HTBOTTOMRIGHT;
+ {
+ if (GetWindowLongW( infoPtr->Self, GWL_EXSTYLE ) & WS_EX_LAYOUTRTL) return HTBOTTOMLEFT;
+ else return HTBOTTOMRIGHT;
+ }
}
return HTERROR;