patzy/glop — Issue #12: error on video-mode change
Author: kenanb
Created: 2012-02-26 18:10:25+00:00
State: open

``` cl
(glop-test:TEST-GL-HELLO)
```

pressing "f" when the window is not in fullscreen results in:

``` cl
debugger invoked on a TYPE-ERROR in thread
#:
The value 50 is not of type DOUBLE-FLOAT.

BACKTRACE:
0: (SB-KERNEL::OBJECT-NOT-DOUBLE-FLOAT-ERROR-HANDLER
#
#.(SB-SYS:INT-SAP #X7FFFF6E2F210)
#
(597))
1: (SB-KERNEL:INTERNAL-ERROR
#.(SB-SYS:INT-SAP #X7FFFF6E2ED40)
#)
2: ("foreign function: #x4180DF")
```

if I press "f" when in fullscreen

``` cl
debugger invoked on a UNBOUND-SLOT in thread
#:
The slot GLOP::PREVIOUS-VIDEO-MODE is unbound in the object #.
BACKTRACE:

0: ((SB-PCL::FAST-METHOD SLOT-UNBOUND (T T T))
#
#
#
#
GLOP::PREVIOUS-VIDEO-MODE)
1: (SB-PCL::SLOT-UNBOUND-INTERNAL # 14)
2: (GLOP:TOGGLE-FULLSCREEN #)
3: ((SB-PCL::FAST-METHOD GLOP:ON-KEY (T T T T T))
#
#
#
NIL
41
:F
"f")
4: (GLOP-TEST:TEST-GL-HELLO)
5: (SB-INT:SIMPLE-EVAL-IN-LEXENV (GLOP-TEST:TEST-GL-HELLO) #)
6: (EVAL (GLOP-TEST:TEST-GL-HELLO))
7: (INTERACTIVE-EVAL (GLOP-TEST:TEST-GL-HELLO) :EVAL NIL)
8: (SB-IMPL::REPL-FUN NIL)
9: ((LAMBDA () :IN SB-IMPL::TOPLEVEL-REPL))
...
```

"Xorg -version" results:
X.Org X Server 1.11.4
Release Date: 2012-01-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.2-1-ARCH x86_64
Current Operating System: Linux kenanb 3.2.7-1-ARCH #1 SMP PREEMPT Tue Feb 21 09:51:29 CET 2012 x86_64
Kernel command line: vga=792 root=/dev/disk/by-uuid/bc7d7ef5-6dca-4060-9fd9-d39a35451182 ro
Build Date: 29 January 2012 03:38:00PM