Mailinglist Archive: opensuse-commit (1117 mails)
| < Previous | Next > |
commit compiz for openSUSE:Factory
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Fri, 13 Feb 2009 01:25:02 +0100
- Message-id: <20090213002502.62D0567817A@xxxxxxxxxxxxxxx>
Hello community,
here is the log from the commit of package compiz for openSUSE:Factory
checked in at Fri Feb 13 01:25:02 CET 2009.
--------
--- compiz/compiz.changes 2009-02-12 17:03:51.000000000 +0100
+++ compiz/compiz.changes 2009-02-12 21:06:08.000000000 +0100
@@ -1,0 +2,5 @@
+Thu Feb 12 14:53:53 EST 2009 - davidr@xxxxxxxxxx
+
+- Don't lose input focus when closing active window. (bnc#475349)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
bug-475349-moveInputFocusToOtherWindow.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ compiz.spec ++++++
--- /var/tmp/diff_new_pack.Ay4099/_old 2009-02-13 01:24:21.000000000 +0100
+++ /var/tmp/diff_new_pack.Ay4099/_new 2009-02-13 01:24:21.000000000 +0100
@@ -44,7 +44,7 @@
%endif
AutoReqProv: on
Version: 0.7.8
-Release: 28
+Release: 29
Requires: compiz-decorator = %{version} compiz-branding = %{version}
Provides: windowmanager
Summary: OpenGL window and compositing manager.
@@ -74,6 +74,7 @@
Patch61: compiz-place-fix-bnc442052.diff
Patch62: bug-449168-avoid-independent-output-painting.diff
Patch63: bug-474862-allow-moving-focus-to-fs-window.diff
+Patch64: bug-475349-moveInputFocusToOtherWindow.diff
Patch80: compiz-0.7.8-NOMAD.diff
%if "%(xft-config --prefix)" == "/usr"
%define xorg_prefix %_prefix
@@ -256,6 +257,7 @@
#%patch61 -p1
%patch62 -p1
%patch63 -p1
+%patch64 -p1
cd -
%build
@@ -432,6 +434,8 @@
%_datadir/compiz/sle.png
%changelog
+* Thu Feb 12 2009 davidr@xxxxxxxxxx
+- Don't lose input focus when closing active window. (bnc#475349)
* Wed Feb 11 2009 davidr@xxxxxxxxxx
- Fix regression in position constraints fix. (bnc#474594)
* Wed Feb 11 2009 davidr@xxxxxxxxxx
++++++ bug-475349-moveInputFocusToOtherWindow.diff ++++++
diff --git a/src/event.c b/src/event.c
index f9edcfc..4ca24c5 100644
--- a/src/event.c
+++ b/src/event.c
@@ -149,9 +149,8 @@ moveInputFocusToOtherWindow (CompWindow *w)
CompWindowTypeDockMask)))
{
moveInputFocusToWindow (ancestor);
+ return;
}
- else
- focusDefaultWindow (w->screen);
}
else if (w->type & (CompWindowTypeDialogMask |
CompWindowTypeModalDialogMask))
@@ -184,12 +183,16 @@ moveInputFocusToOtherWindow (CompWindow *w)
CompWindowTypeDockMask)))
{
moveInputFocusToWindow (focus);
+ return;
}
- else
- focusDefaultWindow (w->screen);
}
- else
+
+ if (!w->attrib.override_redirect)
+ {
+ w->attrib.override_redirect = TRUE;
focusDefaultWindow (w->screen);
+ w->attrib.override_redirect = FALSE;
+ }
}
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |