X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fpenrose.c;h=6b07d8ca65e722e6e462b91681167cf83b890ac8;hp=eedf0fdffe9aee95351b756e40c596e6fc85627d;hb=6f5482d73adb0165c0130bb47d852644ab0c4869;hpb=c70f94f648d51bb4828193124f325fa52b0e57f3 diff --git a/hacks/penrose.c b/hacks/penrose.c index eedf0fdf..6b07d8ca 100644 --- a/hacks/penrose.c +++ b/hacks/penrose.c @@ -89,7 +89,6 @@ If one of these are hit penrose will reinitialize. "*fpsSolid: true \n" \ # define refresh_penrose 0 -# define reshape_penrose 0 # define penrose_handle_event 0 # include "xlockmore.h" /* from the xscreensaver distribution */ #else /* !STANDALONE */ @@ -1329,6 +1328,14 @@ draw_penrose(ModeInfo * mi) } +ENTRYPOINT void +reshape_penrose(ModeInfo * mi, int width, int height) +{ + tiling_c *tp = &tilings[MI_SCREEN(mi)]; + tp->width = width; + tp->height = height; +} + /* Total clean-up. */ ENTRYPOINT void release_penrose(ModeInfo * mi)