[Xfce4-commits] <xfwm4:master> Fix opacity for newly mapped window not focused by default (bug #5706)
Olivier Fourdan
fourdan at xfce.org
Fri Sep 4 17:18:01 CEST 2009
Updating branch refs/heads/master
to 8d3ed01307a31b042b4e14ff69217817cac4b110 (commit)
from de6a5ecfc44f0ae5aa28ffcba5bd132cb55507ca (commit)
commit 8d3ed01307a31b042b4e14ff69217817cac4b110
Author: Olivier Fourdan <fourdan at xfce.org>
Date: Fri Sep 4 10:51:51 2009 +0200
Fix opacity for newly mapped window not focused by default (bug #5706)
NEWS | 1 +
src/client.c | 1 +
src/focus.c | 1 -
3 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/NEWS b/NEWS
index f0c1a28..757ff6a 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,7 @@
- Implement prelinminary support for snap on resize (patch by Clifford Jolly <cliff at cliffjolly.com>)
- Fix mixed RTL/LTR text not rendering properly in title and tabwin
- Place windows on top of stack even when not focused in focus follow mouse
+- Fix opacity for newly mapped window not focused by default (bug #5706)
4.6.1
=====
diff --git a/src/client.c b/src/client.c
index 1ac2313..8502e9d 100644
--- a/src/client.c
+++ b/src/client.c
@@ -1987,6 +1987,7 @@ clientFrame (DisplayInfo *display_info, Window w, gboolean recapture)
setWMState (display_info, c->window, IconicState);
clientSetNetActions (c);
}
+ clientUpdateOpacity (c);
if (!grabbed)
{
diff --git a/src/focus.c b/src/focus.c
index dad3c34..5fd0dd0 100644
--- a/src/focus.c
+++ b/src/focus.c
@@ -224,7 +224,6 @@ clientFocusNew(Client * c)
clientSortRing(c);
clientLower (c, c2->frame);
clientSortRing(c2);
- clientSetOpacity (c, c->opacity, 0, 0);
}
else
{
More information about the Xfce4-commits
mailing list