542 | | |
543 | | /* Metacity no longer does anything useful with gtk_window_present */ |
544 | | gdk_window = gtk_widget_get_window (GTK_WIDGET (window)); |
545 | | if (gdk_window) |
546 | | gdk_x11_window_move_to_current_desktop (gdk_window); |
547 | | |
548 | | /* Ensure we actually present the window when invoked from the command |
549 | | * line. This is somewhat evil, but the minor evil of Yelp stealing |
550 | | * focus (after you requested it) is outweighed for me by the major |
551 | | * evil of no help window appearing when you click Help. |
552 | | */ |
553 | | if (data->timestamp == 0) |
554 | | data->timestamp = gdk_x11_get_server_time (gtk_widget_get_window (GTK_WIDGET (window))); |
555 | | |
556 | | gtk_window_present_with_time (GTK_WINDOW (window), data->timestamp); |
| 541 | gtk_window_present (GTK_WIDGET (window)); |