Skip to content

Commit

Permalink
fix xdgsurface size is abnormal after output scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
lbwtw authored and zccrs committed Nov 6, 2024
1 parent b78d6ad commit f79b48d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/tinywl/helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
#include <qwgammacontorlv1.h>
#include <qwbuffer.h>
#include <qwdatacontrolv1.h>
#include <qwviewporter.h>

#include <QGuiApplication>
#include <QQmlApplicationEngine>
Expand Down Expand Up @@ -270,6 +271,7 @@ void Helper::init()
m_compositor = qw_compositor::create(*m_server->handle(), 6, *m_renderer);
qw_subcompositor::create(*m_server->handle());
qw_screencopy_manager_v1::create(*m_server->handle());
qw_viewporter::create(*m_server->handle());
m_renderWindow->init(m_renderer, m_allocator);

// for xwayland
Expand Down

0 comments on commit f79b48d

Please sign in to comment.