From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: Why Emacs should have a good web-browser Date: Thu, 09 Jul 2009 19:39:00 +0200 Message-ID: References: <87r5wqvqsn.fsf@stupidchicken.com> <87ocrueqdz.fsf@stupidchicken.com> <4A55E438.9020106@gnu.org> <87ljmxluaj.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1247161170 17276 80.91.229.12 (9 Jul 2009 17:39:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jul 2009 17:39:30 +0000 (UTC) Cc: ferkiwi+a@gmail.com, emacs-devel@gnu.org, Jason Rumney To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 09 19:39:23 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MOxaa-0006FA-HA for ged-emacs-devel@m.gmane.org; Thu, 09 Jul 2009 19:39:21 +0200 Original-Received: from localhost ([127.0.0.1]:41277 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOxaZ-0005BL-UV for ged-emacs-devel@m.gmane.org; Thu, 09 Jul 2009 13:39:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOxaU-0005AV-9a for emacs-devel@gnu.org; Thu, 09 Jul 2009 13:39:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOxaP-00058W-IH for emacs-devel@gnu.org; Thu, 09 Jul 2009 13:39:13 -0400 Original-Received: from [199.232.76.173] (port=46738 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOxaP-00058T-EQ for emacs-devel@gnu.org; Thu, 09 Jul 2009 13:39:09 -0400 Original-Received: from iwfs.imcode.com ([82.115.149.64]:51229 helo=gate.verona.se) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MOxaM-0007Pb-9d; Thu, 09 Jul 2009 13:39:06 -0400 Original-Received: from localhost.localdomain (IDENT:1005@localhost [127.0.0.1]) by gate.verona.se (8.13.4/8.11.4) with ESMTP id n69Hd0Q4023544; Thu, 9 Jul 2009 19:39:00 +0200 In-Reply-To: <87ljmxluaj.fsf@stupidchicken.com> (Chong Yidong's message of "Thu, 09 Jul 2009 12:01:40 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:112250 Archived-At: Chong Yidong writes: > joakim@verona.se writes: > >>> It's not that difficult to handle, you just need to take snapshots of >>> the application's display now and then. The active window contains >>> the real application, and any other windows can contain a snapshot of >>> the display of that program. >> >> This is basically what I'm aiming for with my xwidget patch. The active >> window contains the live component, the other windows contain inactive >> snapshots of the components(currently only grey rectangles in the >> inactive windows). > > Is this "snapshot" handled automatically by X (e.g., as an XEmbed > feature), or is it something that would have to be done "by hand", > e.g. by copying one X bitmap buffer into another? If the latter, > doesn't that mean that clicking on a button in the "copied" application > wouldn't do anything? The copying needs to be done manualy yes. However, the xembedded component is moved to the active window. When clicking on a component in a non-active window, that window becomes active, so the component is moved there, and the previously active window gets a copied component(grey rectangle) instead. -- Joakim Verona