diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-15 14:18:31 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-15 14:18:31 +0200 |
| commit | d7ad80e6a2ee25bdc524c0012937d73725f5ad2f (patch) | |
| tree | a5a41fc6072d225815cacb468b345e62140f2fd4 /src/events/Windows.cpp | |
| parent | cba4693d390da71c0d4fc743436c455c601fec9d (diff) | |
Added window animation rules
Diffstat (limited to 'src/events/Windows.cpp')
| -rw-r--r-- | src/events/Windows.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp index 0bbe1629..a6ae6c5d 100644 --- a/src/events/Windows.cpp +++ b/src/events/Windows.cpp @@ -95,6 +95,9 @@ void Events::listener_mapWindow(void* owner, void* data) { } catch(std::exception& e) { Debug::log(ERR, "Opacity rule \"%s\" failed with: %s", r.szRule.c_str(), e.what()); } + } else if (r.szRule.find("animation") == 0) { + auto STYLE = r.szRule.substr(r.szRule.find_first_of(' ') + 1); + PWINDOW->m_sAdditionalConfigData.animationStyle = STYLE; } } |
