diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-27 07:51:46 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-27 07:51:46 +0000 |
commit | 9d65ee38c92c7a0656ddc6c4c26017b7226fc44b (patch) | |
tree | a0aee0dc8d0f850939b68c5777d07ed9951cf655 /plugins/Clist_nicer | |
parent | 1d2358d43cfcfed5df1f1f4a7d2d211d8d71c286 (diff) |
finally frame menu appeared
git-svn-id: http://svn.miranda-ng.org/main/trunk@14408 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer')
-rw-r--r-- | plugins/Clist_nicer/src/CLUIFrames/cluiframes.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/Clist_nicer/src/CLUIFrames/cluiframes.cpp b/plugins/Clist_nicer/src/CLUIFrames/cluiframes.cpp index 951979c69f..1921b5137c 100644 --- a/plugins/Clist_nicer/src/CLUIFrames/cluiframes.cpp +++ b/plugins/Clist_nicer/src/CLUIFrames/cluiframes.cpp @@ -2443,21 +2443,19 @@ LRESULT CALLBACK CLUIFrameTitleBarProc(HWND hwnd, UINT msg, WPARAM wParam, LPARA case WM_MOUSEMOVE: { - char TBcapt[255]; - mir_cslock lck(csFrameHook); int pos = id2pos(Frameid); if (pos != -1) { int oldflags; + char TBcapt[255]; mir_snprintf(TBcapt, _countof(TBcapt), "%s - h:%d, vis:%d, fl:%d, fl:(%d,%d,%d,%d),or: %d", Frames[pos].name, Frames[pos].height, Frames[pos].visible, Frames[pos].floating, Frames[pos].FloatingPos.x, Frames[pos].FloatingPos.y, Frames[pos].FloatingSize.x, Frames[pos].FloatingSize.y, - Frames[pos].order - ); + Frames[pos].order); oldflags = CallService(MS_CLIST_FRAMES_GETFRAMEOPTIONS, MAKEWPARAM(FO_FLAGS, Frames[pos].id), 0); - if (!(oldflags&F_SHOWTBTIP)) + if (!(oldflags & F_SHOWTBTIP)) oldflags |= F_SHOWTBTIP; } } |