mirror of
git://slackware.nl/current.git
synced 2024-12-28 09:59:53 +01:00
fa5f20fb26
ap/mpg123-1.32.4-x86_64-1.txz: Upgraded. l/nodejs-20.11.0-x86_64-1.txz: Upgraded. l/pipewire-1.0.1-x86_64-1.txz: Upgraded. x/mesa-23.3.3-x86_64-1.txz: Upgraded. x/sddm-0.20.0-x86_64-4.txz: Rebuilt.
29 lines
1.2 KiB
Diff
29 lines
1.2 KiB
Diff
--- ./src/greeter/SessionModel.cpp.orig 2023-06-23 07:28:38.000000000 -0500
|
|
+++ ./src/greeter/SessionModel.cpp 2023-07-16 14:56:32.741943650 -0500
|
|
@@ -46,9 +46,9 @@
|
|
|
|
// initial population
|
|
beginResetModel();
|
|
+ populate(Session::X11Session, mainConfig.X11.SessionDir.get());
|
|
if (dri_active)
|
|
populate(Session::WaylandSession, mainConfig.Wayland.SessionDir.get());
|
|
- populate(Session::X11Session, mainConfig.X11.SessionDir.get());
|
|
endResetModel();
|
|
|
|
// refresh everytime a file is changed, added or removed
|
|
@@ -59,13 +59,13 @@
|
|
beginResetModel();
|
|
d->sessions.clear();
|
|
d->displayNames.clear();
|
|
+ populate(Session::X11Session, mainConfig.X11.SessionDir.get());
|
|
if (dri_active)
|
|
populate(Session::WaylandSession, mainConfig.Wayland.SessionDir.get());
|
|
- populate(Session::X11Session, mainConfig.X11.SessionDir.get());
|
|
endResetModel();
|
|
});
|
|
- watcher->addPaths(mainConfig.Wayland.SessionDir.get());
|
|
watcher->addPaths(mainConfig.X11.SessionDir.get());
|
|
+ watcher->addPaths(mainConfig.Wayland.SessionDir.get());
|
|
}
|
|
|
|
SessionModel::~SessionModel() {
|