diff options
author | Lluís Batlle i Rossell <viric@viric.name> | 2013-04-04 23:32:53 +0200 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@viric.name> | 2013-04-04 23:32:53 +0200 |
commit | 5aacc334066f1bb0922ef6b9bba7117dbe1c6cbe (patch) | |
tree | fc38649f612ba02039413670811fb280d32daa7b /pkgs/applications/window-managers/dwm | |
parent | 3db052eb7a41db596ada9db3b89748c6ada55ca8 (diff) |
dwm: fix SDL games with fullscreen
It worked quite bad when the game resolution was different than the
current.
Diffstat (limited to 'pkgs/applications/window-managers/dwm')
-rw-r--r-- | pkgs/applications/window-managers/dwm/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/applications/window-managers/dwm/default.nix b/pkgs/applications/window-managers/dwm/default.nix index db4692683507..82eb9e56935f 100644 --- a/pkgs/applications/window-managers/dwm/default.nix +++ b/pkgs/applications/window-managers/dwm/default.nix @@ -1,7 +1,10 @@ {stdenv, fetchurl, libX11, libXinerama, patches ? []}: -stdenv.mkDerivation rec { +let name = "dwm-6.0"; +in +stdenv.mkDerivation { + inherit name; src = fetchurl { 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''; # Allow users set their own list of patches - inherit patches; + patches = [ ./confnotify-6.0.patch ] ++ patches; buildPhase = " make "; |