Skip to content

Commit

Permalink
Run backup command if logout doesn't work in fluxbox
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianTM committed Jan 10, 2025
1 parent 2ddb0e1 commit 2b3d949
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
exit-options (25.1.01) mx; urgency=medium

* Fix logout in Fluxbox

-- Adrian <[email protected]> Thu, 09 Jan 2025 20:30:07 -0500

exit-options (25.1) mx; urgency=medium

* Add JWM support
Expand Down
2 changes: 1 addition & 1 deletion mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ void MainWindow::on_pushExit()
const QStringList arguments = commandPair.second;

if (sessionDesktop == "fluxbox") {
if (executeCommand(program, arguments)) {
if (!executeCommand(program, arguments)) {
executeCommand("killall", {"fluxbox"});
commandExecuted = true;
}
Expand Down

0 comments on commit 2b3d949

Please sign in to comment.