This commit is contained in:
rhp
2001-07-03 01:45:43 +00:00
parent 43f807c5e1
commit 7d79a37c9d
6 changed files with 391 additions and 140 deletions

View File

@ -183,7 +183,15 @@ meta_frame_get_flags (MetaFrame *frame)
flags |= META_FRAME_ALLOWS_MOVE;
if (frame->window->has_resize_func)
flags |= META_FRAME_ALLOWS_RESIZE;
{
if (frame->window->size_hints.min_width <
frame->window->size_hints.max_width)
flags |= META_FRAME_ALLOWS_HORIZONTAL_RESIZE;
if (frame->window->size_hints.min_height <
frame->window->size_hints.max_height)
flags |= META_FRAME_ALLOWS_VERTICAL_RESIZE;
}
if (frame->window->has_focus)
flags |= META_FRAME_HAS_FOCUS;