From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Skip Montanaro Newsgroups: gmane.emacs.help Subject: Can Emacs help here (running on Linux, display on Windows)? Date: Fri, 4 Aug 2017 15:26:21 -0500 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1501878411 8779 195.159.176.226 (4 Aug 2017 20:26:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 4 Aug 2017 20:26:51 +0000 (UTC) To: Help GNU Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 04 22:26:46 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddjBF-0001zH-UO for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Aug 2017 22:26:46 +0200 Original-Received: from localhost ([::1]:54343 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddjBL-0000IN-QK for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Aug 2017 16:26:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55069) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddjAv-0000IB-IU for help-gnu-emacs@gnu.org; Fri, 04 Aug 2017 16:26:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddjAu-0000hU-ML for help-gnu-emacs@gnu.org; Fri, 04 Aug 2017 16:26:25 -0400 Original-Received: from mail-io0-x236.google.com ([2607:f8b0:4001:c06::236]:34519) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ddjAu-0000gh-Fi for help-gnu-emacs@gnu.org; Fri, 04 Aug 2017 16:26:24 -0400 Original-Received: by mail-io0-x236.google.com with SMTP id o9so9887490iod.1 for ; Fri, 04 Aug 2017 13:26:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=amrpSCFf+cBua2iPGLlmdFhbjizy3HhT1us5Fz0HZp0=; b=pKZc02tJo3C84x2ZFuZGERK7dvWKacmCMOfbjEoXrcJu4KRHM+wqnPVxCqJZUWBqPy 7UOrj2/XH3g1/6JJP5iAbCFGjgccKsERtDSFppmBLmkqEve59Ei4GxbdwS0TSDmqRu+7 bZe6XjsbT2T1acRW0sM3r+6azQOcB69HnFzB99ChEb1TV8TBchhf3OJ4XOdlvAJ5vicp rWn3R+koCQpKJLnEjSftU+5x4biDAsn7PUv+svtJugtFB4TcsYsKHwCTZW2Zfp1IBhSG QoV1RospBhTTCALTQ1JTrBZcwHqGbkaPlZApebhoPVjYBPcTd8rV02dqNl9dXUz25dIV J2bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=amrpSCFf+cBua2iPGLlmdFhbjizy3HhT1us5Fz0HZp0=; b=bXTfixi9z0LblqxYXKmu9gTXNfgLW6EZ2aEFcNEM1gXv/JpFOgZmQdNySqTg6l0VNh hfwmX0OfFZew0KzB7qP5dnlULFuEAhCRHEI43gjyLg4ocFiZ+3HvhMbUGTzosXvIyavd XNi/tXumOjTMKUkOD5l32n3rMR2j1hMsyZEAQ4DTw5rO5ofAnXVYOenh9NlhqvzzeYuB nbDw19lUIOvXn3mb+PPGW1tR07I3o18JhzZsCcVpDMOk7twlmuOFk7hV8uqvP/z4Ytha EL0e+40tTeI4EobzlE0Kvsb/zs/oNFID0bzmWL9e/i1fI/HAKe0fcFfVKFJFT/zP8iSC OsPw== X-Gm-Message-State: AHYfb5jgIDy7xCtt0WodEIjw4c86iVIreU0BvLQW34u/3T3HADeZmNXx lOkw+zieiPZ4bYnatBRsERqMwk02ujxb X-Received: by 10.107.3.143 with SMTP id e15mr4192780ioi.308.1501878381603; Fri, 04 Aug 2017 13:26:21 -0700 (PDT) Original-Received: by 10.107.57.68 with HTTP; Fri, 4 Aug 2017 13:26:21 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c06::236 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:113931 Archived-At: One thing I liked about the Mac was that click-to-focus meant exactly that. If you hovered your mouse over a window which didn't have keyboard focus and clicked, it changed keyboard focus, full stop. Said focus-changing click was not also sent to the application. On Linux systems there is a wide enough variety of window managers and one can either switch from click-to-focus to focus-follows-mouse, or find a window manager which "does the right thing." Windows, not so much. I'd never used Windows until landing at my latest job. Despite the fact that they employed me to write software for and on Linux, they placed this Windows computer on my desk. Consequently, I generally run with a bunch of PuTTY windows connected to Linux servers. >From one of those windows I fire up my beloved Emacs with DISPLAY set back to the Windows machine. (The Windows desktop machine runs something called VcXsrv as an X11 server.) I'm now faced with a small problem. Click-to-focus is the rule, but stupid, stupid Windows also insists on passing the same click used to change focus to the application itself. Maybe VcXsrv has some setting I've not discovered (I can't even find the damn thing on the computer.) Is there some way to make it stop? Can Emacs come to the rescue and somehow ignore that initial, point-changing click? Thx, Skip Montanaro