view: Set opaque when going fullscreen
This commit is contained in:
parent
3be87d1931
commit
b3bef626ce
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue