Skip to content

Commit

Permalink
restore X11 window opacity
Browse files Browse the repository at this point in the history
  • Loading branch information
nwg-piotr committed Sep 1, 2020
1 parent 0ccfaf7 commit 1a5198c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/nwg_classes.cc
Expand Up @@ -72,6 +72,7 @@ void CommonWindow::check_screen() {
std::cerr << "Your screen does not support alpha channels!\n";
}
_SUPPORTS_ALPHA = (bool)visual;
gtk_widget_set_visual(GTK_WIDGET(gobj()), visual->gobj());
}

void CommonWindow::quit() {
Expand Down

0 comments on commit 1a5198c

Please sign in to comment.