Skip to content

Commit a5c28aa

Browse files
committed
fix: position of desktop glass pane with mirroring
- on Wayland, a widget can only positioned to a specific screen if it is full-screen - when control screen was to the right of the display screen, the position changed when mirroring was enabled - always show the glass pane as full-screen to fix this Signed-off-by: letsfindaway <me@letsfindaway.de>
1 parent f1a57aa commit a5c28aa

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/desktop/UBDesktopAnnotationController.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -360,13 +360,7 @@ void UBDesktopAnnotationController::showWindow()
360360

361361
UBDrawingController::drawingController()->setStylusTool(mDesktopStylusTool);
362362

363-
#ifndef Q_OS_LINUX
364363
UBPlatformUtils::showFullScreen(mTransparentDrawingView);
365-
#else
366-
// this is necessary to avoid hiding the panels on Unity and Cinnamon
367-
// if finer control is necessary, use qgetenv("XDG_CURRENT_DESKTOP")
368-
mTransparentDrawingView->show();
369-
#endif
370364
UBPlatformUtils::hideMenuBarAndDock();
371365

372366
mDesktopPalette->appear();

0 commit comments

Comments
 (0)