~ubuntu-branches/ubuntu/jaunty/compiz/jaunty-updates

« back to all changes in this revision

Viewing changes to debian/patches/0002-Make-sure-that-unredirected-windows-get-redirected-o.patch

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt, Michael Vogt, Christopher James Halse Rogers
  • Date: 2008-12-17 21:19:13 UTC
  • Revision ID: james.westby@ubuntu.com-20081217211913-h1ur6u0qx8yydu2x
Tags: 1:0.7.8-0ubuntu5
[ Michael Vogt ]
* patch cleanup with compiz upstream, removed:
  - 0001-Make-sure-that-unredirected-fullscreen-windows-are-f.patch
  - 0003-Move-input-focus-back-to-the-active-window-after-red.pat
  - 015-disable-glib-plugin.patch
  - 019_fix_wnck_2.19.4.patch
  - 022_fix_session_managment.patch 
  - 024_add_config_notify.patch
  - 031_add_compiz_common.patch
  - 038_from_git_fix_incomplete_rotate.patch
  - 043-blur-plugin-fix-from-git.patch
  - 043-new-gnome-session.patch
* removed no longer applied patches from the repo too
* debian/rules
  - fix build failure with latest control center
* debian/control:
  - add missing libgnomeui-dev build-depends
* rebuild against latest libgnome-desktop-dev

[ Christopher James Halse Rogers ]
* debian/patches/050-scale-keybinding-toggle.patch
  - Allow setting the scale initiate keybinding as a toggle (LP: #281911).
    Patch from upstream git.
* debian/patches/051-new-kde4-plasma-api.patch
  - PanelSvg has been renamed to FrameSvg in KDE 4.2.  Upstream bug is
    https://bugs.freedesktop.org/show_bug.cgi?id=18637

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
From 0b394942ee0c54e498639e030796acf12d1cb883 Mon Sep 17 00:00:00 2001
2
 
From: Dennis Kasprzyk <onestone@opencompositing.org>
3
 
Date: Wed, 19 Sep 2007 10:58:59 +0200
4
 
Subject: [PATCH] Make sure that unredirected windows get redirected on unmap.
5
 
 
6
 
---
7
 
 src/window.c |    3 +++
8
 
 1 files changed, 3 insertions(+), 0 deletions(-)
9
 
 
10
 
diff --git a/src/window.c b/src/window.c
11
 
index 2faf40b..912b34d 100644
12
 
--- a/src/window.c
13
 
+++ b/src/window.c
14
 
@@ -2477,6 +2477,9 @@ unmapWindow (CompWindow *w)
15
 
                      w->attrib.border_width);
16
 
 
17
 
     updateClientListForScreen (w->screen);
18
 
+
19
 
+    if (!w->redirected)
20
 
+       redirectWindow (w);
21
 
 }
22
 
 
23
 
 static int
24
 
1.5.2.4
25