dwm: fix SDL games with fullscreen
It worked quite bad when the game resolution was different than the current.
This commit is contained in:
parent
3db052eb7a
commit
5aacc33406
@ -1,7 +1,10 @@
|
|||||||
{stdenv, fetchurl, libX11, libXinerama, patches ? []}:
|
{stdenv, fetchurl, libX11, libXinerama, patches ? []}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
name = "dwm-6.0";
|
name = "dwm-6.0";
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
inherit name;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://dl.suckless.org/dwm/${name}.tar.gz";
|
url = "http://dl.suckless.org/dwm/${name}.tar.gz";
|
||||||
@ -13,7 +16,7 @@ stdenv.mkDerivation rec {
|
|||||||
prePatch = ''sed -i "s@/usr/local@$out@" config.mk'';
|
prePatch = ''sed -i "s@/usr/local@$out@" config.mk'';
|
||||||
|
|
||||||
# Allow users set their own list of patches
|
# Allow users set their own list of patches
|
||||||
inherit patches;
|
patches = [ ./confnotify-6.0.patch ] ++ patches;
|
||||||
|
|
||||||
buildPhase = " make ";
|
buildPhase = " make ";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user