From 8b4802ad45b96fec704e43fe4139048b7fcf35d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Gst=C3=A4dtner?= Date: Mon, 17 Jun 2013 07:48:18 +0100 Subject: [PATCH] honor disable_all_pointer_warps in e_border_activate --- src/bin/e_border.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/e_border.c b/src/bin/e_border.c index 0bcfa433a..9ca38d28b 100644 --- a/src/bin/e_border.c +++ b/src/bin/e_border.c @@ -10115,6 +10115,7 @@ e_border_activate(E_Border *bd, Eina_Bool just_do_it) config dialogs when the main window gets focus. causing the pointer to jump back and forth. */ if ((e_config->focus_policy != E_FOCUS_CLICK) && (!bd->new_client) && + (!e_config->disable_all_pointer_warps) && !(bd->client.icccm.name && !strcmp(bd->client.icccm.name, "VCLSalFrame"))) ecore_x_pointer_warp(bd->zone->container->win, bd->x + (bd->w / 2), bd->y + (bd->h / 2));