Subject: bug#37570: closed (Re: [bug#37570] [PATCH] gnu: gtk+: Add libxrandr input.)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 09 Oct 2019 16:59:02 +0000

Your bug report

#37570: [PATCH] gnu: gtk+: Add libxrandr input.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
37570: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37570
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#37570] [PATCH] gnu: gtk+: Add libxrandr input.
From: Marius Bakke <[email-masked]>
To: Ingo Ruhnke <[email-masked]>, [email-masked]
Cc: Danny Milosavljevic <[email-masked]>
Date: Wed, 09 Oct 2019 18:58:23 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello Ingo,

Ingo Ruhnke <[email-masked]> writes:

> The issue with Xfce specifically was that "gdk_monitor_get_model()" would
> return NULL instead of the proper name and all the multi-monitor handling
> would fall apart in turn, that seems like an gtk issue, not an Xfce issue.
>
> As for "propagated-inputs", I put it there because that's where all the
> other X11 libraries already are. Don't know exactly why, but it seems to
> cause xrandr show up in the pkgconfig file which it wouldn't otherwise:
>
> pkgconfig/gdk-3.0.pc:
> Requires.private: ... xrandr ...

Thank you very much for this debugging work and patch.  Pushed to the
'staging' branch in 52b61e999101724c7e2d341586e9a6150614f208.

Subject: [PATCH] gnu: gtk+: Add libxrandr input.
From: Ingo Ruhnke <[email-masked]>
To: [email-masked]
Date: Tue, 1 Oct 2019 14:25:32 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

This fixes multi-monitor issues in XFCE and other Gtk+ apps.

* gnu/packages/gtk.scm: Add libxrandr input.
---
 gnu/packages/gtk.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 12972b75df..55c24c774c 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -753,6 +753,7 @@ application suites.")
       ("libxinerama" ,libxinerama)
       ("libxkbcommon" ,libxkbcommon)
       ("libxdamage" ,libxdamage)
+      ("libxrandr" ,libxrandr)
       ("mesa" ,mesa)
       ("pango" ,pango)
       ("wayland" ,wayland)
-- 
2.20.1