XQuartz: Removed a call to RootlessReorderWindow from the Carbon thread

This commit is contained in:
Jeremy Huddleston 2008-04-15 11:59:19 -07:00
parent 68bb258fca
commit cb27d5ca82
6 changed files with 5 additions and 11 deletions

View File

@ -51,10 +51,6 @@
#include <unistd.h>
#include <pthread.h>
#include "rootlessCommon.h"
WindowPtr xprGetXWindowFromAppKit(int windowNumber); // xpr/xprFrame.c
#define DEFAULTS_FILE "/usr/X11/lib/X11/xserver/Xquartz.plist"
/* Fake button press/release for scroll wheel move. */
@ -220,8 +216,6 @@ static void message_kit_thread (SEL selector, NSObject *arg) {
if (_x_active) [self activateX:NO];
} else if ([self modalWindow] == nil) {
/* Must be an X window. Tell appkit it doesn't have focus. */
WindowPtr pWin = xprGetXWindowFromAppKit([e windowNumber]);
if (pWin) RootlessReorderWindow(pWin);
for_appkit = NO;
if ([self isActive]) {

View File

@ -41,7 +41,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "scrnintstr.h"
#define _APPLEDRI_SERVER_
#include "appledri.h"
#include "Xplugin.h"
#include <Xplugin.h>
typedef void (*ClipNotifyPtr)( WindowPtr, int, int );

View File

@ -34,7 +34,7 @@
#include "xpr.h"
#include "applewmExt.h"
#include "rootless.h"
#include "Xplugin.h"
#include <Xplugin.h>
#include <X11/X.h>
static int xprSetWindowLevel(

View File

@ -37,7 +37,7 @@
#include "xpr.h"
#include "darwin.h"
#include "darwinEvents.h"
#include "Xplugin.h"
#include <Xplugin.h>
#include "mi.h"
#include "scrnintstr.h"

View File

@ -34,7 +34,7 @@
#include <unistd.h>
#include "xpr.h"
#include "rootlessCommon.h"
#include "Xplugin.h"
#include <Xplugin.h>
#include "x-hash.h"
#include "x-list.h"
#include "applewmExt.h"

View File

@ -39,7 +39,7 @@
#include "rootless.h"
#include "dri.h"
#include "globals.h"
#include "Xplugin.h"
#include <Xplugin.h>
#include "applewmExt.h"
#include "micmap.h"