diff options
author | Jeroen Roovers <jer@gentoo.org> | 2016-11-18 08:29:10 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2016-11-18 08:29:10 +0100 |
commit | bc683f28f98b6ce65e2db5e8fa7c86cf02cf3dbd (patch) | |
tree | a6fda78426d32b656d4c0995dff6e3ae12294b13 /x11-misc/nitrogen/files | |
parent | www-client/opera-developer: Version bump. (diff) | |
download | gentoo-bc683f28f98b6ce65e2db5e8fa7c86cf02cf3dbd.tar.gz gentoo-bc683f28f98b6ce65e2db5e8fa7c86cf02cf3dbd.tar.bz2 gentoo-bc683f28f98b6ce65e2db5e8fa7c86cf02cf3dbd.zip |
x11-misc/nitrogen: Fix USE=-xinerama compile failure.
Package-Manager: portage-2.3.2
Diffstat (limited to 'x11-misc/nitrogen/files')
-rw-r--r-- | x11-misc/nitrogen/files/nitrogen-1.6.0-xinerama.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/x11-misc/nitrogen/files/nitrogen-1.6.0-xinerama.patch b/x11-misc/nitrogen/files/nitrogen-1.6.0-xinerama.patch new file mode 100644 index 000000000000..eaf06b69c2c7 --- /dev/null +++ b/x11-misc/nitrogen/files/nitrogen-1.6.0-xinerama.patch @@ -0,0 +1,18 @@ +--- a/src/main.cc ++++ b/src/main.cc +@@ -146,6 +146,7 @@ + + if (setter_str == "xwindows") + setter = new SetBGXWindows(); ++#ifdef USE_XINERAMA + else if (setter_str == "xinerama") { + setter = new SetBGXinerama(); + +@@ -156,6 +157,7 @@ + xinerama_info = XineramaQueryScreens(GDK_DISPLAY_XDISPLAY(dpy->gobj()), &xinerama_num_screens); + ((SetBGXinerama*)setter)->set_xinerama_info(xinerama_info, xinerama_num_screens); + } ++#endif /* USE_XINERAMA */ + else if (setter_str == "gnome") + setter = new SetBGGnome(); + else if (setter_str == "pcmanfm") |