Skip to content

Commit 144a341

Browse files
fix crosswire#1142 using WEBKIT_DISABLE_COMPOSITING_MODE=1.
1 parent 92d7bdf commit 144a341

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/main/main.c

+12
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,18 @@ int main(int argc, char *argv[])
119119
double d;
120120
#endif
121121

122+
// ---------------------------------------------------------
123+
// **** LOUD OBNOXIOUS COMMENT TO GET ATTENTION ****
124+
// **** This a sick hack to get around a WK regression.
125+
// **** https://bugs.webkit.org/show_bug.cgi?id=228268
126+
// **** If WK ever gets this fixed, this should be removed.
127+
/*
128+
* set env.var that causes WK not to screw with nvidia badly.
129+
*/
130+
setenv("WEBKIT_DISABLE_COMPOSITING_MODE", "1", 1);
131+
// **** end of LOUD OBNOXIOUS COMMENT TO GET ATTENTION ****
132+
// ---------------------------------------------------------
133+
122134
// g_thread_init(NULL);
123135
#if !GLIB_CHECK_VERSION(2, 35, 0)
124136
g_type_init(); // g_type_init has been deprecated since version 2.36

0 commit comments

Comments
 (0)