ports/x11/lumina-core/files/patch-lumina-desktop_LPanel.cpp
Jason W. Bacon f096655c79 x11/lumina-core: Fix LScreensaver password check
lumina-checkpass was disabled in the previous build, causing the
screensaver to unlock on any input rather than just the correct pw.

Also removed xscreensaver dep, replaced by LScreensaver.

LPanel patch is a hack to redraw the panel after screen resize.  Makes
Lumina usable, though still not pretty, in a VirtualBox guest with
guest additions.  Still needs wallpaper redraw.

PR:             262320
Approved by:    lbartoletti
2022-03-03 18:58:34 -06:00

14 lines
777 B
C++

--- lumina-desktop/LPanel.cpp.orig 2021-12-26 02:33:45 UTC
+++ lumina-desktop/LPanel.cpp
@@ -74,7 +74,10 @@ LPanel::LPanel(QSettings *file, QString scr, int num,
//panelArea->setWindowOpacity(1.0); //fully opaque for the widget on top (apply stylesheet transparencies)
}
QTimer::singleShot(1,this, SLOT(UpdatePanel()) );
- //connect(screen, SIGNAL(resized(int)), this, SLOT(UpdatePanel()) ); //in case the screen resolution changes
+ // This apparently should not be necessary, but the main panel does not
+ // redraw reliably without it. Be sure to fully test resizing a
+ // FreeBSD VirtualBox guest before replacing this.
+ connect(screen, SIGNAL(resized(int)), this, SLOT(UpdatePanel()) ); //in case the screen resolution changes
}
LPanel::~LPanel(){