changeset 3139:514eb5ac9246

Updated #110: Updated calls of subClientWarp and subClientFocus
author unexist
date Fri, 18 Nov 2011 22:58:36 +0100
parents 7a96f23ea202
children 33753d1f8359
files src/subtle/screen.c src/subtle/subtle.c src/subtle/view.c
diffstat 3 files changed, 4 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/subtle/screen.c	Fri Nov 18 22:57:41 2011 +0100
+++ b/src/subtle/screen.c	Fri Nov 18 22:58:36 2011 +0100
@@ -357,7 +357,7 @@
 
               /* Warp after gravity and screen have been set */
               if(c->flags & SUB_CLIENT_MODE_URGENT)
-                subClientWarp(c, True);
+                subClientWarp(c);
 
               /* EWMH: Desktop, screen */
               subEwmhSetCardinals(c->win, SUB_EWMH_NET_WM_DESKTOP,
--- a/src/subtle/subtle.c	Fri Nov 18 22:57:41 2011 +0100
+++ b/src/subtle/subtle.c	Fri Nov 18 22:58:36 2011 +0100
@@ -194,8 +194,7 @@
                   VISIBLE(subtle->visible_tags, c) &&
                   c->win != subtle->windows.focus[0])
                 {
-                  subClientFocus(c);
-                  subClientWarp(c, True);
+                  subClientFocus(c, True);
 
                   return c->win;
                 }
@@ -212,8 +211,7 @@
               VISIBLE(subtle->visible_tags, c) &&
               c->win != subtle->windows.focus[0])
             {
-              subClientFocus(c);
-              subClientWarp(c, True);
+              subClientFocus(c, True);
 
               return c->win;
             }
--- a/src/subtle/view.c	Fri Nov 18 22:57:41 2011 +0100
+++ b/src/subtle/view.c	Fri Nov 18 22:58:36 2011 +0100
@@ -71,8 +71,7 @@
       if((c = CLIENT(subSubtleFind(v->focus, CLIENTID))) &&
           VISIBLE(v->tags, c))
         {
-          subClientFocus(c);
-          subClientWarp(c, False);
+          subClientFocus(c, True);
 
           return;
         }