sni: fix passing relative coordinates to dbus methods

Doesn't correctly handle the case with both margin and width/height being set at the same time.
This commit is contained in:
Cherser-s
2023-08-21 22:03:43 +03:00
parent 936937ec78
commit 65dfabc430
2 changed files with 6 additions and 2 deletions

View File

@ -84,6 +84,8 @@ class Item : public sigc::trackable {
// visibility of items with Status == Passive
bool show_passive_ = false;
const Bar& bar_;
Glib::RefPtr<Gio::DBus::Proxy> proxy_;
Glib::RefPtr<Gio::Cancellable> cancellable_;
std::set<std::string_view> update_pending_;