Skip to content

Commit

Permalink
fix: the offset problem when dual-screen non-alignment
Browse files Browse the repository at this point in the history
fix the offset problem when dual-screen non-alignment

Log: fix the offset problem when dual-screen non-alignment
Bug: https://pms.uniontech.com/bug-view-275805.html
  • Loading branch information
starhcq authored and deepin-bot[bot] committed Oct 14, 2024
1 parent dad3008 commit b1b6815
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/screenshot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ void Screenshot::startScreenshot()
m_window.initAttributes();
m_window.initResource();
m_window.initLaunchMode(m_launchMode);
m_window.showFullScreen();
if (Utils::isWaylandMode){
m_window.showNormal();
}else {
m_window.showFullScreen();
}
//平板模式截图录屏
if (Utils::isTabletEnvironment) {
if (QString("screenRecord") == m_launchMode) {
Expand Down

0 comments on commit b1b6815

Please sign in to comment.