diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2005-06-01 09:26:16 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2005-06-01 09:26:16 +0000 |
| commit | 510545879b34a8b7c9ebc9839e9268bb9df0cfd4 (patch) | |
| tree | 8fd8294c882a64953f9fca4f7b3d6e70eb6ce04e /src | |
| parent | d00881fbc469cbf5ee8c074792065e46417b7dcc (diff) | |
Win322: Calling Fl_Window::size() and friends would move focus from the current window to this window. This was especially painful in Fluid when trying to resize a window by typing its new size into the Widget Properties dialog.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4389 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_win32.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index 1268732c5..81cd02819 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -995,7 +995,8 @@ int Fl_X::fake_X_wm(const Fl_Window* w,int &X,int &Y, int &bt,int &bx, int &by) //////////////////////////////////////////////////////////////// void Fl_Window::resize(int X,int Y,int W,int H) { - UINT flags = SWP_NOSENDCHANGING | SWP_NOZORDER; + UINT flags = SWP_NOSENDCHANGING | SWP_NOZORDER + | SWP_NOACTIVATE | SWP_NOOWNERZORDER; int is_a_resize = (W != w() || H != h()); int resize_from_program = (this != resize_bug_fix); if (!resize_from_program) resize_bug_fix = 0; |
