mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-07-21 14:52:04 +00:00
[client] wayland: fix fullscreen option launch bug
This commit is contained in:
@@ -172,9 +172,16 @@ static bool waylandInit(const LG_DSInitParams params)
|
||||
params.borderless, params.resizable))
|
||||
return false;
|
||||
|
||||
if (!waylandEGLInit(params.w, params.h))
|
||||
int width, height;
|
||||
wlWm.desktop->getSize(&width, &height);
|
||||
|
||||
if (!waylandEGLInit(waylandScaleMulInt(wlWm.scale, width),
|
||||
waylandScaleMulInt(wlWm.scale, height)))
|
||||
return false;
|
||||
|
||||
app_handleResizeEvent(width, height, waylandScaleToDouble(wlWm.scale),
|
||||
(struct Border) {0, 0, 0, 0});
|
||||
|
||||
waylandIconInit();
|
||||
|
||||
#ifdef ENABLE_OPENGL
|
||||
|
||||
Reference in New Issue
Block a user