[mutter/meego-1.0: 27/30] Fix frame flags for windows that are created in fullscreen state
- From: Tomas Frydrych <tomasf src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/meego-1.0: 27/30] Fix frame flags for windows that are created in fullscreen state
- Date: Fri, 14 May 2010 15:52:02 +0000 (UTC)
commit 8ec49171462eb3691bc9f06f662cff048f28f1ab
Author: Tomas Frydrych <tf linux intel com>
Date: Thu May 6 10:19:32 2010 +0100
Fix frame flags for windows that are created in fullscreen state
Windows created in fullscreen state have the fullscreen_after_placement flag
set until they are constrained, at which point this is translated into the
regular fullscreen flag. Since the frame geometry is fed as an input into the
constrainst function, we need to ensure that the frame META_FRAME_FULLSCREEN
flag is set also for windows that are marked for fullscreening after placement.
src/core/frame.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/core/frame.c b/src/core/frame.c
index 0468da3..cb521d3 100644
--- a/src/core/frame.c
+++ b/src/core/frame.c
@@ -291,7 +291,7 @@ meta_frame_get_flags (MetaFrame *frame)
if (META_WINDOW_MAXIMIZED (frame->window))
flags |= META_FRAME_MAXIMIZED;
- if (frame->window->fullscreen)
+ if (frame->window->fullscreen || frame->window->fullscreen_after_placement)
flags |= META_FRAME_FULLSCREEN;
if (frame->is_flashing)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]