view: Set opaque when going fullscreen

This commit is contained in:
Kristian Høgsberg 2011-05-13 13:52:18 -04:00
parent 3be87d1931
commit b3bef626ce
1 changed files with 5 additions and 0 deletions

View File

@ -60,6 +60,11 @@ view_draw(struct view *view)
PopplerPage *page;
double width, height, doc_aspect, window_aspect, scale;
if (view->fullscreen)
window_set_transparent(view->window, 0);
else
window_set_transparent(view->window, 1);
window_draw(view->window);
window_get_child_allocation(view->window, &allocation);