summaryrefslogtreecommitdiff
path: root/gdk
Commit message (Collapse)AuthorAgeFilesLines
* Move out of HAVE_XKB. (#95129, Phil Blundell)Owen Taylor2002-10-081-2/+2
| | | | | | | Mon Oct 7 19:44:45 2002 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkkeys-x11.c (_gdk_keymap_keys_changed): Move out of HAVE_XKB. (#95129, Phil Blundell)
* fix compilationEric Warmenhoven2002-10-082-3/+18
| | | | | | | | Mon Oct 7 19:14:24 2002 Eric Warmenhoven <eric@warmenhoven.org> * gdk/linux-fb/gdkwindow-fb.c: fix compilation * gdk/linux-fb/gdkmain-fb.c: better display mode setting
* New file. Move gdk_drag_find_window(), gdk_drag_get_protocol() here.Owen Taylor2002-10-071-0/+48
| | | | | | | | Mon Oct 7 15:48:44 2002 Owen Taylor <otaylor@redhat.com> * gdk/gdkdnd.c Makefile.am gdk/x11/gdkdnd-x11.c gdk/fb/gdkdnd-fb.c gdk/win32/gdkdnd-win32.c: New file. Move gdk_drag_find_window(), gdk_drag_get_protocol() here.
* Add gdk_drag_find_window_for_screen(), so that we can interpret x_root /Owen Taylor2002-10-076-46/+77
| | | | | | | | | | | | | | | | | | | | Mon Oct 7 15:48:44 2002 Owen Taylor <otaylor@redhat.com> * gdk/gdkdnd.[ch] gdk/x11/gdkdnd-x11.c: Add gdk_drag_find_window_for_screen(), so that we can interpret x_root / y_root relative to the correct screen. * gdk/gdkdnd.c Makefile.am gdk/x11/gdkdnd-x11.c gdk/fb/gdkdnd-fb.c gdk/win32/gdkdnd-win32.c: New file. Move gdk_drag_find_window(), gdk_drag_get_protocol() here. * gtk/gtkdnd.c: Handle drags between screens; use a fallback icon for icons set as windows/pixmaps, move the drag icon between displays for icons set as pixbufs. * gdk/x11/gdkkeys-x11.c (update_keymaps): Fix infinite loop from last change.
* - Replace GdkPointerHooks with a multihead-safe GdkDisplayPointerHooks,Owen Taylor2002-10-0711-152/+440
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Oct 7 15:10:00 2002 Owen Taylor <otaylor@redhat.com> * gdk/gdkdisplay.[ch] gdk/gdkinternals.h gdk/gdkwindow.[ch] gdk/linux-fb/gdkwindow-fb.c gdk/win32/gdkwindow-win32.c gdk/x11/gdkwindow-x11.c: - Replace GdkPointerHooks with a multihead-safe GdkDisplayPointerHooks, leave GdkPointerHooks around for singlehead. - Add gdk_display_get_pointer() to get the pointer location with the screen it is on. * gdk/gdk.def gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch]: Change gdk_screen_get_window_at_pointer() to gdk_display_get_window_at_pointer(). * gtk/gtktreeview.c demos/gtk-demo/changedisplay.c tests/testgtk.c: Use gdk_display_get_window_at_pointer(), not gdk_screen_get_window_at_pointer(). * gtk/gtkcolorsel.c: Fix grabbing color to be multihead safe. * gtk/gtkwidget.c: Allow gtk_widget_push_colormap (NULL). since it is useful for writing code that doesn't know the dcurrent state but needs a clean colormap. * gtk/gtkrc.c: When loading the settings for a particular screen, only reset toplevels on that screen. * gtk/gtkiconfactory.h: Fix #ifdef GTK_MULTIHEAD_SAFE that should have been #ifndef GTK_MULTIHEAD_SAFE.
* Fix some prototypes that had () instead of (void).Owen Taylor2002-10-071-2/+2
| | | | | | | Mon Oct 7 14:51:21 2002 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkx.h: Fix some prototypes that had () instead of (void).
* If Mode_switch is used for a known modifier like Mod1, assume it won't beOwen Taylor2002-10-071-6/+14
| | | | | | | | | Mon Oct 7 11:45:17 2002 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkkeys-x11.c (update_keymaps): If Mode_switch is used for a known modifier like Mod1, assume it won't be used to switch group. (#94841, problem reported by Szekeres Istvan)
* gdk_image_get_pixel, gdk_image_put_pixel: Fixed sense of bounds checks.Bill Haneman2002-10-074-13/+13
|
* docs/reference/gtk/tmpl/gtkfontseldlg.sgml, gdk/gdkwindow.c,Soeren Sandmann2002-10-052-33/+60
| | | | | | | | | | | | | | | Sat Oct 5 16:47:03 2002 Soeren Sandmann <sandmann@daimi.au.dk> * docs/reference/gtk/tmpl/gtkfontseldlg.sgml, gdk/gdkwindow.c, gdk/x11/gdkwindow-x11.c, gtk/gtkfontsel.h, gtk/gtkimcontext.c, gtk/gtktreeview.c, gtk/gtktreeviewcolumn.c Documentation fixes: #75170, Dan Winship; #73220, Havoc Pennington; #70742, Boris Shingarov; #72007, Alexey A. Malyshev
* Patch from Shivram U <shivaram.upadhyayula@wipro.com>Owen Taylor2002-10-041-3/+3
| | | | | | | | | | | Fri Oct 4 14:49:04 2002 Owen Taylor <otaylor@redhat.com> Patch from Shivram U <shivaram.upadhyayula@wipro.com> * gdk/x11/gdkkeys-x11.c (update_keymaps): Increased the keycount to (max_keycode - min_keycode) + 1 from (max_keycode - min_keycode). (update_keymaps), (gdk_keymap_get_entries_for_keyval) looping through less than or equal to max_keycode. (#79184)
* Remove thisAnders Carlsson2002-10-041-8/+0
|
* make legal Cjacob berkman2002-10-041-3/+4
| | | | | | 2002-10-04 jacob berkman <jacob@ximian.com> * gdk/x11/gdkscreen-x11.c (init_xinerama_support): make legal C
* Get the name right.Owen Taylor2002-10-042-3/+3
| | | | | | | | | | Fri Oct 4 12:00:10 2002 Owen Taylor <otaylor@redhat.com> * gdk/gdkscreen.c (gdk_screen_class_init): Get the name right. * gdk/x11/gdkscreen-x11.c (gdk_screen_x11_class_init): Fix function that should have been static.
* Add a check for the Xrandr extension.Owen Taylor2002-10-045-1/+71
| | | | | | | | | | | | | | Fri Oct 4 11:43:47 2002 Owen Taylor <otaylor@redhat.com> * configure.in: Add a check for the Xrandr extension. * gdk/gdkscreen.[ch]: Add a size-changed signal. * gdk/x11/gdkscreen-x11.[ch]: Patch from Keith packard to hook up ConfigureNotify events on the root window to the ::size-changed signal. (#94560) * gtk/gtkimcontextsimple.c: Warning fixes
* implement maximize for linux-fbEric Warmenhoven2002-10-0312-82/+228
| | | | | | | | | | | | | | | Thu Oct 3 16:40:18 2002 Eric Warmenhoven <eric@warmenhoven.org> * gdk/gdkevents.c, gdk/linux-fb/gdkwindow-fb.c, gtk/gtkwindow-decorate.c: implement maximize for linux-fb * gdk/linux-fb/gdkkeyboard-fb.c: implement raw keyboard mode * gdk/linux-fb/Makefile.am, gdk/linux-fb/gdkdnd-fb.c, gdk/linux-fb/gdkmain-fb.c, gdk/linux-fb/gdkselection-fb.c, gdk/linux-fb/miarc.c, gdk/linux-fb/mifpolycon.c, gdk/linux-fb/miwideline.c, gdk/linux-fb/mizerclip.c, gdk/linux-fb/mizerline.c: small cleanups
* Fix error in computing length and a memory leak. (Fixes #94072, reportedOwen Taylor2002-10-031-18/+37
| | | | | | | | | | | Thu Oct 3 19:00:55 2002 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkselection-x11.c (gdk_selection_property_get): Fix error in computing length and a memory leak. (Fixes #94072, reported by Hema Seetharamaiah) * gtk/gtkmenu.c (gtk_menu_motion_notify): Fix &event used instead of event.
* get XDisplay from window instead of display, as display has not beenKristian Rietveld2002-10-031-1/+1
| | | | | | | | Thu Oct 3 23:53:43 2002 Kristian Rietveld <kris@gtk.org> * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_destroy): get XDisplay from window instead of display, as display has not been defined here (fixes the build).
* Restore the pre-Xft2 code to render text directly via RENDER,Owen Taylor2002-10-034-5/+106
| | | | | | | | | | Thu Oct 3 17:09:23 2002 Owen Taylor <otaylor@redhat.com> * gdk/x11/{gdkdrawable-x11.[ch],gdkpixmap-x11.c, gdkwindow-x11.c}: Restore the pre-Xft2 code to render text directly via RENDER, conditionalized with !HAVE_XFT2 so that we'll build again on Xft1 systems. (#90181)
* Add a 'type' parameter, make public.Owen Taylor2002-10-036-25/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thu Oct 3 14:13:33 2002 Owen Taylor <otaylor@redhat.com> * gdk/gdkevents.c (gdk_event_new): Add a 'type' parameter, make public. * gdk/gdkevents.c (gdk_event_copy): Copy the screen. * gdk/gdkevents.c gdk/linux-fb/gdkmain-fb.c gdk/x11/gdkevents-x11.c gdk/win32/gdkevents-win32.c: _gdk_event_new() => gdk_event_new(). * gdk/win32/gdkevents-win32.c (real_window_procedure): Fix event_private->screen breakage that results from evil encapsulation breakage here. * gtk/gtkclist.c gtk/gtkcombo.c gtk/gtkcontainer.c gtk/gtkdialog.c gtk/gtkdnd.c gtk/gtkdrawingarea.c gtk/gtkimcontextsimple.c gtk/gtklist.c gtk/gtkmenu.c gtk/gtknotebook.c gtk/gtkplug.c gtk/gtkselection.c gtk/gtktext.c gtk/gtktreeitem.c gtk/gtktreeview.c gtk/gtkviewport.c gtk/gtkwindow-decorate.c gtk/gtkwindow.c tests/testgtk.c: Remove most usage of stack-allocated GdkEvent structures. * gtk/gtktreeview.c: Use a cut-and-paste of the full send_focus_event() from gtkwindow.c that does the necessary notification of the ::has-focus property and setting of the HAS_FOCUS flag.x * gtk/gtkdnd.c: Clean up some mess/duplicated code; removing an extraneous use of a GdkEvent.
* Export _gdk_draw_pixbuf as gdk_draw_pixbuf(), rename the _draw_pixbufOwen Taylor2002-10-028-90/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Wed Oct 2 17:46:53 2002 Owen Taylor <otaylor@redhat.com> * gdk/gdkdrawable.h gdk/gdkinternals.h gdk/gdkdraw.c gdk/gdkwindow.c gdk/gdkdrawable.c: Export _gdk_draw_pixbuf as gdk_draw_pixbuf(), rename the _draw_pixbuf virtual function to draw_pixbuf. (#60582) * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable[_alpha]): Note that these functions are obsolete in the docs. * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable): Remove all the sanity checks now we make it clear that it is obsolete name for gdk_draw_pixbuf(). * gdk/gdkpixmap.c gtk/gtkcellrendererpixbuf.c gtk/gtkimage.c gtk/gtkpixmap.c demos/testpixbuf-scale.c demos/testpixbuf.c tests/testrgb.c: Use gdk_draw_pixbuf() everywhere. * gtk/gtklabel.c (gtk_label_set_mnemonic_widget): Fix some warnings. * gdk/gdkinternals.h (struct _GdkEventPrivate): Fix missed bit from last gdk_event_get_screen() change. * gdk/gdkevents.c: Couple of small fixes.i
* Add gdk_screen_set_screen()/_get_screen() which (by evil hacks) work forOwen Taylor2002-10-023-5/+103
| | | | | | | | | Wed Oct 2 17:36:42 2002 Owen Taylor <otaylor@redhat.com> * gdk/gdkevents.[ch] gdk/x11/gdkevents-x11.[ch]: Add gdk_screen_set_screen()/_get_screen() which (by evil hacks) work for for heap allocated events and fall back gracefully for stack allocated events.
* Set image->windowing_data to NULL, unref the image. (Late merge fromTor Lillqvist2002-09-301-0/+4
| | | | | | | | 2002-09-30 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_impl_win32_finalize): Set image->windowing_data to NULL, unref the image. (Late merge from stable.)
* Remove a duplicate definition of gdk_set_sm_client_id().Owen Taylor2002-09-301-1/+0
| | | | | | | Mon Sep 30 15:38:53 2002 Owen Taylor <otaylor@redhat.com> * gdk/gdkwindow.h: Remove a duplicate definition of gdk_set_sm_client_id().
* Set the client ID on all displays. (#85713)Owen Taylor2002-09-307-46/+40
| | | | | | | | | | | | Mon Sep 30 15:31:57 2002 Owen Taylor <otaylor@redhat.com> * gdk/gdkdisplay.c gdk/x11/gdkdisplay-x11.c gdk/gdkinternals.h: Set the client ID on all displays. (#85713) * gdk/gdkdisplay.h gkd/gdkinternals.h gdk/{linux-fb,win32,x11}/gdkmain-{fb,win32,x11}.c Privatize gdk_display_set_sm_client_id().
* Make drawing to the root window work. (#89492)Matthias Clasen2002-09-271-0/+2
| | | | | * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_init): Make drawing to the root window work. (#89492)
* Move gdk_keval_name and gdk_keyval_from_name to new gdkkeynames.c, shareEric Warmenhoven2002-09-279-1430/+1489
| | | | | | | | | | | | | | | | | | | | | Fri Sep 27 14:30:34 2002 Eric Warmenhoven <eric@warmenhoven.org> * gdk/Makefile.am gdk/gdkkeynames.c gdk/linux-fb/gdkmain-fb.c gdk/win32/gdkkeys-win32.c: Move gdk_keval_name and gdk_keyval_from_name to new gdkkeynames.c, share implementation for linux-fb and win32 (#94123) * gdk/linux-fb/Makefile.am gdk/linux-fb/gdkkeyboard-fb.c gdk/linux-fb/gdkmain-fb.c gdk/linux-fb/gdkmouse-fb.c: add -DG_DISABLE_DEPRECATED and -DGDK_PIXBUF_DISABLE_DEPRECATED to compile flags * gdk/linux-fb/gdkdisplay-fb.c: prevent segfault if display can't initialize * gdk/linux-fb/gdkkeyboard-fb.c: better parsing of keycodes * gdk/linux-fb/gdkwindow-fb.c: add stubs for new functions
* fix GtkWindowMnemonic to have a separate typedefHavoc Pennington2002-09-259-95/+432
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-09-24 Havoc Pennington <hp@redhat.com> * gtk/gtkwindow.c: fix GtkWindowMnemonic to have a separate typedef * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): monitor FULLSCREEN state * tests/testgtk.c (get_state_controls): add fullscreen/unfullscreen test * gdk/gdkdisplay.c (gdk_display_finalize): fix unused variable * gdk/x11/gdkscreen-x11.c (init_xinerama_support): fix unused variable * gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): mop up unused variable * gdk/x11/gdkscreen-x11.c (_gdk_x11_screen_window_manager_changed): emit window_manager_changed signal * gdk/x11/gdkscreen-x11.h (struct _GdkScreenX11Class): add window_manager_changed signal * gdk/x11/gdkevents-x11.c (gdk_x11_screen_get_window_manager_name): new function * gtk/gtkwindow.c (gtk_window_class_init): add type_hint, skip_taskbar_hint, skip_pager_hint properties (gtk_window_set_skip_taskbar_hint): (gtk_window_get_skip_taskbar_hint): (gtk_window_set_skip_pager_hint): (gtk_window_get_skip_pager_hint): (gtk_window_fullscreen): (gtk_window_unfullscreen): new functions * gdk/gdkevents.h (GdkWindowState): add FULLSCREEN state * gdk/gdkwindow.h (GdkWindowTypeHint): add missing type hint values * gdk/x11/gdkwindow-x11.c (gdk_window_set_skip_taskbar_hint): (gdk_window_set_skip_pager_hint): (gdk_window_fullscreen): (gdk_window_unfullscreen): new functions (set_initial_hints): set fullscreen here if appropriate
* Add gdk_screen_make_display_name(), which returns a display name that canOwen Taylor2002-09-254-0/+41
| | | | | | | | | Wed Sep 25 10:51:24 2002 Owen Taylor <otaylor@redhat.com> * gdk/gdkscreen.h gdk/{x11,win32,linux-fb}/gdkscreen-*.c: Add gdk_screen_make_display_name(), which returns a display name that can be used to open a display with the screen as the default (Based on patch from Mark McLoughlin, #86013)
* Patch from Eric Warmenhoven, #94123Owen Taylor2002-09-252-3/+85
| | | | | | | | | | | | Wed Sep 25 08:50:40 2002 Owen Taylor <otaylor@redhat.com> Patch from Eric Warmenhoven, #94123 * gdk/gdkmouse-fb.c: Add scrolling support for imps2 mice. * gdk/linux-fb/gdkimage-fb.c: Fix compilation error in last gdkimage-fb.c commit.
* add -DG_DISABLE_DEPRECATED and -DGDK_PIXBUF_DISABLE_DEPRECATED to compileManish Singh2002-09-2529-155/+158
| | | | | | | | | | | | | | | | | | Wed Sep 25 00:16:53 2002 Manish Singh <yosh@gimp.org> * gdk/Makefile.am gdk/x11/Makefile.am: add -DG_DISABLE_DEPRECATED and -DGDK_PIXBUF_DISABLE_DEPRECATED to compile flags * gdk/gdkcolor.c gdk/gdkdisplay.c gdk/gdkdraw.c gdk/gdkevents.c gdk/gdkgc.c gdk/gdkimage.c gdk/gdkpango.c gdk/gdkpixbuf-render.c gdk/gdkpixmap.c gdk/gdkrgb.c gdk/gdkwindow.c gdk/linux-fb/gdkdnd-fb.c gdk/linux-fb/gdkfont-fb.c gdk/win32/gdkdnd-win32.c gdk/win32/gdkfont-win32.c gdk/x11/gdkdisplay-x11.c gdk/x11/gdkdnd-x11.c gdk/x11/gdkdrawable-x11.c gdk/x11/gdkevents-x11.c gdk/x11/gdkfont-x11.c gdk/x11/gdkgc-x11.c gdk/x11/gdkgeometry-x11.c gdk/x11/gdkim-x11.c gdk/x11/gdkinput-x11.c gdk/x11/gdkkeys-x11.c gdk/x11/gdkscreen-x11.c gdk/x11/gdkwindow-x11.c: Deprecation cleanup, mostly changing gdk_foo_{ref,unref} to g_object equivalents.
* Look up the visual as well as the colormap, since callingOwen Taylor2002-09-241-3/+8
| | | | | | | | | | Tue Sep 24 19:45:55 2002 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_get_colormap): Look up the visual as well as the colormap, since calling gdk_drawable_get_visual() causes infinite recursion. * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_init): Set the colormap for the root window.
* disable/enable preedit/status in GtkIMContextXIM (#59076)Hidetoshi Tajima2002-09-241-0/+2
| | | | | | | | | | | | | | | * gnome-settings-xsettings.c: added two new xsettings for GTK+ input method preedit and status styles. With the other patch for gtk+, the preedit and status styles of GTK+ input method are configurable with associated gconf schemas keys: "/desktop/gnome/interface/gtk-im-preedit-style" "/desktop/gnome/interface/gtk-im-status-style" Both are set to "callback" by default, and platform's packging can have different default by changing libgnome's desktop_gnome_interface.schemas.
* Replace leftover gdkx_visual_get_for_screen () byMatthias Clasen2002-09-241-1/+1
| | | | | * gdk/x11/gdkvisual-x11.c (gdkx_visual_get): Replace leftover gdkx_visual_get_for_screen () by gdk_x11_screen_lookup_visual().
* Replace leftover gdk_colormap_lookup () by gdk_x11_colormap_foreign_new ()Matthias Clasen2002-09-241-1/+2
| | | | | | * gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_get_colormap): Replace leftover gdk_colormap_lookup () by gdk_x11_colormap_foreign_new () to make the linker happy.
* Add a GtkAccelGroupFindFunc to clean up the prototype. (#76670, VitalyOwen Taylor2002-09-242-7/+8
| | | | | | | | | | | Tue Sep 24 17:49:52 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkaccelgroup.[ch] (gtk_accel_group_find): Add a GtkAccelGroupFindFunc to clean up the prototype. (#76670, Vitaly Tishkov) * gdk/x11/gdkvisual-x11.c gdk/x11/gdkx.h: Rename gdkx_visual_get_for_screen() to gdk_x11_screen_lookup_visual(). (#85702)
* Merge from gtk-2-0:Tor Lillqvist2002-09-241-4/+4
| | | | | | | | | | 2002-09-25 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkevents-win32.c (gdk_event_translate): WM_SYSKEYDOWN, WM_SYSKEYUP: Need to handle F10 specially here in order to be able to handle it normally in the application. Set ignore_wm_char also always when handling WM_SYSKEY{DOWN,UP}, this way we can generate GDK events also for Alt-Fn keys, for instance.
* Add a missing ; to make things compile.Matthias Clasen2002-09-241-1/+1
| | | | * gdk/x11/gdkx.h: Add a missing ; to make things compile.
* Make icon sizes configurable (#70648, slightly based on a patch from BillOwen Taylor2002-09-241-0/+1
| | | | | | | | | | | | | | | | | | | Tue Sep 24 16:40:14 2002 Owen Taylor <otaylor@redhat.com> Make icon sizes configurable (#70648, slightly based on a patch from Bill Haneman, Brian Cameron) * gtk/gtkiconfactory.[ch]: Add gtk_icon_size_lookup_for_settings(). * gtk/gtksettings.c: Add gtk-icon-sizes XSETTING * gtk/gtkiconfactory.c: Make icon sizes per-GtkSettings. * gtk/gtkstyle.c: Use gtk_icon_size_lookup_for_settings() * gtk/gtkrc.[ch]: Privately export _gtk_rc_reset_styles() to force all the widgets to recompute their appearance.
* gdk/win32/gdkimage-win32.c gdk/x11/gdkimage-x11.c Add bounds-checkingOwen Taylor2002-09-243-2/+14
| | | | | | | Tue Sep 24 16:24:22 2002 Owen Taylor <otaylor@redhat.com> * gdk/win32/gdkimage-win32.c gdk/x11/gdkimage-x11.c * gdk/linux-fb/gdkimage-fb.c (gdk_image_put/get_pixel): Add bounds-checking g_return_if_fail(). (Olexiy Avramchenko)
* Delete unused private gdk_visual_lookup(), make gdk_colormap_lookup()Owen Taylor2002-09-248-84/+128
| | | | | | | | | | | | | | | | | | Tue Sep 24 16:04:44 2002 Owen Taylor <otaylor@redhat.com> * gdkprivate-x11.h gdkcolor-x11.c gdkvisual-x11.c gdkwindow-x11.c: Delete unused private gdk_visual_lookup(), make gdk_colormap_lookup() private gdkcolor-x11.c. make gdk_window_add_colormap_windows private to gdkwindow-x11.c (#85674) * gdk/x11/gdkx.h gdk/x11/gdkcolor-x11.c gdkscreen-x11.h: Add gdk_x11_colormap_foreign_new(), GDK_ENABLE_BROKEN gdkx_colormap_get(), make the colormap hash per-screen. (#85697) * gdk/x11/gdkxid.c (gdk_xid_table_lookup_for_display): Remove a bit of unecessary code.
* Change the window parameter forOwen Taylor2002-09-245-19/+20
| | | | | | | | | | Tue Sep 24 05:26:31 2002 Owen Taylor <otaylor@redhat.com> * gdk/gdk.h gdk/gdkdisplay.c gdk/linux-fb/gdkevents-fb.c gdk/x11/gdkevents-x11.c gdk/win32/gdkevents-win32.c: Change the window parameter for gdk_event_send_client_message[_for_display] from guint32 to GdkNativeWindow. (#79979)
* Add a keys_changed signal emitted when the keymap changes. (#72148)Owen Taylor2002-09-235-2/+26
| | | | | | | | | | | | | Mon Sep 23 16:48:46 2002 Owen Taylor <otaylor@redhat.com> * gdk/gdkkeys.[ch] gdk/x11/gdkkeys-x11.c gdk/x11/gdkevents-x11.c: Add a keys_changed signal emitted when the keymap changes. (#72148) * gtk/gtkkeyhash.c (_gtk_key_hash_remove_entry): Hook up code to handle keymap changes, change to keep a linked list of keymap entries so that we can reinsert them in the same order on a keymap change.
* Patch from Eric Warmenhoven to with miscellaneous linux-fb fixes,Owen Taylor2002-09-226-17/+84
| | | | | | | | | | Sun Sep 22 18:22:37 2002 Owen Taylor <otaylor@redhat.com> * gdk/linux-fb/{gdkinput.c,gdkkeyboard-fb.c,gdk/linux-fb/gdkmain-fb.c, gdk/linux-fb/gdkprivate-fb.h, gdk/linux-fb/gdkwindow-fb.c}: Patch from Eric Warmenhoven to with miscellaneous linux-fb fixes, including a fix for a crash in gdk_keymap_get_entries_for_keycode (#87420)
* Mark abstract types as G_TYPE_FLAG_ABSTRACT. (#72383)Matthias Clasen2002-09-212-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | * gdk/gdkdraw.c (gdk_drawable_get_type): * gdk/gdkgc.c (gdk_gc_get_type): * gtk/gtkmenushell.c (gtk_menu_shell_get_type): * gtk/gtkimcontext.c (gtk_im_context_get_type): * gtk/gtkprogress.c (gtk_progress_get_type): * gtk/gtkoldeditable.c (gtk_old_editable_get_type): * gtk/gtkcellrenderer.c (gtk_cell_renderer_get_type): * gtk/gtkwidget.c (gtk_widget_get_type): * gtk/gtkseparator.c (gtk_separator_get_type): * gtk/gtkscrollbar.c (gtk_scrollbar_get_type): * gtk/gtkscale.c (gtk_scale_get_type): * gtk/gtkrange.c (gtk_range_get_type): * gtk/gtkpaned.c (gtk_paned_get_type): * gtk/gtkmisc.c (gtk_misc_get_type): * gtk/gtkitem.c (gtk_item_get_type): * gtk/gtkcontainer.c (gtk_container_get_type): * gtk/gtkbbox.c (gtk_button_box_get_type): * gtk/gtkbox.c (gtk_box_get_type): * gtk/gtkbin.c (gtk_bin_get_type): * gtk/gtkobject.c (gtk_object_get_type): Mark abstract types as G_TYPE_FLAG_ABSTRACT. (#72383)
* Copy from X11 backend. The old version mishandled consecutive newlines.Tor Lillqvist2002-09-211-4/+4
| | | | | | | | | | 2002-09-21 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkselection-win32.c (sanitize_utf8): Copy from X11 backend. The old version mishandled consecutive newlines. * tests/testgtkrc: Remove obsolete mention of gtk-engines and Pixmap theme engine on Win32.
* Delete leftover declarations of the obsolete Win32-only functionsTor Lillqvist2002-09-1911-389/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-09-20 Tor Lillqvist <tml@iki.fi> * gdk/gdkfont.h: Delete leftover declarations of the obsolete Win32-only functions gdk_font_full_name_get() and gdk_font_full_name_free(). * gdk/gdk.def: Delete from here, too. * gdk/win32/gdkfont-win32.c (logfont_to_xlfd, gdk_font_full_name_get, gdk_font_full_name_free): Delete implementation, and helper functions. (pattern_match, InnerEnumFontFamExProc, EnumFontFamExProc, gdk_font_list_new, gdk_font_list_free): Delete unused functions. (gdk_text_width, gdk_text_width_wc) Instead of code duplication, let gdk_text_extents() and gdk_text_extents_wc() do the job. * gdk/win32/gdkgc-win32.c (gdk_win32_gc_values_to_win32values): Don't use the above removed functions in debugging output. * gdk/win32/gdkdisplay-win32.c * gdk/win32/gdkmain-win32.c * gdk/win32/gdkprivate-win32.h * gdk/win32/gdkselection-win32.c * gdk/win32/gdkinput-win32.h * gdk/win32/gdkinput.c: Make it compile again, pass a GdkDisplay in a couple of places.
* Fix usage of compat GTK_TYPE_ macros without including gtkobject.h.Owen Taylor2002-09-192-1/+11
| | | | | | | | | | | Thu Sep 19 16:39:29 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtksettings.h (GTK_SETTINGS_GET_CLASS): Fix usage of compat GTK_TYPE_ macros without including gtkobject.h. * gdk/x11/gdkevents-x11.[ch]: Set a flag when initializing to avoid having extra settings-notify events sent when not needed.
* fixed my latest change.Sven Neumann2002-09-141-1/+1
| | | | | | 2002-09-14 Sven Neumann <sven@gimp.org> * gdk/gdkpixbuf-drawable.c: fixed my latest change.
* use the most significant bits of the GdkColor components (#89703).Sven Neumann2002-09-131-21/+21
| | | | | | | 2002-09-13 Sven Neumann <sven@gimp.org> * gdk/gdkpixbuf-drawable.c: use the most significant bits of the GdkColor components (#89703).
* Merge from gtk-2-0:Tor Lillqvist2002-09-111-22/+25
| | | | | | | | | 2002-09-12 Tor Lillqvist <tml@iki.fi> Merge from gtk-2-0: * gdk/win32/gdkkeys-win32.c (print_keysym_tab): Factor out debugging output to new function.