From 782fbd0de6e5ba708556ac624826ce538ffae29b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Tue, 30 Apr 2013 20:37:29 +0200 Subject: [PATCH] skip selftabbing requests from the deco causes assert BUG: 319107 FIXED-IN: 4.10.3 REVIEW: 110251 --- bridge.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bridge.cpp b/bridge.cpp index d54f059287..b6cae0e7b3 100644 --- a/bridge.cpp +++ b/bridge.cpp @@ -313,6 +313,7 @@ void Bridge::tab_A_before_B(long A, long B) if (Client *a = clientForId(A)) if (Client *b = clientForId(B)) + if (a != b) a->tabBefore(b, true); } @@ -328,6 +329,7 @@ void Bridge::tab_A_behind_B(long A, long B) if (Client *a = clientForId(A)) if (Client *b = clientForId(B)) + if (a != b) a->tabBehind(b, true); }