slackware-current/source/x/sddm/sddm.list.X11.sessions.before.Wayland.Sessions.diff
Patrick J Volkerding fa5f20fb26 Thu Jan 11 20:27:14 UTC 2024
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.
2024-01-11 22:01:24 +01:00

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() {