Fix another compile error with Extensions hidden in an assert
This commit is contained in:
parent
240dd25d8d
commit
f2028efe91
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ bool OverlayWindow::create()
|
||||||
void OverlayWindow::setup(xcb_window_t window)
|
void OverlayWindow::setup(xcb_window_t window)
|
||||||
{
|
{
|
||||||
assert(m_window != XCB_WINDOW_NONE);
|
assert(m_window != XCB_WINDOW_NONE);
|
||||||
assert(Extensions::shapeInputAvailable());
|
assert(Xcb::Extensions::self()->isShapeInputAvailable());
|
||||||
setNoneBackgroundPixmap(m_window);
|
setNoneBackgroundPixmap(m_window);
|
||||||
m_shape = QRegion();
|
m_shape = QRegion();
|
||||||
setShape(QRect(0, 0, displayWidth(), displayHeight()));
|
setShape(QRect(0, 0, displayWidth(), displayHeight()));
|
||||||
|
|
Loading…
Reference in a new issue