diff options
author | rhp <rhp> | 2001-06-23 06:54:28 +0000 |
---|---|---|
committer | rhp <rhp> | 2001-06-23 06:54:28 +0000 |
commit | f9c2652e0d7c0edd76459366159701134a0444b5 (patch) | |
tree | 07d9d6535f02bf3e2877dd9c9be978dcedabdf2b /src/frames.c | |
parent | c1251f5d9ccb1968fc735e300643aa3c21fb1c4a (diff) | |
download | metacity-f9c2652e0d7c0edd76459366159701134a0444b5.tar.gz |
...
Diffstat (limited to 'src/frames.c')
-rw-r--r-- | src/frames.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/frames.c b/src/frames.c index 235406f9..07ddfab6 100644 --- a/src/frames.c +++ b/src/frames.c @@ -966,12 +966,15 @@ meta_frames_button_press_event (GtkWidget *widget, flags = meta_core_get_frame_flags (gdk_display, frame->xwindow); - if (flags & META_FRAME_SHADED) - meta_core_unshade (gdk_display, - frame->xwindow); - else - meta_core_shade (gdk_display, - frame->xwindow); + if (flags & META_FRAME_ALLOWS_SHADE) + { + if (flags & META_FRAME_SHADED) + meta_core_unshade (gdk_display, + frame->xwindow); + else + meta_core_shade (gdk_display, + frame->xwindow); + } return TRUE; } |