From: Mikael Magnusson Date: Fri, 20 May 2022 14:22:44 +0000 (+0200) Subject: Remove incorrect assertion for MoveResizeTo X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=a9f14cd1f3dca3c66147ace50bcf48a4ef56de94;p=mikachu%2Fopenbox.git Remove incorrect assertion for MoveResizeTo This caused gcc to assume the user never specifies a desktop by number, which was not very helpful. Please crash when reaching an assert, thanks. --- diff --git a/openbox/actions/moveresizeto.c b/openbox/actions/moveresizeto.c index 2dbddd54..3b9be704 100644 --- a/openbox/actions/moveresizeto.c +++ b/openbox/actions/moveresizeto.c @@ -118,7 +118,6 @@ static gboolean run_func(ObActionsData *data, gpointer options) case PREV_MONITOR: mon = (cmon == 0) ? (screen_num_monitors - 1) : (cmon - 1); break; default: - g_assert_not_reached(); } area = screen_area(c->desktop, mon, NULL);