diff options
author | Erwann Chenede - <erwann.chenede@sun.com> | 2002-05-01 17:22:54 +0000 |
---|---|---|
committer | Erwann Chenede <erwannc@src.gnome.org> | 2002-05-01 17:22:54 +0000 |
commit | 2325caf979da21cb7be31f9382722e3d35d0e499 (patch) | |
tree | d42d47d4e91e3a6ebd37cdb1e30c3ad570bdb527 /gdk/gdkscreen.h | |
parent | ec72bb76d47157ebf6331fce20e11b6e487e27c5 (diff) | |
download | gtk+-2325caf979da21cb7be31f9382722e3d35d0e499.tar.gz |
remove virtualization and made it cross platform. fix #79961 fixed
2002-05-01 Erwann Chenede - <erwann.chenede@sun.com>
* gdk/gdkscreen.[hc] (gdk_screen_x11_get_monitor_at_window):
remove virtualization and made it cross platform. fix #79961
* gdk/x11/gdkdisplay-x11.c (check_solaris_xinerama):
fixed initialization bugs.
* gdk/x11/gdkscreen-x11.[hc] (gdk_screen_get_monitor_geometry):
* tests/testxinerama.c:
* gtk/gtkwindow.c (gtk_window_compute_configure_request):
* gtk/gtkmenu.c (gtk_menu_position):
take a GdkRectangle argument instead of returning
a GdkRectangle * and propagated the changes. fix #79974
Diffstat (limited to 'gdk/gdkscreen.h')
-rw-r--r-- | gdk/gdkscreen.h | 65 |
1 files changed, 32 insertions, 33 deletions
diff --git a/gdk/gdkscreen.h b/gdk/gdkscreen.h index 2f3a23387b..7a1814a466 100644 --- a/gdk/gdkscreen.h +++ b/gdk/gdkscreen.h @@ -47,30 +47,28 @@ struct _GdkScreenClass { GObjectClass parent_class; - GdkDisplay * (*get_display) (GdkScreen *screen); - gint (*get_width) (GdkScreen *screen); - gint (*get_height) (GdkScreen *screen); - gint (*get_width_mm) (GdkScreen *screen); - gint (*get_height_mm) (GdkScreen *screen); - gint (*get_root_depth) (GdkScreen *screen); - gint (*get_screen_num) (GdkScreen *screen); - GdkWindow * (*get_root_window) (GdkScreen *screen); - GdkColormap * (*get_default_colormap) (GdkScreen *screen); - void (*set_default_colormap) (GdkScreen *screen, - GdkColormap *colormap); - GdkWindow * (*get_window_at_pointer) (GdkScreen *screen, - gint *win_x, - gint *win_y); - gboolean (*use_virtual_screen) (GdkScreen *screen); - gint (*get_n_monitors) (GdkScreen *screen); - GdkRectangle *(*get_monitor_geometry) (GdkScreen *screen, - gint monitor_num); - - gint (*get_monitor_at_point) (GdkScreen *screen, - gint x, - gint y); - gint (*get_monitor_at_window) (GdkScreen *screen, - GdkNativeWindow anid); + GdkDisplay * (*get_display) (GdkScreen *screen); + gint (*get_width) (GdkScreen *screen); + gint (*get_height) (GdkScreen *screen); + gint (*get_width_mm) (GdkScreen *screen); + gint (*get_height_mm) (GdkScreen *screen); + gint (*get_root_depth) (GdkScreen *screen); + gint (*get_screen_num) (GdkScreen *screen); + GdkWindow * (*get_root_window) (GdkScreen *screen); + GdkColormap * (*get_default_colormap) (GdkScreen *screen); + void (*set_default_colormap) (GdkScreen *screen, + GdkColormap *colormap); + GdkWindow * (*get_window_at_pointer) (GdkScreen *screen, + gint *win_x, + gint *win_y); + gboolean (*use_virtual_screen) (GdkScreen *screen); + gint (*get_n_monitors) (GdkScreen *screen); + void (*get_monitor_geometry) (GdkScreen *screen, + gint monitor_num, + GdkRectangle *dest); + gint (*get_monitor_at_point) (GdkScreen *screen, + gint x, + gint y); }; GType gdk_screen_get_type (void); @@ -98,15 +96,16 @@ GList * gdk_screen_list_visuals (GdkScreen *screen); GList * gdk_screen_get_toplevel_windows (GdkScreen *screen); -gboolean gdk_screen_use_virtual_screen (GdkScreen *screen); -gint gdk_screen_get_n_monitors (GdkScreen *screen); -GdkRectangle *gdk_screen_get_monitor_geometry (GdkScreen *screen, - gint monitor_num); -gint gdk_screen_get_monitor_at_point (GdkScreen *screen, - gint x, - gint y); -gint gdk_screen_get_monitor_at_window (GdkScreen *screen, - GdkNativeWindow anid); +gboolean gdk_screen_use_virtual_screen (GdkScreen *screen); +gint gdk_screen_get_n_monitors (GdkScreen *screen); +void gdk_screen_get_monitor_geometry (GdkScreen *screen, + gint monitor_num, + GdkRectangle *dest); +gint gdk_screen_get_monitor_at_point (GdkScreen *screen, + gint x, + gint y); +gint gdk_screen_get_monitor_at_window (GdkScreen *screen, + GdkWindow *window); void gdk_screen_broadcast_client_message (GdkScreen *screen, GdkEvent *event); |