diff options
author | Matthias Clasen <mclasen@fedoraproject.org> | 2008-04-25 03:09:24 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@fedoraproject.org> | 2008-04-25 03:09:24 +0000 |
commit | f11a8331ed3dae43ab55420f0a6920e57fe8b4e8 (patch) | |
tree | b1c4ba0b65530a5352071fcea3c65c061454b107 /metacity-theme-crash.patch | |
parent | a336c6a98ac1ea2e3675b847c5dcb17faef14381 (diff) | |
download | metacity-f11a8331ed3dae43ab55420f0a6920e57fe8b4e8.tar.gz metacity-f11a8331ed3dae43ab55420f0a6920e57fe8b4e8.tar.xz metacity-f11a8331ed3dae43ab55420f0a6920e57fe8b4e8.zip |
2.23.8metacity-2_23_8-1_fc10
Diffstat (limited to 'metacity-theme-crash.patch')
-rw-r--r-- | metacity-theme-crash.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/metacity-theme-crash.patch b/metacity-theme-crash.patch deleted file mode 100644 index 50c3b09..0000000 --- a/metacity-theme-crash.patch +++ /dev/null @@ -1,39 +0,0 @@ -Index: src/ui/preview-widget.c -=================================================================== ---- src/ui/preview-widget.c (revision 3666) -+++ src/ui/preview-widget.c (working copy) -@@ -478,6 +478,19 @@ - - flags = (META_PREVIEW (preview)->flags); - -+ window_xregion = gdk_region_new (); -+ -+ xrect.x = 0; -+ xrect.y = 0; -+ xrect.width = new_window_width; -+ xrect.height = new_window_height; -+ -+ gdk_region_union_with_rect (window_xregion, &xrect); -+ -+ if (preview->theme == NULL) -+ return window_xregion; -+ -+ /* Otherwise, we do have a theme, so calculate the corners */ - frame_style = meta_theme_get_frame_style (preview->theme, - META_FRAME_TYPE_NORMAL, flags); - -@@ -558,14 +571,6 @@ - } - } - -- window_xregion = gdk_region_new (); -- -- xrect.x = 0; -- xrect.y = 0; -- xrect.width = new_window_width; -- xrect.height = new_window_height; -- -- gdk_region_union_with_rect (window_xregion, &xrect); - gdk_region_subtract (window_xregion, corners_xregion); - gdk_region_destroy (corners_xregion); - |