ALT Linux repositórios
5.0: | 3.3.0-alt10 |
4.1: | 3.3.0-alt7.M41.8 |
4.0: | 3.3.0-alt7.M40.8 |
+backports: | 3.2.0-alt0.M40.3 |
Group :: Rede/Acesso Remoto
RPM: nx
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: nx-X11-dimbor.patch
Download
Download
--- nx-X11/programs/Xserver/hw/nxagent/Clipboard.c.orig 2008-06-16 16:13:45 +0400
+++ nx-X11/programs/Xserver/hw/nxagent/Clipboard.c 2008-06-23 09:32:11 +0400
@@ -1194,10 +1194,11 @@ int nxagentConvertSelection(ClientPtr cl
Atom xa_STRING[4];
xEvent x;
+ /* --- Order changed by dimbor (prevent sending COMPOUND_TEXT to client --- */
xa_STRING[0] = XA_STRING;
- xa_STRING[1] = clientTEXT;
- xa_STRING[2] = clientCOMPOUND_TEXT;
- xa_STRING[3] = clientUTF8_STRING;
+ xa_STRING[1] = clientUTF8_STRING;
+ xa_STRING[2] = clientTEXT;
+ xa_STRING[3] = clientCOMPOUND_TEXT;
ChangeWindowProperty(pWin,
property,
*** nx-X11/programs/Xserver/hw/nxagent/Image.c.orig 2008-06-09 15:08:16 +0400
--- nx-X11/programs/Xserver/hw/nxagent/Image.c 2008-06-20 15:53:27 +0400
***************
*** 644,649 ****
--- 644,653 ----
pDrawable -> depth != 1 &&
nxagentOption(DeferLevel) >= 1)
{
+ /* -- changed by dimbor (small "bed-sheets" never need be prevented - always put) --*/
+ if (dstHeight > 16)
+ {
+ /* -------------------------------------------------------------------------------- */
#ifdef TEST
fprintf(stderr, "nxagentPutImage: WARNING! Prevented operation on region [%d,%d,%d,%d] "
"for drawable at [%p] with drawable pixmap.\n", pRegion -> extents.x1,
***************
*** 654,659 ****
--- 658,666 ----
nxagentMarkCorruptedRegion(pDrawable, pRegion);
goto nxagentPutImageEnd;
+ /* --- changed by dimbor ---*/
+ }
+ /* ------------------------- */
}
if (pDrawable -> type == DRAWABLE_WINDOW &&