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
This commit is contained in:
parent
d00881fbc4
commit
510545879b
1
CHANGES
1
CHANGES
@ -2,6 +2,7 @@ CHANGES IN FLTK 1.1.7
|
|||||||
|
|
||||||
- Documentation fixes (STR #648, STR #692, STR #730, STR
|
- Documentation fixes (STR #648, STR #692, STR #730, STR
|
||||||
#744, STR #745)
|
#744, STR #745)
|
||||||
|
- Fixed focus loss on Fl_Window:resize()
|
||||||
- Fl::delete_widget would hang fl_wait after deleting the
|
- Fl::delete_widget would hang fl_wait after deleting the
|
||||||
window (STR #679)
|
window (STR #679)
|
||||||
- Fl::paste would sometimes not recoginze external
|
- Fl::paste would sometimes not recoginze external
|
||||||
|
@ -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) {
|
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 is_a_resize = (W != w() || H != h());
|
||||||
int resize_from_program = (this != resize_bug_fix);
|
int resize_from_program = (this != resize_bug_fix);
|
||||||
if (!resize_from_program) resize_bug_fix = 0;
|
if (!resize_from_program) resize_bug_fix = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user