Respect B_NOT_MINIMIZABLE in the default decorator. Maybe we should recheck all the flags in the window code though instead of relying fully on the decorator.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27369 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
7d2739a00f
commit
57665c6ef2
@ -580,7 +580,7 @@ DefaultDecorator::Clicked(BPoint point, int32 buttons, int32 modifiers)
|
||||
if (buttons == B_SECONDARY_MOUSE_BUTTON)
|
||||
return DEC_MOVETOBACK;
|
||||
|
||||
if (fWasDoubleClick)
|
||||
if (fWasDoubleClick && !(fFlags & B_NOT_MINIMIZABLE))
|
||||
return DEC_MINIMIZE;
|
||||
|
||||
return DEC_DRAG;
|
||||
|
Loading…
Reference in New Issue
Block a user