[Xfce4-commits] [xfce/xfwm4] 01/01: cycle: No need to raise parents separately
noreply at xfce.org
noreply at xfce.org
Fri Apr 19 23:36:46 CEST 2019
This is an automated email from the git hooks/post-receive script.
o l i v i e r p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfwm4.
commit 2a23df9272523fd0c1e5d8286f729640cab87b28
Author: Olivier Fourdan <fourdan at xfce.org>
Date: Fri Apr 19 23:33:40 2019 +0200
cycle: No need to raise parents separately
Bug 15303
Now that parent windows get raised along with their transients, no need
to raise them separately.
---
src/cycle.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/cycle.c b/src/cycle.c
index 434e37f..164024d 100644
--- a/src/cycle.c
+++ b/src/cycle.c
@@ -170,7 +170,7 @@ clientCycleFocusAndRaise (Client *c)
{
ScreenInfo *screen_info;
DisplayInfo *display_info;
- Client *sibling;
+ Client *ancestor;
g_return_if_fail (c != NULL);
TRACE ("client \"%s\" (0x%lx)", c->name, c->window);
@@ -178,9 +178,9 @@ clientCycleFocusAndRaise (Client *c)
screen_info = c->screen_info;
display_info = screen_info->display_info;
- sibling = clientGetTransientFor(c);
- clientRaise (sibling, None);
- clientShow (sibling, TRUE);
+ ancestor = clientGetTransientFor(c);
+ clientRaise (c, None);
+ clientShow (ancestor, TRUE);
clientUnshade (c);
clientSetFocus (screen_info, c, myDisplayGetCurrentTime (display_info), NO_FOCUS_FLAG);
clientSetLastRaise (c);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list