create a variable and not a function declaration

found with the clang -Wvexing-parse warning
icc-effect-5.14.5
Alex Richardson 2013-09-13 16:51:53 +02:00
parent 109c504ef7
commit 898e3f625a
1 changed files with 1 additions and 1 deletions

View File

@ -806,7 +806,7 @@ void WindowPixmap::create()
if (isValid()) {
return;
}
XServerGrabber grabber();
XServerGrabber grabber;
xcb_pixmap_t pix = xcb_generate_id(connection());
xcb_void_cookie_t namePixmapCookie = xcb_composite_name_window_pixmap_checked(connection(), toplevel()->frameId(), pix);
Xcb::WindowAttributes windowAttributes(toplevel()->frameId());