30 lines
961 B
Diff
30 lines
961 B
Diff
--- plugins/single_plugins/switcher.cpp 2020-11-18 15:30:44.970379825 +0100
|
|
+++ plugins/single_plugins/switcher.cpp 2020-11-18 15:30:31.068223026 +0100
|
|
@@ -201,7 +201,8 @@ class WayfireSwitcher : public wf::plugi
|
|
active = true;
|
|
|
|
// grabs shouldn't fail if we could successfully activate plugin
|
|
- assert(grab_interface->grab());
|
|
+ auto grab = grab_interface->grab();
|
|
+ assert(grab);
|
|
|
|
focus_next(dir);
|
|
arrange();
|
|
--- src/view/layer-shell.cpp 2020-11-18 15:30:44.970379825 +0100
|
|
+++ src/view/layer-shell.cpp 2020-11-18 15:30:40.404328323 +0100
|
|
@@ -1,5 +1,6 @@
|
|
#include <algorithm>
|
|
#include <cstring>
|
|
+#include <cstdlib>
|
|
|
|
#include "xdg-shell.hpp"
|
|
#include "wayfire/core.hpp"
|
|
@@ -69,7 +70,7 @@ wf::workspace_manager::anchored_edge anc
|
|
return wf::workspace_manager::ANCHORED_EDGE_RIGHT;
|
|
}
|
|
|
|
- assert(false);
|
|
+ abort();
|
|
}
|
|
|
|
struct wf_layer_shell_manager
|