fix: Re-enable window transparence on Linux (#1357)
This commit is contained in:
parent
7fc2ff3002
commit
c7c05e2621
@ -332,7 +332,6 @@ namespace hex::init {
|
|||||||
glfwWindowHint(GLFW_TRANSPARENT_FRAMEBUFFER, GLFW_TRUE);
|
glfwWindowHint(GLFW_TRANSPARENT_FRAMEBUFFER, GLFW_TRUE);
|
||||||
glfwWindowHint(GLFW_DECORATED, GLFW_FALSE);
|
glfwWindowHint(GLFW_DECORATED, GLFW_FALSE);
|
||||||
glfwWindowHint(GLFW_FLOATING, GLFW_FALSE);
|
glfwWindowHint(GLFW_FLOATING, GLFW_FALSE);
|
||||||
glfwWindowHint(GLFW_SAMPLES, 1);
|
|
||||||
glfwWindowHint(GLFW_CLIENT_API, GLFW_OPENGL_API);
|
glfwWindowHint(GLFW_CLIENT_API, GLFW_OPENGL_API);
|
||||||
|
|
||||||
// Create the splash screen window
|
// Create the splash screen window
|
||||||
|
@ -828,7 +828,6 @@ namespace hex {
|
|||||||
glfwWindowHint(GLFW_TRANSPARENT_FRAMEBUFFER, GLFW_TRUE);
|
glfwWindowHint(GLFW_TRANSPARENT_FRAMEBUFFER, GLFW_TRUE);
|
||||||
glfwWindowHint(GLFW_VISIBLE, GLFW_FALSE);
|
glfwWindowHint(GLFW_VISIBLE, GLFW_FALSE);
|
||||||
glfwWindowHint(GLFW_CLIENT_API, GLFW_OPENGL_API);
|
glfwWindowHint(GLFW_CLIENT_API, GLFW_OPENGL_API);
|
||||||
glfwWindowHint(GLFW_SAMPLES, 1);
|
|
||||||
|
|
||||||
if (restoreWindowPos) {
|
if (restoreWindowPos) {
|
||||||
int maximized = ContentRegistry::Settings::read("hex.builtin.setting.interface", "hex.builtin.setting.interface.window.maximized", GLFW_FALSE);
|
int maximized = ContentRegistry::Settings::read("hex.builtin.setting.interface", "hex.builtin.setting.interface.window.maximized", GLFW_FALSE);
|
||||||
|
Loading…
Reference in New Issue
Block a user