diff options
Diffstat (limited to 'test/fullscreen.cxx')
| -rw-r--r-- | test/fullscreen.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/fullscreen.cxx b/test/fullscreen.cxx index 6e0c36e71..a1d837d9a 100644 --- a/test/fullscreen.cxx +++ b/test/fullscreen.cxx @@ -161,6 +161,10 @@ void fullscreen_cb(Fl_Widget *o, void *p) { py = w->y(); pw = w->w(); ph = w->h(); +#ifndef WIN32//necessary because fullscreen removes border + border_button->value(0); + border_button->do_callback(); +#endif w->fullscreen(); } else { w->fullscreen_off(px,py,pw,ph); |
