Client::embedClient() takes an xcb_window_t as argument
This commit is contained in:
parent
edefd5f3d2
commit
48f08bca83
2 changed files with 3 additions and 3 deletions
2
client.h
2
client.h
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue