we don't need to listen to events on the top level window

This commit is contained in:
blizzard%redhat.com 1999-11-18 19:36:28 +00:00
parent ae6e21cb42
commit 30bc193c27

View File

@ -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...