From 649c822bc2b5272abed41e36f470d14d46d4b614 Mon Sep 17 00:00:00 2001 From: "Richard J. Moore" Date: Fri, 29 Jun 2001 00:16:26 +0000 Subject: [PATCH] Include window frame when grabbing snapshots svn path=/trunk/kdebase/kwin/; revision=104328 --- workspace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workspace.cpp b/workspace.cpp index b10c7f0099..16de1d7174 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -2871,7 +2871,7 @@ void Workspace::slotGrabWindow() qWarning( "grabbing window!!!\n" ); if ( active_client ) { - QPixmap p = QPixmap::grabWindow( active_client->window() ); + QPixmap p = QPixmap::grabWindow( active_client->winId() ); QClipboard *cb = QApplication::clipboard(); cb->setPixmap( p ); }