~unity-team/unity-jhbuild/oneiric

« back to all changes in this revision

Viewing changes to patches/14_wrong_colormap.patch

  • Committer: Mikkel Kamstrup Erlandsen
  • Date: 2010-11-18 08:06:37 UTC
  • Revision ID: mikkel.kamstrup@gmail.com-20101118080637-wi6l1lhj750h66sc
Remove old mutter patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
From 00f0078808fa4e33cf4a5f1d88f33c121828a735 Mon Sep 17 00:00:00 2001
2
 
From: Robert Ancell <robert.ancell@gmail.com>
3
 
Date: Wed, 2 Jun 2010 09:43:47 +1000
4
 
Subject: [PATCH] Use gdk_screen_get_system_colormap with gdk_screen_get_system_visual as gdk_screen_get_default_colormap can return a colormap that is incompatible.
5
 
 
6
 
---
7
 
 src/ui/ui.c |    2 +-
8
 
 1 files changed, 1 insertions(+), 1 deletions(-)
9
 
 
10
 
Index: metacity-2.30.1/src/ui/ui.c
11
 
===================================================================
12
 
--- metacity-2.30.1.orig/src/ui/ui.c    2010-03-31 01:35:40.000000000 +1100
13
 
+++ metacity-2.30.1/src/ui/ui.c 2010-06-02 09:52:38.250014076 +1000
14
 
@@ -166,7 +166,7 @@
15
 
   gint attributes_mask;
16
 
   GdkWindow *window;
17
 
   GdkVisual *visual;
18
 
-  GdkColormap *cmap = gdk_screen_get_default_colormap (screen);
19
 
+  GdkColormap *cmap = gdk_screen_get_system_colormap (screen);
20
 
   
21
 
   /* Default depth/visual handles clients with weird visuals; they can
22
 
    * always be children of the root depth/visual obviously, but