From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: emacs for pure Gtk3 Date: Wed, 29 Apr 2020 15:01:44 +0200 Message-ID: References: <20200426.165604.2054625945129238824.masm@luna.pink.masm11.me> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="113535"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Yuuki Harano Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 29 15:02:56 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 1jTmMa-000TOF-Pb for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Apr 2020 15:02:56 +0200 Original-Received: from localhost ([::1]:36058 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTmMZ-00023P-QY for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Apr 2020 09:02:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32958) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTmLW-0001M2-Fq for emacs-devel@gnu.org; Wed, 29 Apr 2020 09:01:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTmLV-0000y2-AA for emacs-devel@gnu.org; Wed, 29 Apr 2020 09:01:50 -0400 Original-Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:41000) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jTmLU-0000so-Pu for emacs-devel@gnu.org; Wed, 29 Apr 2020 09:01:48 -0400 Original-Received: by mail-wr1-x42b.google.com with SMTP id g13so2404575wrb.8 for ; Wed, 29 Apr 2020 06:01:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version; bh=29rjL5KTaRxL75IfkIFj8hsc8m1MgTAkb5nEWJg3iUc=; b=ILO1xyix/aR5GW2UqZfiquBSNKac1cOKwf+6UlI1+h46spM+2hl8bysUcW9hbAK5UK Qfi2HwSxvHW+em/8Kwe1Dq9AvOdXgqVXetwMuouAq27JzXYJZD5Qb4eHVjQVf5Jq1N2i sqdWF/C6Bxips2VB9Rb8z/R/di6BTUHa1/2tBD0Wn5LXiYGuIg3l/nw0vA0jhAniTKOo Lta9NXjT0HJUFKqJHW79PD5Thtb+LIkW09j45rAOPY+5LfyFHAPo3P2xVen/vwrY9p5E VoZkmPq0n2ZQYnxmFQ589Y4Ng27QdRU//kByaOwiW8EXyzlZE/E0THjP+sKO7nW280nz ZXmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=29rjL5KTaRxL75IfkIFj8hsc8m1MgTAkb5nEWJg3iUc=; b=Y1sUk3n+gISlwzkb0D3uaiWF2dEM6j98QxrMesDF7yr1ta8EUKuldAdnEdN0iuSySZ V4tjX7orC2fuJ78GBvraadGKRTz9NuQ1S3g+chZEchleXeZHGJgwBwp0HQxQjCeuL+LY D9nIlymWU26q/m+xgzJl6QW7SdhkE16CDnqVpKIo/teMB3SMdHBMz0Xuo7Yj0NFxcqAc kUFjFRy11aqvrHuKOzMXoFHWip9LjZBNQJl5ftIdiok33hrwzvJrrqeXMVh3jCxisVqV KrJPbm77g2yBd3tfBdmlGMssyyVCuZl1tuK89ZLXrKhEFUm/7Ioh9Ti4pIHDGXC2ZmQj JwtQ== X-Gm-Message-State: AGi0PuY0SOxg1nL/yOYi6pKXANJMs7r3RR4MuSv9iKyaC26qlE9tm1mb F2ObC11Ei1oJ3SlMvosZNNC0GqJTTKU= X-Google-Smtp-Source: APiQypLJDhAz9brZyEbf2yQBnwQKEDnymC/VBmZq5EKdIoitSom8d1eYzw3PEbGSVFXlAA33XSDdwA== X-Received: by 2002:adf:dd84:: with SMTP id x4mr42188683wrl.210.1588165306324; Wed, 29 Apr 2020 06:01:46 -0700 (PDT) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:815b:e8d4:705f:b718]) by smtp.gmail.com with ESMTPSA id l4sm29466537wrw.25.2020.04.29.06.01.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Apr 2020 06:01:45 -0700 (PDT) Gmane-Reply-To-List: yes In-Reply-To: <20200426.165604.2054625945129238824.masm@luna.pink.masm11.me> (Yuuki Harano's message of "Sun, 26 Apr 2020 16:56:04 +0900 (JST)") Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=rpluim@gmail.com; helo=mail-wr1-x42b.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2a00:1450:4864:20::42b 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:248127 Archived-At: >>>>> On Sun, 26 Apr 2020 16:56:04 +0900 (JST), Yuuki Harano said: Yuuki> Hi, Yuuki> You may know, I ported emacs for pure Gtk3, especially for wayland native. Yuuki> https://github.com/masm11/emacs Yuuki> I created a new window-system, pgtk, which doesn't use libX11 directly. Yuuki> What do you think? I want to merge to mainline. 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) ))))) Robert