Qt 4.8
Classes | Functions
qxlibclipboard.cpp File Reference
#include "qxlibclipboard.h"
#include "qxlibscreen.h"
#include "qxlibmime.h"
#include "qxlibdisplay.h"
#include <private/qapplication_p.h>
#include <QtCore/QDebug>
#include "qxlibclipboard.moc"

Go to the source code of this file.

Classes

class  QXlibClipboardMime
 

Functions

static int maxSelectionIncr (Display *dpy)
 

Function Documentation

◆ maxSelectionIncr()

static int maxSelectionIncr ( Display dpy)
inlinestatic

Definition at line 468 of file qxlibclipboard.cpp.

Referenced by QXlibClipboard::clipboardReadProperty().

469 { return XMaxRequestSize(dpy) > 65536 ? 65536*4 : XMaxRequestSize(dpy)*4 - 100; }