diff options
author | Hans Breuer <hans@breuer.org> | 2002-06-10 21:58:00 +0000 |
---|---|---|
committer | Hans Breuer <hans@src.gnome.org> | 2002-06-10 21:58:00 +0000 |
commit | 6539a7d34c2d021fc704f8217de161c14f5833df (patch) | |
tree | a7acca8dd77b658777e6db3a44476ea949edae03 /gtk/gtkwindow.c | |
parent | 663ec013a4a4b09c4a26ca2fd4c348d6b7b8ea17 (diff) | |
download | gtk+-6539a7d34c2d021fc704f8217de161c14f5833df.tar.gz |
added gdkdisplay and gdkscreen
2002-06-10 Hans Breuer <hans@breuer.org>
* gdk/makefile.msc : added gdkdisplay and gdkscreen
* gdk/win32/gdkdisplay-win32.c (gdk_open_display) :
need to gdk_screen_set_default_colormap(). Also un-static
some exported gdk_display_*() functions
* gdk/win32/gdkdrawable-win32.c : added "gdkscreen.h"
* gdk/win32/gdkscreen-win32.c : implement
gdk_screen_get_number, fixed typo, added rewuired headers
[merge from 2.0.x branch, should we really manifest
GtkPlug as being an X11 only thing this way? See #58541]
* gtk/gtkwindow.c (gtk_window_show): Conditionalize
GTK_IS_PLUG() check on GDK_WINDOWING_X11. (Problem
reported by Sven Neumann)
Diffstat (limited to 'gtk/gtkwindow.c')
-rw-r--r-- | gtk/gtkwindow.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 104be1c2f4..9b91456190 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -3164,7 +3164,11 @@ gtk_window_show (GtkWidget *widget) /* Try to make sure that we have some focused widget */ +#ifdef GDK_WINDOWING_X11 if (!window->focus_widget && !GTK_IS_PLUG (window)) +#else + if (!window->focus_widget) +#endif gtk_window_move_focus (window, GTK_DIR_TAB_FORWARD); if (window->modal) |