From owner-freebsd-x11@FreeBSD.ORG Fri Sep 5 17:21:20 2014 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 94F50661 for ; Fri, 5 Sep 2014 17:21:20 +0000 (UTC) Received: from ziemba.us (osmtp.ziemba.us [208.106.105.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3CAF31354 for ; Fri, 5 Sep 2014 17:21:19 +0000 (UTC) Received: from hairball.ziemba.us (localhost.ziemba.us [127.0.0.1]) by hairball.ziemba.us (8.14.9/8.14.9) with ESMTP id s85GrMwH066684 for ; Fri, 5 Sep 2014 09:53:22 -0700 (PDT) (envelope-from pz-freebsd-x11@ziemba.us) Received: (from mailnull@localhost) by hairball.ziemba.us (8.14.9/8.14.9/Submit) id s85GrLEk066683 for freebsd-x11@freebsd.org; Fri, 5 Sep 2014 09:53:21 -0700 (PDT) (envelope-from pz-freebsd-x11@ziemba.us) X-Authentication-Warning: hairball.ziemba.us: mailnull set sender to pz-freebsd-x11@ziemba.us using -f Received: (from news@localhost) by usenet.ziemba.us (8.14.5/8.14.5/Submit) id s848HC4k041029 for treehouse-mail-freebsd-x11@hairball.ziemba.us; Thu, 4 Sep 2014 01:17:12 -0700 (PDT) (envelope-from news) From: "G. Paul Ziemba" To: freebsd-x11@freebsd.org Subject: focus stuck after first click Date: Thu, 4 Sep 2014 08:17:12 +0000 (UTC) Message-id: Reply-to: paul+usenet@w6yx.stanford.edu Errors-to: "G. Paul Ziemba" X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2014 17:21:20 -0000 I upgraded from FreeBSD 9.X to 10.X and rebuilt (same) ports in poudriere with a new jail matching the new OS version. Now xorg is unusable because the focus gets stuck to a window almost immediately. Note that I ran the same versions of ports, built in the 9.X jail, on the 10.X system with no problems. Only when I installed the same port versions built in the 10.X jail did this problem show up. I'm hoping someone might suggest where I should look next, as I am out of ideas. I tried different window managers (fvwm and mwm) and the problem occurs with both. In mwm, focus gets stuck after the first mouse click in a non-root window. Before I click the mouse, I can move the mouse around to various xterms and type text in them as long as I don't click. I can also click in the root window and access the mwm menu to start more xterms. In fvwm the mouse pointer starts out already in an xterm and the focus is already stuck (fvwm is configured as "focus follows mouse"). Clicking in the root window does not access the normal menu, but instead, it registers in the xterm that got initial focus (e.g., triple click in root window selects a line in the xterm). Xorg.0.log does not seem to indicate any issues, but I'm not an X guru so it's possible I missed something. The system is running moused, if that makes any difference. vt(9) driver is enabled in /boot/loader.conf via "kern.vty=vt" I can move the mouse pointer all around the screen, but focus is stuck on the initial window that gets clicked on. I ran xev and verified that when I click, there is a "button-up" event after the "button-down" event, so it looks as if mouse clicks are getting generated properly at some low level. Previous OS version: 9.2-stable @259524 Current OS version: 10.0-stable @269217 Ports: portsnap run on July 13, 2014 (I'm not sure how to look up the corresponding svn revision) many thanks! -- G. Paul Ziemba FreeBSD unix: 9:51AM up 1 day, 1:31, 8 users, load averages: 0.52, 0.54, 0.68