--- a/Snapshot/SnapshotFreehandGrabber.py Fri Oct 18 23:00:41 2013 +0200 +++ b/Snapshot/SnapshotFreehandGrabber.py Fri Nov 01 15:48:48 2013 +0100 @@ -50,7 +50,8 @@ """ Constructor """ - super(SnapshotFreehandGrabber, self).__init__(None, + super(SnapshotFreehandGrabber, self).__init__( + None, Qt.X11BypassWindowManagerHint | Qt.WindowStaysOnTopHint | Qt.FramelessWindowHint | Qt.Tool) @@ -87,7 +88,8 @@ self.__desktop.winId(), x, y, self.__desktop.width(), self.__desktop.height()) else: - self.__pixmap = QPixmap.grabWindow(self.__desktop.winId(), x, y, + self.__pixmap = QPixmap.grabWindow( + self.__desktop.winId(), x, y, self.__desktop.width(), self.__desktop.height()) self.resize(self.__pixmap.size()) self.move(x, y) @@ -148,7 +150,8 @@ self.__helpTextRect.adjust(-2, -2, 4, 2) drawPolygon(painter, self.__helpTextRect, textColor, textBackgroundColor) - painter.drawText(self.__helpTextRect.adjusted(3, 3, -3, -3), + painter.drawText( + self.__helpTextRect.adjusted(3, 3, -3, -3), Qt.TextWordWrap, self.__helpText) if self.__selection.isEmpty():