* comment the code that prevents programmatically resize events during
a user resize, this makes ArtPAint's tool pallete window resize properly Thanks Stephan for explaining me two time what to look for :) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27384 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
6ee56a00e5
commit
2982ae5d1a
@ -889,16 +889,18 @@ ServerWindow::_DispatchMessage(int32 code, BPrivate::LinkReceiver &link)
|
|||||||
STRACE(("ServerWindow %s: Message AS_WINDOW_RESIZE %.1f, %.1f\n",
|
STRACE(("ServerWindow %s: Message AS_WINDOW_RESIZE %.1f, %.1f\n",
|
||||||
Title(), xResizeBy, yResizeBy));
|
Title(), xResizeBy, yResizeBy));
|
||||||
|
|
||||||
if (fWindow->IsResizing()) {
|
// comment this code for the time being, as some apps rely
|
||||||
|
// on the programmatically resize behavior during user resize
|
||||||
|
// if (fWindow->IsResizing()) {
|
||||||
// While the user resizes the window, we ignore
|
// While the user resizes the window, we ignore
|
||||||
// pragmatically set window bounds
|
// pragmatically set window bounds
|
||||||
fLink.StartMessage(B_BUSY);
|
// fLink.StartMessage(B_BUSY);
|
||||||
} else {
|
// } else {
|
||||||
//fDesktop->UnlockSingleWindow();
|
//fDesktop->UnlockSingleWindow();
|
||||||
fDesktop->ResizeWindowBy(fWindow, xResizeBy, yResizeBy);
|
fDesktop->ResizeWindowBy(fWindow, xResizeBy, yResizeBy);
|
||||||
//fDesktop->LockSingleWindow();
|
//fDesktop->LockSingleWindow();
|
||||||
fLink.StartMessage(B_OK);
|
fLink.StartMessage(B_OK);
|
||||||
}
|
// }
|
||||||
fLink.Flush();
|
fLink.Flush();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user