diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-03-14 03:06:20 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-03-14 03:08:02 +0100 |
commit | 581dbd784a5f6bdd1b064e44e27066ce687f5dd8 (patch) | |
tree | 47ea9153c1079ea6abe53b043451ab2efba6cd6b /examples/logarithmic | |
parent | reduce allocations in drm (diff) | |
download | blueshift-581dbd784a5f6bdd1b064e44e27066ce687f5dd8.tar.gz blueshift-581dbd784a5f6bdd1b064e44e27066ce687f5dd8.tar.bz2 blueshift-581dbd784a5f6bdd1b064e44e27066ce687f5dd8.tar.xz |
add ttymode support for all examples missing it and uses randr or vidmode, except the xmonad example becuase xmonad does not run in tty1.10
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | examples/logarithmic | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/logarithmic b/examples/logarithmic index 8dc137e..7113534 100644 --- a/examples/logarithmic +++ b/examples/logarithmic @@ -19,6 +19,6 @@ manipulate(lambda x : math.log(x + 1, 2)) standardise() # Apply settings, using vidmode. -vidmode() -#randr() +(drm if ttymode else vidmode)() +#(drm if ttymode else randr)() |