* gdkdisplay-x11.c, gdkdisplaymgr-x11.c, gdkx.h :
made GDK_DISPLAY () return gdk_display instead of
calling gdk_x11_get_default_xdisplay as rep-gtk
is using GDK_DISPLAY () before initializing fully
the gobject type system.
2002-02-01 Anders Carlsson <andersca@gnu.org>
* gtk/gtkentry.c (gtk_entry_motion_notify): Use gdk_cursor_new_for_screen.
* gdk/x11/gdkgc-x11.c (_gdk_x11_gc_get_fg_picture): Remove ;
* gdk/x11/gdkdrawable-x11.c (draw_with_pixmaps): The drawable is actually
a GdkDrawableImplX11, so get the display from that.
(draw_with_images): Use the screen's root window when creating the pixmap.
(draw_with_images): Get the screen from the GdkDrawableImplX11.
2002-01-31 Mark McLoughlin <mark@skynet.ie>
* gdk/gdkdnd.h: (gdk_drag_get_protocol): make signature the
same as gtk HEAD
(gdk_display_get_drag_protocol): make this the per-display version.
* gdk/x11/gdkdnd-x11.c: (gdk_display_drag_get_protocol),
(gdk_drag_get_protocol): ditto.
(gdk_drag_find_window): use gdk_siplay_get_drag_protocol.
* gdk/x11/gdkx.h: make GDK_DISPLAY return a Display and add
GTK_ROOT_WINDOW back.
* gtk/gtksocket.c: (gtk_socket_add_window),
(gtk_socket_filter_func): use gdk_display_get_drag_protocol.
* implemented Xinerama support for Solaris and Linux
largely inspired from Matthias Clasen's patch (56104).
(only tested on Solaris)
* added documentation and test program for Xinerama.
* added more documentation for multihead support.
* fixed multihead bugs in GtkSocket and GtkPlug
* added documentation for multihead functions
* fixes a multiscreen bug in gtkdnd
* remove the extra function pointer in GdkDrawable class
that Owen pointed out.
Fri Oct 19 16:29:54 2001 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkproperty-x11.c (gdk_x11_get_virtual_atom):
Put gdk_error_trap_push/pop() around call to
XGetAtomName(), to avoid dying with an X error if
someone feeds us (say through DND) a bad atom.
* added simple memory management for GdkDisplay & GdkScreen
* added gdk_event_send_clientmessage_toall_for_screen
* normalized the string naming when using g_object_.et_data
* fixed GtkSettings related bugs
* attached the GtkGC hashtables to display for easier memory management
* added a gtk_menu_set_screen and if the menu is attached to a widget
try to get the widget's screen information
* fixed the GtkToolbar GtkSettings to only load the default is not
set explicitly (ok, it's obvious, it's due to per screen GtkSettings).
* added gtk_widget_has_screen fct
* made the default_icon stuff per screen and not static
and added gtk_window_get_default_icon_list_for_screen
* updated gtk-multihead branch to gtk+-1.3.9
* changed gdk_pixbuf_render_pixmap_and_mask_for_screen to the for_colormap variant
* added gtk_style_get_font_for_display (needed to get default values).
* updated gtk-multihead branch to gtk+-1.3.9
* changed gdk_pixbuf_render_pixmap_and_mask_for_screen to the for_colormap variant
* added gtk_style_get_font_for_display (needed to get default values).
* grouped all display init in gdkdisplay-x11.c
* created a per display X ID hashtable
* create per display equivalent of gdk_[window|pixmap|font]_lookup & co.
* added various convienience functions
- revert gdk_x11_*.grab_server changes and introduce gdk_x11_display_*.grab
- add screen property to GtkInvisible
- add g_return_if_fail (GDK_IS_DISPLAY (display)) or equivalent
for all public API taking a GdkDisplay.
- ditto for GdkScreen
- mark gdk_event_send_client_message as not multihead safe and
added gdk_event_send_client_message_for_display
- add gdk_send_xevent_for_display() and make gdk_send_xevent()
as not-multihead-safe.
- move leader_window to GdkDisplay consequently change
gdk_set_sm_client_id_for_screen to for_display
- added GDK_MULTIHEAD_SAFE around all non multihead fcts.
* remove includes of screen/display as Owen had them to gdk.h
* revert gdk_x11_*.grab_server changes and introduce gdk_x11_display_*.grab
* store colormap per screen in gdk_colormap_get_sytem_for_screen
* replace gdk_rgb_ditherable_for_screen() by gdk_rgb_colormap_ditherable()
* add screen property to GtkInvisible
* added idef GDK_MULTIHEAD_SAFE around gdk multihead unsafe fct
* added sanity check in gdkdisplay-x11.c and gdkscreen-x11.c
* gtk/gtkclist.c check if the widget is realized before refreshing it
* gtk/gtkfontsel.c created a realize function to hold all the screen dependent
resources initialization.
now gtk font selector is multihead safe
* fixed multihead support for colorselection dialog
* various cursors are now created on the right display
* popup window are popped up on right display/screen
- revert _gdk_x11_display_impl_get_type to gdk_x11_display_impl_get_type
as its not a local symbol (it's used in gtk and immodules)
- remove gdk_window_set_screen.
- cleaned gdk_window_set/get_mwm_hints from static atoms.
- gdk_window_iconify use proper screen.
- remove assert and change comments in gdk_window_foreign_new_for_display
- gtk_drag_get_ipc_widget uses GdkDisplay now
- reimplemented GdkDrawable get_display() in term of GdkDrawable get_screen()
- rename gdk_display_manager to _gdk_display_manager and remove it from gdkx.h and gdkprivate.h
- removed scr and dpy abbreviations.