RuleBook::edit operates on AbstractClient
parent
bfa4e1cec1
commit
bfb52b20c9
|
@ -988,7 +988,7 @@ WindowRules RuleBook::find(const Client* c, bool ignore_temporary)
|
|||
return WindowRules(ret);
|
||||
}
|
||||
|
||||
void RuleBook::edit(Client* c, bool whole_app)
|
||||
void RuleBook::edit(AbstractClient* c, bool whole_app)
|
||||
{
|
||||
save();
|
||||
QStringList args;
|
||||
|
|
3
rules.h
3
rules.h
|
@ -38,6 +38,7 @@ class KXMessages;
|
|||
namespace KWin
|
||||
{
|
||||
|
||||
class AbstractClient;
|
||||
class Client;
|
||||
class Rules;
|
||||
|
||||
|
@ -292,7 +293,7 @@ public:
|
|||
void setUpdatesDisabled(bool disable);
|
||||
bool areUpdatesDisabled() const;
|
||||
void load();
|
||||
void edit(Client* c, bool whole_app);
|
||||
void edit(AbstractClient* c, bool whole_app);
|
||||
void requestDiskStorage();
|
||||
private Q_SLOTS:
|
||||
void temporaryRulesMessage(const QString&);
|
||||
|
|
Loading…
Reference in New Issue