diff options
Diffstat (limited to 'src/app.hpp')
-rw-r--r-- | src/app.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/app.hpp b/src/app.hpp index c8ea01b..297b6af 100644 --- a/src/app.hpp +++ b/src/app.hpp @@ -120,10 +120,10 @@ struct App { // ID allocation and proxy methods for lookup struct id_allocator id_alloc; - optional<unsigned> lookup_id(char const *name) { + optional<int> lookup_id(char const *name) { return this->id_alloc.lookup(std::string(name)); } - optional<std::string> lookup_name(unsigned id) { + optional<std::string> lookup_name(int id) { return this->id_alloc.lookup(id); } @@ -177,10 +177,10 @@ struct App { void emit_invisible(char const *label); void emit_visible(char const *label); - void activate(unsigned id); - void deactivate(unsigned id); + void activate(int id); + void deactivate(int id); - bool can_split(unsigned new_id); + bool can_split(int new_id); }; } // namespace wm |