Client::embedClient() takes an xcb_window_t as argument

This commit is contained in:
Martin Gräßlin 2013-05-03 10:58:46 +02:00
parent edefd5f3d2
commit 48f08bca83
2 changed files with 3 additions and 3 deletions

View file

@ -807,7 +807,7 @@ private:
static void sendClientMessage(xcb_window_t w, xcb_atom_t a, xcb_atom_t protocol,
long data1 = 0, long data2 = 0, long data3 = 0);
void embedClient(Window w, const XWindowAttributes& attr);
void embedClient(xcb_window_t w, const XWindowAttributes& attr);
void detectNoBorder();
void destroyDecoration();
void updateFrameExtents();

View file

@ -626,10 +626,10 @@ bool Client::manage(xcb_window_t w, bool isMapped)
}
// Called only from manage()
void Client::embedClient(Window w, const XWindowAttributes& attr)
void Client::embedClient(xcb_window_t w, const XWindowAttributes& attr)
{
assert(m_client == XCB_WINDOW_NONE);
assert(frameId() == None);
assert(frameId() == XCB_WINDOW_NONE);
assert(m_wrapper == XCB_WINDOW_NONE);
m_client = w;