summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-07-25 02:45:38 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-07-25 02:45:38 +0000
commit9abae5b0a22cdd7d0b95bfeb3be526f483110983 (patch)
tree7352d35d317d15def3183b05b9555fb5ace9484b /src/window.c
parent98c3b06ffd010be6cc5dc099436b503818609d9b (diff)
downloadmetacity-9abae5b0a22cdd7d0b95bfeb3be526f483110983.tar.gz
metacity-9abae5b0a22cdd7d0b95bfeb3be526f483110983.tar.bz2
add Metabox theme from Garrett
2002-07-24 Havoc Pennington <hp@pobox.com> * src/themes/Makefile.am (THEMES): add Metabox theme from Garrett * README: updates 2002-07-21 Havoc Pennington <hp@pobox.com> * src/window.c (meta_window_new): don't automaximize fullscreen windows. 2002-07-14 Havoc Pennington <hp@pobox.com> * src/window.c (recalc_window_features): don't allow shading of border-only windows.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index 157eea2..5852437 100644
--- a/src/window.c
+++ b/src/window.c
@@ -613,7 +613,8 @@ meta_window_new (MetaDisplay *display, Window xwindow,
* area (bit of a hack here). Assume undecorated windows
* probably don't intend to be maximized.
*/
- if (window->has_maximize_func && window->decorated)
+ if (window->has_maximize_func && window->decorated &&
+ !window->fullscreen)
{
MetaRectangle workarea;
MetaRectangle outer;
@@ -5073,7 +5074,7 @@ recalc_window_features (MetaWindow *window)
}
/* no shading if not decorated */
- if (!window->decorated)
+ if (!window->decorated || window->border_only)
window->has_shade_func = FALSE;
window->skip_taskbar = FALSE;