Commit 7d2db21b authored by Daniel Kochmański's avatar Daniel Kochmański
Browse files

Merge branch 'master' into 'master'

Use open-default-display instead of open-display.

See merge request !6
parents c6f0bc4d b7e8e96c
......@@ -69,7 +69,7 @@
(with-slots (display screen window height-pixels width-pixels
stipple-gc default-grab-cursor color-p port-name) port
(setf port-name (list host display-number nscreen))
(setf display #-Allegro (xlib:open-display host :display display-number)
(setf display #-Allegro (xlib:open-default-display)
#+Allegro (open-display-with-auth host :display-number display-number))
(fill-keycode->modifier-state display)
(fill-clim-modifier-key-index->x-state display)
  • This commit breaks clim-tos on Windows and SBCL, because the definition of xlib::get-default-display that gets called from xlib:open-default-display is wrapped in #+unix, and :unix is not present in *features* on Windows, so xlib::get-default-display ends up undefined. Oddly, this doesn't stop McCLIM from working on the same configuration.

Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment