Changeset View
Changeset View
Standalone View
Standalone View
group.cpp
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Line(s) | 54 | : leader_client(nullptr), | |||
---|---|---|---|---|---|
55 | leader_wid(leader_P), | 55 | leader_wid(leader_P), | ||
56 | leader_info(nullptr), | 56 | leader_info(nullptr), | ||
57 | user_time(-1U), | 57 | user_time(-1U), | ||
58 | refcount(0) | 58 | refcount(0) | ||
59 | { | 59 | { | ||
60 | if (leader_P != XCB_WINDOW_NONE) { | 60 | if (leader_P != XCB_WINDOW_NONE) { | ||
61 | leader_client = workspace()->findClient(Predicate::WindowMatch, leader_P); | 61 | leader_client = workspace()->findClient(Predicate::WindowMatch, leader_P); | ||
62 | leader_info = new NETWinInfo(connection(), leader_P, rootWindow(), | 62 | leader_info = new NETWinInfo(connection(), leader_P, rootWindow(), | ||
63 | nullptr, NET::WM2StartupId); | 63 | NET::Properties(), NET::WM2StartupId); | ||
64 | } | 64 | } | ||
65 | effect_group = new EffectWindowGroupImpl(this); | 65 | effect_group = new EffectWindowGroupImpl(this); | ||
66 | workspace()->addGroup(this); | 66 | workspace()->addGroup(this); | ||
67 | } | 67 | } | ||
68 | 68 | | |||
69 | Group::~Group() | 69 | Group::~Group() | ||
70 | { | 70 | { | ||
71 | delete leader_info; | 71 | delete leader_info; | ||
▲ Show 20 Lines • Show All 846 Lines • Show Last 20 Lines |