1. 29 Oct, 2002 1 commit
  2. 28 Oct, 2002 1 commit
    • Tor Lillqvist's avatar
      Don't call GetWindowLong for GWL_EXSTYLE, the extended window style wasn't · ae26d024
      Tor Lillqvist authored
      2002-10-28  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkwindow-win32.c (gdk_window_set_decorations,
      	gdk_window_set_functions): Don't call GetWindowLong for
      	GWL_EXSTYLE, the extended window style wasn't used or
      	changed. After setting the window style with SetWindowLong, call
      	SetWindowPos with the SWP_FRAMECHANGED flag for the window to
      	actually be updated, as Platform SDK docs say one should. (#95812,
      	huzheng)
      ae26d024
  3. 25 Oct, 2002 1 commit
    • Matthias Clasen's avatar
      Fix doc comment. · 1a4c94b9
      Matthias Clasen authored
      	* gdk/x11/gdkcursor-x11.c: Fix doc comment.
      
      	* gdk/gdkdnd.c: Add missing includes.
      1a4c94b9
  4. 24 Oct, 2002 1 commit
  5. 23 Oct, 2002 2 commits
  6. 22 Oct, 2002 2 commits
  7. 18 Oct, 2002 2 commits
    • Owen Taylor's avatar
      Handle Return and KP_Enter. · a5803ca5
      Owen Taylor authored
      Fri Oct 18 16:47:02 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkevents-x11.c (translate_key_event): Handle
              Return and KP_Enter.
      a5803ca5
    • Owen Taylor's avatar
      Fix use of uninitialized variable. · 30faa38a
      Owen Taylor authored
      Thu Oct 17 17:17:05 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkcheckbutton.c (gtk_check_button_size_request):
              Fix use of uninitialized variable.
      
      Thu Oct 17 14:38:37 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkaccellabel.c (gtk_accel_label_expose_event):
              Align the baseline of the accelerator label with the
              first baseline of the main label of the menu item. (#76593)
      
      Wed Oct 16 18:25:24 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkevents-x11.c (translate_key_event):
              Use gdk_keymap_translate_keyboard_state() rather than
              XLookupString() to get the keysymbol, since XLookupString
              can confuse the input method handling. (#93575)
      
              * gdk/x11/gdkkeys-x11.c: Rewrite the handling of
              key translation for the non-XKB case to properly
              handle Shift_Lock, Caps_Lock, Num_Lock according
              to the Xlib spec. (#67066)
      30faa38a
  8. 17 Oct, 2002 1 commit
    • Havoc Pennington's avatar
      add g_return_if_fail for monitor number <= 0 · 727eb8af
      Havoc Pennington authored
      2002-10-16  Havoc Pennington  <hp@redhat.com>
      
      	* gdk/x11/gdkscreen-x11.c (gdk_screen_get_monitor_geometry): add
      	g_return_if_fail for monitor number <= 0
      
      	* gtk/gtkmenu.c (gtk_menu_position): handle case where pointer
      	is outside the screen.
      
      	* gtk/gtkwindow.c (get_monitor_center): factor out
      	the code to position a window in center
      	(gtk_window_compute_configure_request): use here
      	(gtk_window_constrain_position): use here, the
      	code here wasn't multihead-aware
      
      	* gdk/x11/gdkevents-x11.c (get_real_window): function to
      	return the window the event describes, rather than the window
      	that received the event.
      	(gdk_event_translate): use result of that function for
      	filling in GdkEvent::window, which only matters for
      	MapNotify/UnmapNotify and ConfigureNotify, in practice.
      
      	Unbreaks various things using SubstructureNotifyMask.
      727eb8af
  9. 16 Oct, 2002 2 commits
  10. 13 Oct, 2002 1 commit
    • Soeren Sandmann's avatar
      Documentation fixes. · a130f089
      Soeren Sandmann authored
      Sun Oct 13 18:50:14 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtkmenu.c, gtkmenu.sgml, gtkitemfactory.c, gdkwindow.c,
      	gtkwindow.c, gtkpaned.sgml, gtkdialog.c, gtkbox.h, gtkbutton.sgml,
      	gtktreemodel.sgml,gtktable.sgml, gtktable.c:
      
      	Documentation fixes.
      
      	#85719, #90759, #95169, Owen Taylor;
      	#89221, Yao Zhang, Matthias Clasen;
      	#95592, Joost Faassen;
      	#92637, Vitaly Tishkov;
      	#94616, Ben Martin;
      	#94772, sbaillie@bigpond.net.au;
      a130f089
  11. 11 Oct, 2002 2 commits
  12. 08 Oct, 2002 2 commits
    • Owen Taylor's avatar
      Move out of HAVE_XKB. (#95129, Phil Blundell) · f2313b63
      Owen Taylor authored
      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)
      f2313b63
    • Eric Warmenhoven's avatar
      fix compilation · 6173371a
      Eric Warmenhoven authored
      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
      6173371a
  13. 07 Oct, 2002 6 commits
    • Owen Taylor's avatar
      New file. Move gdk_drag_find_window(), gdk_drag_get_protocol() here. · 7aac398d
      Owen Taylor authored
      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.
      7aac398d
    • Owen Taylor's avatar
      Add gdk_drag_find_window_for_screen(), so that we can interpret x_root / · f3f016d0
      Owen Taylor authored
      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.
      f3f016d0
    • Owen Taylor's avatar
      - Replace GdkPointerHooks with a multihead-safe GdkDisplayPointerHooks, · 253458ec
      Owen Taylor authored
      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.
      253458ec
    • Owen Taylor's avatar
      Fix some prototypes that had () instead of (void). · c1fff202
      Owen Taylor authored
      Mon Oct  7 14:51:21 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkx.h: Fix some prototypes that had
              () instead of (void).
      c1fff202
    • Owen Taylor's avatar
      If Mode_switch is used for a known modifier like Mod1, assume it won't be · b598a434
      Owen Taylor authored
      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)
      b598a434
    • Bill Haneman's avatar
  14. 05 Oct, 2002 1 commit
    • Soeren Sandmann's avatar
      docs/reference/gtk/tmpl/gtkfontseldlg.sgml, gdk/gdkwindow.c, · a92b7a99
      Soeren Sandmann authored
      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
      a92b7a99
  15. 04 Oct, 2002 5 commits
    • Owen Taylor's avatar
      Patch from Shivram U <shivaram.upadhyayula@wipro.com> · fd83bdba
      Owen Taylor authored
      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)
      fd83bdba
    • Anders Carlsson's avatar
      Remove this · bb763b5c
      Anders Carlsson authored
      bb763b5c
    • jacob berkman's avatar
      make legal C · a746c7c0
      jacob berkman authored
      2002-10-04  jacob berkman  <jacob@ximian.com>
      
      	* gdk/x11/gdkscreen-x11.c (init_xinerama_support): make legal C
      a746c7c0
    • Owen Taylor's avatar
      Get the name right. · ba768cd3
      Owen Taylor authored
      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.
      ba768cd3
    • Owen Taylor's avatar
      Add a check for the Xrandr extension. · 8555f427
      Owen Taylor authored
      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
      8555f427
  16. 03 Oct, 2002 5 commits
    • Eric Warmenhoven's avatar
      implement maximize for linux-fb · ccc2ccf2
      Eric Warmenhoven authored
      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
      ccc2ccf2
    • Owen Taylor's avatar
      Fix error in computing length and a memory leak. (Fixes #94072, reported · 92fa2231
      Owen Taylor authored
      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.
      92fa2231
    • Kristian Rietveld's avatar
      get XDisplay from window instead of display, as display has not been · 040d54a5
      Kristian Rietveld authored
      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).
      040d54a5
    • Owen Taylor's avatar
      Restore the pre-Xft2 code to render text directly via RENDER, · 27290036
      Owen Taylor authored
      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)
      27290036
    • Owen Taylor's avatar
      Add a 'type' parameter, make public. · ef33adff
      Owen Taylor authored
      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.
      ef33adff
  17. 02 Oct, 2002 2 commits
    • Owen Taylor's avatar
      Export _gdk_draw_pixbuf as gdk_draw_pixbuf(), rename the _draw_pixbuf · 6cb79658
      Owen Taylor authored
      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
      6cb79658
    • Owen Taylor's avatar
      Add gdk_screen_set_screen()/_get_screen() which (by evil hacks) work for · ed521b3c
      Owen Taylor authored
      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.
      ed521b3c
  18. 30 Sep, 2002 3 commits