From MAILER-DAEMON Sat Dec 16 18:49:52 2017 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1eQMDI-0006I2-D2 for mharc-ratpoison-devel@gnu.org; Sat, 16 Dec 2017 18:49:52 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45424) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQMDG-0006Hs-MP for ratpoison-devel@nongnu.org; Sat, 16 Dec 2017 18:49:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQMDD-0004ax-JP for ratpoison-devel@nongnu.org; Sat, 16 Dec 2017 18:49:50 -0500 Received: from mail-pl0-x22e.google.com ([2607:f8b0:400e:c01::22e]:38115) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eQMDD-0004ZU-CH for ratpoison-devel@nongnu.org; Sat, 16 Dec 2017 18:49:47 -0500 Received: by mail-pl0-x22e.google.com with SMTP id s10so2597411plj.5 for ; Sat, 16 Dec 2017 15:49:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:subject:message-id:mime-version :content-disposition; bh=9xAb6Ky+lFLVVPyll1OiZUBays/l4Ej8H9S/h6dKSBc=; b=XTNwrUZHB3lPcF+WsOcDivUv6T20T1JufWHCOJJ6zH2sjdQSwGwyCTutKoUYDJ/CU3 NqojwIbi9SglI2mymbsFbnFk518m+rwp15QRIaB8o2AadTubn3+6q5K/EJ2QK8Ir8kk3 nZvcQBmydnb2mwLyFpN2bfz/1A7RjiSrPwAUgk646K9wB/Y1PyTIkzUjUt9WNKVe0mbX WsZQedfO+2SUN8XsQOLD95I1cC4CR1UfbGNUIzNq2SXEshE+froTtiGbRv1VP8pwZFcu LCQwrBp6rMUFXZYSS9yORqUB+dAcZHr42mqkrxNdUDe2BjIG7OcNigK7/WvxCaFQqBke DXWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:subject:message-id :mime-version:content-disposition; bh=9xAb6Ky+lFLVVPyll1OiZUBays/l4Ej8H9S/h6dKSBc=; b=iokUHw/4eHzXh4s6OJ61MBhWZiQ9AjyQKLCFHSBe760N6NeAUFPnApYJOzcJdLvuGY FgDKbHFTsy7OcKIb9dkkmaunRi/+3a5yqcUd/0WS96ukSUZcTAO0ep4xsg3rKKxyLLjG mc9/YLY7TmuWGWTdCA3w30Lvtl42KLpGeyURbxzkK7H6Pl9JFQDnhQIb3/CCj6tXl2yq hDpXQdV4R7mBnmG9HMcXkN1czUtdBTI0xlLEvtNaoUFaIm/aaKklJwweluq+Z+nwXDdz m52VEIpGHNOxsaIcEFH37wOl/1qaMbT7hv9p+ricgtz+FW5TYXJacI+YvtsvhuJ2XDP6 jQ1A== X-Gm-Message-State: AKGB3mJhdSaMRcSNO1n4Qs0QM0n8zPOnN481PTNxxWne5sdoVnTb9aZy hcEOmsQT8/br4RXMIAcBUMVbI00E X-Google-Smtp-Source: ACJfBouQ0a7y62jgKTlsmlapS0a0s7s1nB0nIhvqgTif2yAmUtg5qbzqjTFiQdcHvHyehJ640f6ZEg== X-Received: by 10.84.131.65 with SMTP id 59mr12510678pld.156.1513468185961; Sat, 16 Dec 2017 15:49:45 -0800 (PST) Received: from dev.null (d108-172-153-241.bchsia.telus.net. [108.172.153.241]) by smtp.gmail.com with ESMTPSA id h81sm20303522pfh.119.2017.12.16.15.49.44 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 16 Dec 2017 15:49:45 -0800 (PST) Sender: Will Storey Date: Sat, 16 Dec 2017 15:49:43 -0800 From: Will Storey To: ratpoison-devel@nongnu.org Message-ID: <20171216234943.n3ijztkqca3gxcx5@dev.null> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c01::22e Subject: [RP] [PATCH] Add newlines to PRINT_DEBUG calls X-BeenThere: ratpoison-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Discuss the development of the window manager, ratpoison." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Dec 2017 23:49:51 -0000 There were a couple cases we did not end PRINT_DEBUG calls with newlines (barring intentional multi-line prints). --- src/input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/input.c b/src/input.c index c71d58c..db0e823 100644 --- a/src/input.c +++ b/src/input.c @@ -101,7 +101,7 @@ init_xkb (void) if (!use_xkb) PRINT_DEBUG (("Not using XKB, XkbQueryExtension failed\n")); #else - PRINT_DEBUG (("Built with no XKB support.")); + PRINT_DEBUG (("Built with no XKB support.\n")); use_xkb = False; #endif } @@ -565,7 +565,7 @@ get_more_input (char *prompt, char *preinput, int history_id, { read_key (&ch, &modifier, keysym_buf, sizeof (keysym_buf)); modifier = x11_mask_to_rp_mask (modifier); - PRINT_DEBUG (("ch = %ld, modifier = %d, keysym_buf = %s", + PRINT_DEBUG (("ch = %ld, modifier = %d, keysym_buf = %s\n", ch, modifier, keysym_buf)); status = execute_edit_action (line, ch, modifier, keysym_buf); -- 2.11.0 From MAILER-DAEMON Sat Dec 16 19:55:13 2017 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1eQNEX-0000WD-5K for mharc-ratpoison-devel@gnu.org; Sat, 16 Dec 2017 19:55:13 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQNEU-0000Rm-6N for ratpoison-devel@nongnu.org; Sat, 16 Dec 2017 19:55:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQNER-0005gH-1f for ratpoison-devel@nongnu.org; Sat, 16 Dec 2017 19:55:10 -0500 Received: from mail-pl0-x236.google.com ([2607:f8b0:400e:c01::236]:37254) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eQNEQ-0005fG-Qa for ratpoison-devel@nongnu.org; Sat, 16 Dec 2017 19:55:06 -0500 Received: by mail-pl0-x236.google.com with SMTP id s3so2644912plp.4 for ; Sat, 16 Dec 2017 16:55:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:subject:message-id:mime-version :content-disposition; bh=mG/AaStPl9OrqnEk0P9vILsGBxsBhUSItjp2zAgBsik=; b=jKcbiWLbVzv3X42GR1LGzIxHxqDEPzaIte1aDWUzMHn4sVCAnxTb2bSarJEZnXMBpO c9dJeCwTmxBdQSiGTHUCbVBjTanw1TAkS5ZQvGFTv/JEfFyQQOXu2Ce4HN7kk44kxN2w sXJNTe2opl/3cfXkCLuI/3+QOHIV+Lu1mrxchy8qP9JmohJttp9FNZMil1t5gKgWRb6J nNbo4eDsqeZNpsx8SMJQajK2xuFBQNHrPNALv50wbMOg+3BMEqqFkRrAPzrCNNRIkHDn 2mwj9gFnsPKUrys8fakQB8XLky4KYdEcKI01hzCxRcK+RdfZGui4OymQc2sRJxtAgndC wlpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:subject:message-id :mime-version:content-disposition; bh=mG/AaStPl9OrqnEk0P9vILsGBxsBhUSItjp2zAgBsik=; b=L+0sIjTU3WGOehQjxBxBKU90N+hjllU7pgX3I/luLZwFVURI7RRO18V1lZ+drnv1X5 ODz+v/88nfdQVEHAQ7aeM2TNHkNsB65zUQTPyRjdcQ8iXVMvC1N59IyVXLAYAiwpMvgS KALko2OZLbRfUWT1sG4ki+ItHiKqiFO9w+yCRCUvoIwOeO3tuH+CA0ntwFj0m/HNA8Rs vrJKM5oJPir9m9AxnsmbHXo3Hn826YznJUgRc1M0Cx6qP5nvKSFjwM2td/i6AXxN2coR aCYTspczzFYudA32hkSv/6D2y4q/JApo/Us25NOvVYt3ieUjMdO4d/fBnrx37yo4Vyu5 RcmA== X-Gm-Message-State: AKGB3mKjpH7kVYyA1j8aUwcwj98Mks1kvEkSmE06JiQsjdJaq2CzgXj2 wTCoQoqCMbK8whJN8IKN4UJJ3wcf X-Google-Smtp-Source: ACJfBoshRjhIxRoQxmU4b8QFsiffyrZQk9rzeX6mG7TBw9mXd2WfOh2zr5GmvJW752uiOU3ht51fDg== X-Received: by 10.159.229.136 with SMTP id az8mr9921654plb.96.1513472105239; Sat, 16 Dec 2017 16:55:05 -0800 (PST) Received: from dev.null (d108-172-153-241.bchsia.telus.net. [108.172.153.241]) by smtp.gmail.com with ESMTPSA id g19sm17498926pfb.65.2017.12.16.16.55.04 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 16 Dec 2017 16:55:04 -0800 (PST) Sender: Will Storey Date: Sat, 16 Dec 2017 16:55:02 -0800 From: Will Storey To: ratpoison-devel@nongnu.org Message-ID: <20171217005502.zxd266i2ks2zbuwy@dev.null> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c01::236 Subject: [RP] [PATCH] Query for dimensions to apply to the screen when receiving an XRRCrtcChangeNotifyEvent X-BeenThere: ratpoison-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Discuss the development of the window manager, ratpoison." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Dec 2017 00:55:11 -0000 When receiving this event, we're told the dimensions of the CRTC. These dimensions apparently do not reflect the actual dimensions of the CRTC. This means ratpoison's knowledge of screen size can be inaccurate and ratpoison will use only a portion of the screen. This change makes us query for the dimensions of the CRTC and then use those rather than use the dimensions provided by the event. This addresses a problem with different sized screens after using the xrandr command. In my setup I have two different sized screens with different DPIs (a laptop and a monitor). Upon logging on, I issue an xrandr command to scale the monitor's output. Prior to this change, ratpoison used only part of the monitor after doing this (the top left). Restarting ratpoison is a workaround to make it aware of the monitor's dimensions, but an unsatisfactory one. I believe the issue stems from scaling for mixed DPI. The CRTC change event appears to have a width and height prior to applying scaling (2x2) (1920x1080 vs. 3840x2160 in my case). --- src/xrandr.c | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/src/xrandr.c b/src/xrandr.c index 5ddf082..db9946d 100644 --- a/src/xrandr.c +++ b/src/xrandr.c @@ -209,25 +209,49 @@ static void xrandr_crtc_change (XRRCrtcChangeNotifyEvent *ev) { rp_screen *screen; + XRRScreenResources *screen_resources; + XRRCrtcInfo *crtc_info; if (!ev->crtc || !ev->width || !ev->height) return; screen = xrandr_screen_crtc (ev->crtc); - PRINT_DEBUG (("%s: crtc %s, rotation %s " + PRINT_DEBUG (("%s: crtc %lu %s, rotation %s " "ev->x %d, ev->y %d, ev->width %d, ev->height %d\n", - __func__, screen ? "found" : "not found", + __func__, ev->crtc, screen ? "found" : "not found", xrandr_rotation_string (ev->rotation), ev->x, ev->y, ev->width, ev->height)); if (!screen) return; + /* While the event has position and dimension information, it is not always + * correct. Query and get the correct information. This particularly appears + * to happen when scaling an output. */ + screen_resources = XRRGetScreenResourcesCurrent (dpy, RootWindow (dpy, + DefaultScreen (dpy))); + if (!screen_resources) { + PRINT_ERROR (("%s: XRRGetScreenResources() failed\n", __func__)); + return; + } + + crtc_info = XRRGetCrtcInfo (dpy, screen_resources, screen->xrandr.crtc); + if (!crtc_info) { + PRINT_ERROR (("%s: XRRGetCrtcInfo() failed\n", __func__)); + XRRFreeScreenResources (screen_resources); + return; + } + if (ev->rotation == RR_Rotate_90 || ev->rotation == RR_Rotate_270) - screen_update (screen, ev->x, ev->y, ev->height, ev->width); + screen_update (screen, crtc_info->x, crtc_info->y, crtc_info->height, + crtc_info->width); else - screen_update (screen, ev->x, ev->y, ev->width, ev->height); + screen_update (screen, crtc_info->x, crtc_info->y, crtc_info->width, + crtc_info->height); + + XRRFreeScreenResources (screen_resources); + XRRFreeCrtcInfo (crtc_info); } void -- 2.11.0 From MAILER-DAEMON Fri Dec 29 15:25:30 2017 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1eV1De-0007EX-Rf for mharc-ratpoison-devel@gnu.org; Fri, 29 Dec 2017 15:25:30 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58923) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eV1Db-0007EI-UI for ratpoison-devel@nongnu.org; Fri, 29 Dec 2017 15:25:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eV1Da-0001rJ-Rv for ratpoison-devel@nongnu.org; Fri, 29 Dec 2017 15:25:27 -0500 Received: from mail-ua0-x22b.google.com ([2607:f8b0:400c:c08::22b]:38939) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eV1Da-0001qx-Nk for ratpoison-devel@nongnu.org; Fri, 29 Dec 2017 15:25:26 -0500 Received: by mail-ua0-x22b.google.com with SMTP id e19so7511022uam.6 for ; Fri, 29 Dec 2017 12:25:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ucBdI82cyYA2SY4zJazDsJ8yZJBp3+X1iwoR5Y7BVLc=; b=DoDFIyqCEZmAy56rUlUREJObfa4jSszMxN90X+wWtOV1QfP0ugCpWaye+uVrKbuwHo bOyU0u7FouQu9ctw+53THMcNtDYEOJTuTviuZvRuB24Ag/kOBKyuP/N16cHJGWDA6E3r UFs4qriYMs3O0c7MQne8OTg6AC8I3MYcEZkWpkJ8prEH1wg4GgHrW0vT5wy9HgLikqxH XJ2CHZM6v8ZfdlgQMpJ/Me27aEoUZlc3Tw+ZYWg2UGPHqTOQ0IkBt8cFiC+rsAUoi5K8 KOIm12XmqFGATyLTypv5+LaMV7aWwV6kIOJ/N0Wsb+3ymNork+o7Na69wzotfUqKxrJ5 a2/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ucBdI82cyYA2SY4zJazDsJ8yZJBp3+X1iwoR5Y7BVLc=; b=UKxv2cdUoDSpx2dRt64z0h6jniMBMKpZgYW/6kMaNBdtA1WMToS64ZzqqFmaS/0Y8o 4DcGhP0BIXI8UpubMtgtotGFa8/2FCFgOBmTjOy/cE3oM83NHhCFgd97Kf03qNFCQMQa 2SS82HkHn66L93w7azDuW2/wKIhY5KEkPYkQuARs9TU3UgbNX5DQfsi97Tke4opKMlEN pe3aSZfix+XiNdCtVLO5SiXD4VzPKMHWojF/0QKPJZ4p1ZFe78iKWs65rge+VvGHdT94 ESzvvnhEjo7eYuPssaUMhvURLojrm6fdnBbcr/t2r56JolBttZ/yPcukFWJynUd3vv0y 2EHw== X-Gm-Message-State: AKGB3mKaGogOQoI8zQ+yKfawG7O146TOyybn2ng5TwtpR3BzfoER262Z yAg5SD0bbv/jK0bm2bEYvjp12rKGcFxFfLIfhGhYtw== X-Google-Smtp-Source: ACJfBosmCvd8nhFLbUwFu68Zj1PSCPtYd1R0PPWd/grVWnRzSgStNvKBwMZ2Y9Sq97qCwzWgt9H6wEBy0lVWYWX62EA= X-Received: by 10.176.3.193 with SMTP id 59mr39255403uau.84.1514579125965; Fri, 29 Dec 2017 12:25:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.159.59.211 with HTTP; Fri, 29 Dec 2017 12:25:25 -0800 (PST) In-Reply-To: <20110414151950.GA5286@lixeiro> References: <87lj0jh6ig.fsf@transitory.lefae.org> <20110413143757.GA18047@lixeiro> <87d3kqqcse.fsf@transitory.lefae.org> <20110414151950.GA5286@lixeiro> From: Joe Corneli Date: Fri, 29 Dec 2017 20:25:25 +0000 Message-ID: To: Lincoln de Sousa Cc: ratpoison-devel@nongnu.org Content-Type: text/plain; charset="UTF-8" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400c:c08::22b Subject: Re: [RP] Ratpoison Under Gnome X-BeenThere: ratpoison-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Discuss the development of the window manager, ratpoison." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Dec 2017 20:25:29 -0000 On Thu, Apr 14, 2011 at 3:19 PM, Lincoln de Sousa wrote: > Well, I'm not sure this feature (ewmh support) is useful for most of > ratpoison users. I'd be glad to improve it in that branch if people that > actually maintains rp find it a good idea :) I'm just a long-term user but I do think it would be useful to add the feature if it doesn't disrupt anything else. In particular EWMH support seems to be needed for sensible integration with the arbtt task tracker. Similar issues apply to xmonad, which *does* have an EWMH extension (but it needs to be turned on to work with arbtt): https://lists.nomeata.de/archive/arbtt/2011/000124.html Lincoln's circa 2010 code adding EWMH support to RP is here, but I couldn't immediately get the code in this repo to build. https://github.com/ivoarch/ratpoison/commit/639d554930505ef4a898a5348f24ebb1e23a5693 From MAILER-DAEMON Sat Dec 30 10:36:26 2017 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1eVJBS-00041K-JU for mharc-ratpoison-devel@gnu.org; Sat, 30 Dec 2017 10:36:26 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42206) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eVIj4-0007YD-CV for ratpoison-devel@nongnu.org; Sat, 30 Dec 2017 10:07:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eVIj3-00048g-2q for ratpoison-devel@nongnu.org; Sat, 30 Dec 2017 10:07:06 -0500 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:37013) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eVIj2-00045t-PC for ratpoison-devel@nongnu.org; Sat, 30 Dec 2017 10:07:05 -0500 Received: by mail-wm0-x244.google.com with SMTP id f140so51776703wmd.2 for ; Sat, 30 Dec 2017 07:07:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=clarete-li.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Osiqy2jtktwRgKT5AF3dr30r37LDWJCU600B+6x5V2U=; b=maIyRgmVss4XioYQ7++14EwisPp7tjlYT1zKUe95iF/JTyn38m+kQbNgvarnsVn3+M 0rwDwpRLo03zJ7ht0COWY6uKS+ZBB5JsSlOBJkoiy0OOnT40aBKd9CHAUEvEL20jCvsT cDM0/Y775r2nd5/QVD+JWrzS4Ifbj2bqB8MYyPuGsVcTVpc5wWZ+6RBj+SeniX/jcomM xvzZEPESnBVMBfPBntw9/dBd+WXYCb+2yIJlnAjIYrj9FGf/DTeyyN6lUsDiq5zT8VZa 2VdpW3UeLZ9a1NOMkR3FmdLFgW8wIGrRyIQ9QWXF92X+0BB+vORIa5tlAr/mCxI4sjvP GrwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Osiqy2jtktwRgKT5AF3dr30r37LDWJCU600B+6x5V2U=; b=TsJrCaN2jxA/S+LYg4jyY9LTFQcdUQMQ4ViDR8CzzDusC/98R9T6DUYw0PIdMVXwAZ 1xe5BZRKK96wR2msN6QpyDALNexL05/4JhaPuQjPKrksjFkHF3u9D1fLyL55iBQLaXFm DcqwAO65Yhbad8g9SX6PxJgD5zFTFLy/IRL2cq95hniD43cqFC+xvg7XkTAxwzCVSmvh VpKtnrDFZEzxR4+c+QGzWCu5sV0fdVH3eUWnSGMHlK951kQlsAsRhzNlrcYxd3Yokvcg YTxliRM9DWcjNflmcofevkUXZ7gxmOx58vGca3QM+ZkmfIlixdQHeuXq7hG+rcf9ZWOt EZWw== X-Gm-Message-State: AKGB3mJ6+MjRxXycqTTTGo0AI4i8TTGVsVtkr/3uexcPqMZWTzUGhXbJ ZU3h5QIioq2xBb7AGtmhwjBdk0lR36vIsS2vNgvMmg== X-Google-Smtp-Source: ACJfBosMSLpdzRecCQXMPap8mcwoqi+RxfQ7jiITnVfSpE6pp7a+jagIYGM2N9eHpNO9b4735fYBIQ1V0m8hNtkKHtM= X-Received: by 10.80.146.51 with SMTP id i48mr51623509eda.198.1514646422562; Sat, 30 Dec 2017 07:07:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.241.209 with HTTP; Sat, 30 Dec 2017 07:06:42 -0800 (PST) In-Reply-To: References: <87lj0jh6ig.fsf@transitory.lefae.org> <20110413143757.GA18047@lixeiro> <87d3kqqcse.fsf@transitory.lefae.org> <20110414151950.GA5286@lixeiro> From: Lincoln Clarete Date: Sat, 30 Dec 2017 10:06:42 -0500 Message-ID: To: Joe Corneli Cc: ratpoison-devel@nongnu.org Content-Type: multipart/alternative; boundary="f403045c29d2fa3c530561901977" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::244 X-Mailman-Approved-At: Sat, 30 Dec 2017 10:36:25 -0500 Subject: Re: [RP] Ratpoison Under Gnome X-BeenThere: ratpoison-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Discuss the development of the window manager, ratpoison." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Dec 2017 15:07:07 -0000 --f403045c29d2fa3c530561901977 Content-Type: text/plain; charset="UTF-8" On Fri, Dec 29, 2017 at 3:25 PM, Joe Corneli wrote: > On Thu, Apr 14, 2011 at 3:19 PM, Lincoln de Sousa > wrote: > > > Well, I'm not sure this feature (ewmh support) is useful for most of > > ratpoison users. I'd be glad to improve it in that branch if people that > > actually maintains rp find it a good idea :) > > I'm just a long-term user but I do think it would be useful to add the > feature if it doesn't disrupt anything else. > > In particular EWMH support seems to be needed for sensible integration > with the arbtt task tracker. > > Similar issues apply to xmonad, which *does* have an EWMH extension > (but it needs to be turned on to work with arbtt): > https://lists.nomeata.de/archive/arbtt/2011/000124.html > > Lincoln's circa 2010 code adding EWMH support to RP is here, but I > couldn't immediately get the code in this repo to build. > https://github.com/ivoarch/ratpoison/commit/639d554930505ef4a898a5348f24eb > b1e23a5693 > Hi Joe, thanks for summoning me from the past. I rebased my code on top of the last commit from master. It's available here: https://github.com/clarete/ratpoison/tree/ewmh Also, thanks a lot for referencing arbtt, I really needed something like that. I'll see if I can fit that into my workflow! Cheers & Happy Holidays, -- Lincoln --f403045c29d2fa3c530561901977 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On F= ri, Dec 29, 2017 at 3:25 PM, Joe Corneli <holtzermann17@gmail.com> wrote:
On= Thu, Apr 14, 2011 at 3:19 PM, Lincoln de Sousa <lincoln@comum.org> wrote:

> Well, I'm not sure this feature (ewmh support) is useful for most = of
> ratpoison users. I'd be glad to improve it in that branch if peopl= e that
> actually maintains rp find it a good idea :)

I'm just a long-term user but I do think it would be useful to add the<= br> feature if it doesn't disrupt anything else.

In particular EWMH support seems to be needed for sensible integration
with the arbtt task tracker.

Similar issues apply to xmonad, which *does* have an EWMH extension
(but it needs to be turned on to work with arbtt):
https://lists.nomeata.de/archive/arbtt/2= 011/000124.html

Lincoln's circa 2010 code adding EWMH support to RP is here, but I
couldn't immediately get the code in this repo to build.
https://github.c= om/ivoarch/ratpoison/commit/639d554930505ef4a898a5348f24ebb1= e23a5693

Hi Joe, thanks for summoning me from the past. I rebased my c= ode on top of the last commit from master. It's available here:


Also, thanks a lot for referencing arbtt, I really n= eeded something like that. I'll see if I can fit that into my workflow!=

Cheer= s & Happy Holidays,
=C2=A0-- Lincoln

--f403045c29d2fa3c530561901977--