Mercurial > minori
comparison dep/animia/src/strategist.cc @ 232:ff0061e75f0f
theme: add OS detection with glib
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Sat, 13 Jan 2024 11:06:16 -0500 |
| parents | bc1ae1810855 |
| children | 4d461ef7d424 |
comparison
equal
deleted
inserted
replaced
| 231:69f4768a820c | 232:ff0061e75f0f |
|---|---|
| 26 bool success = false; | 26 bool success = false; |
| 27 | 27 |
| 28 switch (result_.type) { | 28 switch (result_.type) { |
| 29 case ResultType::Process: success |= ApplyOpenFilesStrategy(); break; | 29 case ResultType::Process: success |= ApplyOpenFilesStrategy(); break; |
| 30 case ResultType::Window: success |= ApplyWindowTitleStrategy(); break; | 30 case ResultType::Window: success |= ApplyWindowTitleStrategy(); break; |
| 31 default: break; | |
| 31 } | 32 } |
| 32 | 33 |
| 33 return success; | 34 return success; |
| 34 } | 35 } |
| 35 | 36 |
