Hello,
by default all SDL (therefore all love2d) applications sends a hint to the system to bypass the compositor. When making program in C/C++ this behavior can be changed via following line in code:
if love.system.getOS() == "linux" then
local ffi = require("ffi")
ffi.cdef[[
int setenv(const char*, const char*, int);
]]
ffi.C.setenv("SDL_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR", "0")
end
function love.conf( Settings )
local FFI = require("ffi")
if FFI.os == "Linux" then
FFI.cdef[[
int setenv(const char*, const char*, int);
]]
FFI.C.setenv( "SDL_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR", "0", 1 )
end
-- The rest of your conf stuff below...
Settings.console = true
end