From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Yuuki Harano Newsgroups: gmane.emacs.devel Subject: Re: emacs for pure Gtk3 Date: Thu, 30 Apr 2020 00:17:33 +0900 (JST) Organization: Ingage Inc. Message-ID: <20200430.001733.2054205746312408892.masm@luna.pink.masm11.me> References: <20200426.165604.2054625945129238824.masm@luna.pink.masm11.me> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="92609"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: rpluim@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 29 17:18:52 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jToU7-000NxE-06 for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Apr 2020 17:18:51 +0200 Original-Received: from localhost ([::1]:42770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jToU6-0005bq-21 for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Apr 2020 11:18:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56000) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jToTA-0005BU-Qf for emacs-devel@gnu.org; Wed, 29 Apr 2020 11:17:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jToT9-0006uD-7u for emacs-devel@gnu.org; Wed, 29 Apr 2020 11:17:52 -0400 Original-Received: from shiro.masm11.me ([150.95.182.25]:36854) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jToT8-0006tg-AQ for emacs-devel@gnu.org; Wed, 29 Apr 2020 11:17:50 -0400 Original-Received: from luna.pink.masm11.me (224.232.12.61.ap.yournet.ne.jp [61.12.232.224]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by shiro.masm11.me (Postfix) with ESMTPSA id ED75FC00E3; Thu, 30 Apr 2020 00:17:41 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=masm11.me; s=202002; t=1588173462; bh=Fe7jgPgRv2RJy6cuFo+x0hPkWpaxFfTm16v1AbL8mYQ=; h=Date:To:Cc:Subject:From:In-Reply-To:References; b=Flv/zJjoQbp5rKvFn6j4mh3yQQJvjFfudHCCEFYIM0kCgusjRzr+bFMl021utOwfg zd9Qvi8PH131nJqLuorSsA4KtKtQE57av9b/dNea6HA9fAVkvyooC/lYijLBl9bpbx vayLsPJP7OwxawvK8AmTRKnEpywItIEL75cPAmwQ= In-Reply-To: X-Mailer: Mew version 6.8 on Emacs 28.0 Received-SPF: pass client-ip=150.95.182.25; envelope-from=masm@masm11.me; helo=shiro.masm11.me X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/29 11:17:42 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 150.95.182.25 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:248153 Archived-At: Hi, On Wed, 29 Apr 2020 15:01:44 +0200, Robert Pluim wrote: > I took a look at it, it works well for me here. One issue I noticed is > that the offsets when creating child-frames are being interpreted > relative to the screen, rather than the parent frame, ie code like > this (from > ) > produces a frame in the top left corner of the screen, not at 50+50 > from the top left corner of the frame. > > (defun open-test (buffer) > (display-buffer-in-child-frame > buffer '((child-frame-parameters > . ((width . 40) > (height . 10) > (top . 50) > (left . 50) > ))))) Thank you for testing. Maybe, you tested on X. I reproduced that on X. That code works without the issue on Wayland (Wayfire). I'll debug. -- Yuuki Harano