view: Set opaque when going fullscreen

dev
Kristian Høgsberg 14 years ago
parent 3be87d1931
commit b3bef626ce
  1. 5
      clients/view.c

@ -60,6 +60,11 @@ view_draw(struct view *view)
PopplerPage *page; PopplerPage *page;
double width, height, doc_aspect, window_aspect, scale; 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_draw(view->window);
window_get_child_allocation(view->window, &allocation); window_get_child_allocation(view->window, &allocation);

Loading…
Cancel
Save