Changeset View
Changeset View
Standalone View
Standalone View
toplevel.cpp
Show First 20 Lines • Show All 70 Lines • ▼ Show 20 Line(s) | |||||
71 | QDebug& operator<<(QDebug& stream, const Toplevel* cl) | 71 | QDebug& operator<<(QDebug& stream, const Toplevel* cl) | ||
72 | { | 72 | { | ||
73 | if (cl == nullptr) | 73 | if (cl == nullptr) | ||
74 | return stream << "\'NULL\'"; | 74 | return stream << "\'NULL\'"; | ||
75 | cl->debug(stream); | 75 | cl->debug(stream); | ||
76 | return stream; | 76 | return stream; | ||
77 | } | 77 | } | ||
78 | 78 | | |||
79 | QDebug& operator<<(QDebug& stream, const ToplevelList& list) | | |||
80 | { | | |||
81 | stream << "LIST:("; | | |||
82 | bool first = true; | | |||
83 | for (ToplevelList::ConstIterator it = list.begin(); | | |||
84 | it != list.end(); | | |||
85 | ++it) { | | |||
86 | if (!first) | | |||
87 | stream << ":"; | | |||
88 | first = false; | | |||
89 | stream << *it; | | |||
90 | } | | |||
91 | stream << ")"; | | |||
92 | return stream; | | |||
93 | } | | |||
94 | | ||||
95 | QRect Toplevel::decorationRect() const | 79 | QRect Toplevel::decorationRect() const | ||
96 | { | 80 | { | ||
97 | return rect(); | 81 | return rect(); | ||
98 | } | 82 | } | ||
99 | 83 | | |||
100 | void Toplevel::detectShape(xcb_window_t id) | 84 | void Toplevel::detectShape(xcb_window_t id) | ||
101 | { | 85 | { | ||
102 | const bool wasShape = is_shape; | 86 | const bool wasShape = is_shape; | ||
▲ Show 20 Lines • Show All 719 Lines • Show Last 20 Lines |