mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-06 12:48:05 +02:00
add CompWindowUpdateAutomatic call
This commit is contained in:
parent
1695fa6268
commit
b83ceaaabc
1 changed files with 11 additions and 2 deletions
|
|
@ -47,10 +47,12 @@
|
|||
#undef BOOL
|
||||
|
||||
#include "pseudoramiX.h"
|
||||
#include <X11/extensions/composite.h>
|
||||
|
||||
extern void FatalError(const char *, ...);
|
||||
extern char *display;
|
||||
extern int noPanoramiXExtension;
|
||||
int comp_redirect_done = 0;
|
||||
|
||||
/*
|
||||
* QuartzWriteCocoaPasteboard
|
||||
|
|
@ -129,7 +131,7 @@ void QuartzBlockHandler(
|
|||
pointer pReadmask)
|
||||
{
|
||||
static NSAutoreleasePool *aPool = nil;
|
||||
|
||||
// ErrorF("QuartzBlockHandler()\n");
|
||||
[aPool release];
|
||||
aPool = [[NSAutoreleasePool alloc] init];
|
||||
}
|
||||
|
|
@ -143,5 +145,12 @@ void QuartzWakeupHandler(
|
|||
int result,
|
||||
pointer pReadmask)
|
||||
{
|
||||
// nothing here
|
||||
// ErrorF("QuartzWakeupHandler()\n");
|
||||
if(comp_redirect_done) return;
|
||||
comp_redirect_done=1;
|
||||
ErrorF("QuartzWakeupHandler(%p,%d,%p)\n", blockData, result, pReadmask);
|
||||
// ErrorF("requestingClient=%p\n",requestingClient);
|
||||
// ErrorF("serverClient=%p\n",serverClient);
|
||||
int retval=compRedirectSubwindows (serverClient, GetCurrentRootWindow(), CompositeRedirectAutomatic);
|
||||
ErrorF("compRedirectSubwindows returned %d\n",retval);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue