- Stopped sending double the number of wheel events as appropriate to the
console under Linux. - Added middle mouse button selection pasting for X systems. SVN r1420 (trunk)
This commit is contained in:
parent
e55a97a18e
commit
035edb32ad
8 changed files with 110 additions and 77 deletions
|
|
@ -2041,14 +2041,14 @@ void I_PutInClipboard (const char *str)
|
|||
CloseClipboard ();
|
||||
}
|
||||
|
||||
FString I_GetFromClipboard ()
|
||||
FString I_GetFromClipboard (bool return_nothing)
|
||||
{
|
||||
FString retstr;
|
||||
HGLOBAL cliphandle;
|
||||
char *clipstr;
|
||||
char *nlstr;
|
||||
|
||||
if (!IsClipboardFormatAvailable (CF_TEXT) || !OpenClipboard (Window))
|
||||
if (return_nothing || !IsClipboardFormatAvailable (CF_TEXT) || !OpenClipboard (Window))
|
||||
return retstr;
|
||||
|
||||
cliphandle = GetClipboardData (CF_TEXT);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue