Skip to content

Commit

Permalink
gtk4: use cairo only for now
Browse files Browse the repository at this point in the history
see #1027
  • Loading branch information
Chilledheart committed Jun 28, 2024
1 parent 65561c1 commit c50bd28
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/gtk4/yass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@ int main(int argc, const char** argv) {

SetUpGLibLogHandler();

// buggy opengl accelerator for gtk4 see #1027
// disable opengl accelerator for now
if (getenv("GDK_DEBUG") == nullptr && getenv("GSK_RENDERER") == nullptr) {
setenv("GSK_RENDERER", "cairo", 1);
}

auto app = YASSApp::create();

mApp = app.get();
Expand Down

0 comments on commit c50bd28

Please sign in to comment.