From fe6ea0009ce6e141ca19ec5afee8138ac1c5ff76 Mon Sep 17 00:00:00 2001 From: "blizzard%redhat.com" Date: Thu, 18 Nov 1999 19:36:28 +0000 Subject: [PATCH] we don't need to listen to events on the top level window --- widget/src/gtk/nsWindow.cpp | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/widget/src/gtk/nsWindow.cpp b/widget/src/gtk/nsWindow.cpp index e5b248a0888..535901d1454 100644 --- a/widget/src/gtk/nsWindow.cpp +++ b/widget/src/gtk/nsWindow.cpp @@ -1009,26 +1009,6 @@ NS_METHOD nsWindow::CreateNative(GtkObject *parentWidget) GTK_SIGNAL_FUNC(handle_toplevel_focus_out), this); - InstallButtonPressSignal(mShell); - InstallButtonReleaseSignal(mShell); - - InstallMotionNotifySignal(mShell); - - InstallEnterNotifySignal(mShell); - InstallLeaveNotifySignal(mShell); - - // Initialize this window instance as a drag target. - //gtk_drag_dest_set (mWidget, - //GTK_DEST_DEFAULT_ALL, - //target_table, n_targets - 1, /* no rootwin */ - //GdkDragAction(GDK_ACTION_COPY | GDK_ACTION_MOVE)); - - // Drag & Drop events. - InstallDragBeginSignal(mShell); - InstallDragLeaveSignal(mShell); - InstallDragMotionSignal(mShell); - InstallDragDropSignal(mShell); - } // XXX fix this later...