summaryrefslogtreecommitdiff
path: root/gdk
Commit message (Collapse)AuthorAgeFilesLines
* use SWP_NOACTIVATE in gdk_window_set_keep_(above|below) to make DND workHans Breuer2004-01-042-2/+3
| | | | | | | | | | | | | | | | | | | | 2004-01-04 Hans Breuer <hans@breuer.org> * gdk/win32/gdkwindow-win32.c : use SWP_NOACTIVATE in gdk_window_set_keep_(above|below) to make DND work again. Thanks to Alif Wahid for noticing. * gdk/gdk.def : update externals * gtk/gtkfilesystemwin32.c : adapt to GtkFileSystemIFace changes * gtk/gtk-stock.[hc] gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am gtk/stock-icons/makefile.msc : gtk/stock-icons/stock_harddisk_16.png gtk/stock-icons/stock_harddisk_24.png Harddisk stock icons for file system implementations. Beside FLOPPY and CDROM there is now HARDDISK, probably some GTK_STOCK_NETWORK would be useful, but I could not find one.
* Fix to allow reasonable pointer behavior in window mode when an extended13:49 Daniel Rogers2003-12-311-9/+26
| | | | | | | | | | | 2003-12-31 13:49 Daniel Rogers <dsrogers@phasevelocity.org> * gdk/x11/gdkinput-x11.c: (gdk_input_translate_coordinates) Fix to allow reasonable pointer behavior in window mode when an extended input device reports an incorrect resolution of 0. Fixes bug #123546
* Add the missing _get_ to the name of the non-Xcursor version of thisMatthias Clasen2003-12-241-1/+1
| | | | | | | | Thu Dec 25 00:26:34 2003 Matthias Clasen <maclas@gmx.de> * gdk/x11/gdkcursor-x11.c (gdk_display_get_default_cursor_size): Add the missing _get_ to the name of the non-Xcursor version of this function. (noticed by Torsten Schoenfeld)
* Set the right properties when the window becomes a toplevel. When a windowSoeren Sandmann2003-12-212-84/+121
| | | | | | | | | | | Sun Dec 21 17:34:22 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gdk/x11/gdkwindow-x11.c (gdk_window_reparent): Set the right properties when the window becomes a toplevel. When a window that was previously a toplevel becomes a toplevel again, restore its window type. Also make sure the focus window is removed from the XID hash when it is destroyed. (#117579, reported by Morten Welinder, patch reviewed by Owen Taylor).
* Do not interpret distant clicks as double-clicks (#116541, BernhardMatthias Clasen2003-12-164-20/+57
| | | | | | | | | | | | | | | | | | | | | | | Tue Dec 16 01:46:46 2003 Matthias Clasen <maclas@gmx.de> Do not interpret distant clicks as double-clicks (#116541, Bernhard Walle): * gdk/gdkdisplay.h (struct GdkDisplay): Add new fields double_click_distance, button_x and button_y. * gdk/gdkdisplay.c (gdk_display_init): Initialize the new fields. * gdk/gdkdisplay.h: * gdk/gdkevents.c (gdk_display_set_double_click_distance): New function to set the double click distance on a display. * gdk/gdkevents.c: Take double click distance into account when generating single, double or triple clicks. * gtk/gtksettings.c: Add new setting "gtk-double-click-distance". * gdk/x11/gdkevents-x11.c: Add the XSetting "Net/DoubleClickDistance" and map it to "gtk-double-click-distance".
* handle GTK_DATADIR similar as the other filesystem placement 'constants'Hans Breuer2003-12-144-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-14 Hans Breuer <hans@breuer.org> * gtk/gtkprivate.h gtk/gtkmain.c : handle GTK_DATADIR similar as the other filesystem placement 'constants' (dynamic resolving on win32) * gtk/gtkfilechooserwidget.c : handle file system to win32 renaming here as will * gtk/gtkfilesystemwin32.c : implement render_icon * gtk/gtk.def gdk/gdk.def : updated externals * gdk/win32/gdkdisplay-win32.c : make it compile without <multimon.h> - i.e. even older sdk * gdk/win32/gdkevents-win32.c : match resize_timer_proc with TIMERPROC prototype * gdk/win32/gdkwindow-win32.c : older msvc does not know BITMAPV5HEADER (from win xp) either * gtk/gtkimmodule.c : make it compile even if GTK_LOCALEDIR is not defined * tests/testfilechooser.c : recent GLib crashes on g_print ("%s", NULL) so avoid this
* Calls to OpenClipboard() must be followed by calls to CloseClipboard().Tor Lillqvist2003-12-141-29/+19
| | | | | | | | | 2003-12-14 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkselection-win32.c: Calls to OpenClipboard() must be followed by calls to CloseClipboard(). Add a missing call to CloseClipboard(). Found by Adam Wright, fixes #104944. Use API_CALL macro in more places.
* Merge from stable:Tor Lillqvist2003-12-146-234/+314
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-14 Tor Lillqvist <tml@iki.fi> Merge from stable: * gdk/gdkdisplaymanager.c: Mark default_display static. * gdk/win32/gdkdnd-win32.c: Mark current_dest_drag static. * gdk/win32/gdkkeys-win32.c: Disable some overly verbose debugging output. * gdk/win32/gdkevents-win32.c: Clean up the debugging output from --gdk-debug=events. In general, output just one line of debugging output for each Windows message, plus one line for each GDK event generated. Indent all lines according to window procedure nesting level. (inner_window_procedure): Rename from real_window_procedure. (find_real_window_for_grabbed_mouse_event): Don't get misled when the point is in the non-client (decoration) area of the window returned by WindowFromPoint(). Return the root window in that case. (build_pointer_event_state): Test also MK_XBUTTON1 and MK_XBUTTON2 (buttons 4 and 5). (synthesize_enter_event): Track the mouse leaving the window in the event being generated, not the one mentioned in the Windows message. (propagate): Test for NULL parent earlier. Improves event generation from a grabbed pointer. Part of fix for #107320. (handle_stuff_while_moving_or_resizing): New function, to dispatch the main loop (once). (resize_timer_proc): New function, set to be called by an inerval timer during resizes/moves. Calls handle_stuff_while_moving_or_resizing(). (gdk_event_translate): Drop unused return_exposes parameter. Handle WM_XBUTTONDOWN and UP messages (buttons 4 and 5). On WM_SYSKEYUP, generate a key release event also for just the Alt key. On WM_MOUSELEAVE, generate a leave event of type GDK_NOTIFY_ANCESTOR (and not UNKNOWN) if the mouse left a top-level window, and left the app completely. On WM_ENTERSIZEMOVE, set a flag, and start an interval timer that calls resize_timer_proc() at regular intervals. On WM_EXITSIZEMOVE, kill the timer. On WM_WINDOWPOSCHANGED, generate a configure event if necessary, and dispatch the main loop (by calling handle_stuff_while_moving_or_resizing()). Fixes #99540, idea by Herman Bloggs. * gdk/win32/gdkmain-win32.c (_gdk_win32_message_to_string): Handle also wintab messages. * gdk/win32/gdkwindow-win32.c (gdk_window_set_skip_taskbar_hint): Instead of using WS_EX_TOOLWINDOW, implement by setting/unsetting the window's owner. Fixes #118093, reported by Maxime Romano.
* Implement gdk_window_set_icon_list() for Win32, with support for big andTim Evans2003-12-142-95/+297
| | | | | | | | | | Tue Dec 8 09:41:00 2003 Tim Evans <t.evans@aranz.com> * gdk/win32/gdkwindow-win32.[ch]: Implement gdk_window_set_icon_list() for Win32, with support for big and small icons and support for alpha-channel icons under Windows XP. Replaces the previous implementation of gdk_window_set_icon(). (#128762)
* Rename from _gdk_x11_register_event_type(), added API docs.Matthias Clasen2003-12-145-10/+31
| | | | | | | | | | | | Sun Dec 14 01:28:23 2003 Matthias Clasen <maclas@gmx.de> * gdk/x11/gdkprivate-x11.h: * gdk/x11/gdkx.h: * gdk/x11/gdkevents-x11.c (gdk_x11_register_standard_event_type): Rename from _gdk_x11_register_event_type(), added API docs. * gdk/x11/gdkinput-x11.c (_gdk_input_common_init): * gdk/x11/gdkimage-x11.c (_gdk_windowing_image_init): Adjust all callers. (#121471, Bill Haneman)
* Document that the clip mask of gc is ignored. (#101983, Sebastian Rittau)Matthias Clasen2003-12-131-0/+3
| | | | | | | Sat Dec 13 23:37:50 2003 Matthias Clasen <maclas@gmx.de> * gdk/gdkdraw.c (gdk_draw_pixbuf): Document that the clip mask of gc is ignored. (#101983, Sebastian Rittau)
* Documentation updates.Matthias Clasen2003-12-112-13/+28
|
* Changes to allow "no input" windows (#64613):Matthias Clasen2003-12-105-3/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thu Dec 11 00:35:12 2003 Matthias Clasen <maclas@gmx.de> Changes to allow "no input" windows (#64613): * gdk/gdkwindow.h (struct _GdkWindowObject): Add a new boolean field accept_focus. * gdk/gdkwindow.h (gdk_window_set_accept_focus): New function to set it. * gtk/gtkwindow.[hc]: Add a boolean property "accept_focus" and gtk_window_get_focus() and gtk_window_set_focus(). * gdk/win32/gdkwindow-win32.c (gdk_window_new): * gdk/linux-fb/gdkwindow-fb.c (gdk_window_new): * gdk/x11/gdkwindow-x11.c (gdk_window_set_new): Initialize the accept_focus field to TRUE. * gdk/win32/gdkwindow-win32.c (gdk_window_set_accept_focus): * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_accept_focus): * gdk/x11/gdkwindow-x11.c (gdk_window_set_accept_focus): Implementations for the various backends. The Win32 and linux-fb implementations set the accept_focus field, but don't use it yet to actually implement noinput windows. The X implementation updates the WM_HINTS to select the globally active input model (see the ICCCM) if accept_focus is FALSE. * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Ignore the WM_TAKE_FOCUS message if accept_focus is FALSE.
* include gdkspawn.h.Mark McLoughlin2003-12-101-0/+1
| | | | | | 2003-12-10 Mark McLoughlin <mark@skynet.ie> * gdk/gdk.h: include gdkspawn.h.
* s/gdk_spawn/gdk_spawn_on_screen/.Mark McLoughlin2003-12-103-15/+15
| | | | | | | | | 2003-12-10 Mark McLoughlin <mark@skynet.ie> * gdk/linux-fb/gdkspawn-fb.c, gdk/win32/gdkspawn-win32.c, gdk/x11/gdkspawn-x11.c: (gdk_spawn_command_line_on_screen): s/gdk_spawn/gdk_spawn_on_screen/.
* Utility functions for multi-screen applications which need to ensureMark McLoughlin2003-12-108-0/+507
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-10 Mark McLoughlin <mark@skynet.ie> Utility functions for multi-screen applications which need to ensure launched applications appear on a certain screen. See bug #95897. * gdk/gdkspawn.h: header for multi-screen launching support. * gdk/Makefile.am: install gdkspawn.h. * gdk/x11/Makefile.am: * gdk/x11/gdkspawn-x11.c: (gdk_spawn_make_environment_for_screen): private function to create an environment vector with DISPLAY set appropriately for the screen. (gdk_spawn_on_screen): multi-screen version of g_spawn_async(). (gdk_spawn_on_screen_with_pipes): version of g_spawn_async_with_pipes(). (gdk_spawn_command_line_on_screen): version of g_spawn_command_line_async(). * gdk/linux-fb/Makefile.am, gdk/linux-fb/gdkspawn-fb.c: linux-fb impl. * gdk/win32/Makefile.am, gdk/win32/gdkspawn-win32.c: win32 impl.
* Improve the GDK API for dealing with group leaders (#119375):Matthias Clasen2003-12-095-9/+72
| | | | | | | | | | | | | | | | | | | | Wed Dec 10 00:06:24 2003 Matthias Clasen <maclas@gmx.de> Improve the GDK API for dealing with group leaders (#119375): * gdk/gdkwindow.h: * gdk/x11/gdkwindow-x11.c (gdk_window_get_group): New function to get the group leader of a toplevel window as a GdkWindow. * gdk/gdkdisplay.h: * gdk/x11/gdkdisplay-x11.c (gdk_display_get_default_group): New function to get the default group leader as a GdkWindow. * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add a field for the GdkWindow of the default group leader. * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Construct the GdkWindow for the default group leader.
* Add keysyms Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN.Noah Levitt2003-12-092-0/+4
| | | | | | | | 2003-12-09 Noah Levitt <nlevitt@columbia.edu> * gdk/gdkkeysyms.h: * gdk/gdkkeyuni.c: Add keysyms Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN. (#128529)
* Use <multimon.h> when compiling with MSVC and old headers. (#126933, JohnTor Lillqvist2003-12-081-0/+4
| | | | | | | 2003-12-08 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkdisplay-win32.c: Use <multimon.h> when compiling with MSVC and old headers. (#126933, John Ehresman)
* Based on a patch by Martin Kretzschmar; #122448Michael Meeks2003-12-083-8/+72
| | | | | | | | | | | | | | | | | | 2003-12-02 Michael Meeks <michael@ximian.com> Based on a patch by Martin Kretzschmar; #122448 * gdk/gdk.h: new gdk_threads_lock, gdk_threads_unlock, point to implementation of GDK_THREADS_ENTER / GDK_THREADS_LEAVE. (GDK_THREADS_ENTER, GDK_THREADS_LEAVE): use gdk_threads_[un]lock function pointers. Deprecate the global gdk_threads_mutex variable. * gdk/gdk.c (gdk_threads_impl_lock, gdk_threads_impl_unlock): new, extracted from GTK_THREADS_ENTER/LEAVE macros. (gdk_threads_init): init gtk_threads_[un]lock if not set. (gdk_threads_set_lock_functions): impl. * gdk/gdkglobals.c: add definitions of gdk_threads_[un]lock.
* Don't use the return value from SendMessage(WM_SETICON). That is the oldTor Lillqvist2003-12-071-2/+2
| | | | | | | | 2003-12-07 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon): Don't use the return value from SendMessage(WM_SETICON). That is the old icon. Fixes GDI resource leak. (#128559, Tim Evans)
* If we already have a pointer grab active with a grab cursor set, destroyTor Lillqvist2003-12-071-0/+8
| | | | | | | | 2003-12-07 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): If we already have a pointer grab active with a grab cursor set, destroy that cursor to avoid a GDI resource leak. (#128410, Tim Evans)
* Make monitor boundaries visible in fake Xinerama mode.Matthias Clasen2003-11-211-13/+44
| | | | | | | Fri Nov 21 01:57:21 2003 Matthias Clasen <maclas@gmx.de> * gdk/x11/gdkscreen-x11.c (init_xinerama_support): Make monitor boundaries visible in fake Xinerama mode.
* Fix for #119555, Peter Zelesny:Matthias Clasen2003-11-175-32/+42
| | | | | | | | | | | | Tue Nov 18 00:12:55 2003 Matthias Clasen <maclas@gmx.de> Fix for #119555, Peter Zelesny: * gdk/gdkdrawable.h: Declare gdk_drawable_copy_to_image. * gdk/gdkdraw.c (gdk_drawable_copy_to_image): Make public by removing the _ prefix. * gdk/gdkdraw.c, gdk/gdkpixbuf-drawable.c, gdk/gdkpixmap.c, gdk/gdkwindow.c: Adjust all callers.
* updated added all the new testsHans Breuer2003-11-152-1/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-15 Hans Breuer <hans@breuer.org> * gdk/makefile.msc gdk/gdk.def gtk/gtk.def gtk/makefile.msc.in : updated * tests/makefile.msc : added all the new tests * gtk/gtkfilefilter.c(finalize) : initialize filter from object not from itself * gtk/gtkfilesystemwin32.[hc] : copied from gtkfilesystemunix.[hc] modified as less as posible to have aworking implementation on win32. There maybe the desire to merge the unchanged pats into a common base class. Also implemented a simple glib based bookmark handling, which is currently missing in gtkfilesystemunix.[hc] but can be copied over there. * gtk/gtkfilechooserwidget.c : conditional include gtkfilesystemwin32.h * gdk/win32/gdkwindow-win32.c : implement gdk_window_set_keep_above() and gdk_window_set_keep_below() * tests/testmerge.c : don't include unistd.h unconditionally, #define STDOUT_FILENO if it isn't defined * tests/testfilechooser.c : make it compile on win32
* If the window is maximized, use SW_SHOWMAXIMIZED. (#126986, John Ehresman)Tor Lillqvist2003-11-151-1/+4
| | | | | | | 2003-11-15 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkwindow-win32.c (gdk_window_focus): If the window is maximized, use SW_SHOWMAXIMIZED. (#126986, John Ehresman)
* Map KP_Separator to ','. (#122941, Egmont Koblinger)Matthias Clasen2003-11-121-0/+1
| | | | | | | Wed Nov 12 20:54:02 2003 Matthias Clasen <maclas@gmx.de> * gdk/gdkkeyuni.c: Map KP_Separator to ','. (#122941, Egmont Koblinger)
* Introduce a GDK_DEBUG_XINERAMA debug flag, and make it trigger a fake 2x2Matthias Clasen2003-11-033-7/+36
| | | | | | | | | | Mon Nov 3 20:56:28 2003 Matthias Clasen <maclas@gmx.de> * gdk/gdk.c: * gdk/gdkinternals.h: * gdk/x11/gdkscreen-x11.c (init_xinerama_support): Introduce a GDK_DEBUG_XINERAMA debug flag, and make it trigger a fake 2x2 Xinerama mode when no actual Xinerama setup is found.
* Move the call to gdk_error_trap_pop() to the right place, fixing a problemOwen Taylor2003-10-291-2/+2
| | | | | | | | | Wed Oct 29 15:01:32 2003 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkimage-x11.c (_gdk_x11_copy_to_image): Move the call to gdk_error_trap_pop() to the right place, fixing a problem where we'd pop() too many times when bailing out. (#123302, Thomas Leonard)
* #include <X11/extensions/Xrandr.h> if we have RandR support, forManish Singh2003-10-271-0/+4
| | | | | | | | | | | | | | Mon Oct 27 15:47:58 2003 Manish Singh <yosh@gimp.org> * gdk/x11/gdkscreen-x11.c: #include <X11/extensions/Xrandr.h> if we have RandR support, for XRRUpdateConfiguration declaration. * gtk/gtkfilefilter.c: #include "gtkprivate.h" for _gtk_fnmatch declaration. * gtk/gtkuimanager.c (gtk_ui_manager_add_ui_from_file): Make length a gsize variable, since that's what g_file_get_contents() expects.
* Actually assign the new leader. (#125168, Mariano Suarez-Alvarez)Matthias Clasen2003-10-231-1/+2
| | | | | | | Thu Oct 23 20:47:44 2003 Matthias Clasen <maclas@gmx.de> * gdk/x11/gdkwindow-x11.c (gdk_window_set_group): Actually assign the new leader. (#125168, Mariano Suarez-Alvarez)
* Make it work as documented when pixmap or mask is NULL. (#124081)Matthias Clasen2003-10-131-2/+6
| | | | | | | Mon Oct 13 20:58:07 2003 Matthias Clasen <maclas@gmx.de> * gdk/x11/gdkwindow-x11.c (gdk_window_set_icon): Make it work as documented when pixmap or mask is NULL. (#124081)
* Document the "direction-changed" and "keys-changed" signals.Matthias Clasen2003-09-304-1/+47
| | | | | | | | | | | | | | | | | | | | | | 2003-09-30 Matthias Clasen <maclas@gmx.de> * gdk/gdkkeys.c (gdk_keymap_class_init): Document the "direction-changed" and "keys-changed" signals. * gdk/gdkscreen.c (gdk_screen_class_init): Document the "size-changed" signal. * gdk/gdkdisplaymanager.c (gdk_display_manager_class_init): Document the "display-opened" signal. * gdk/gdkdisplay.c (gdk_display_close): Doc tweak. (gdk_display_class_init): Document the "closed" signal. * gdk/tmpl/keys.sgml: Small addition. * gdk/gdk-sections.txt: Add GdkDisplayClass and GdkScreenClass. * gdk-pixbuf/gdk-pixbuf-sections.txt: Add GdkPixbufLoaderClass.
* Don't use hardcoded DEMOCODEDIR on Windows.Tor Lillqvist2003-09-251-106/+120
| | | | | | | | | | | | | | | | | | | | | 2003-09-25 Tor Lillqvist <tml@iki.fi> * demos/gtk-demo/main.c: Don't use hardcoded DEMOCODEDIR on Windows. 2003-09-21 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkevents-win32.c (handle_wm_paint): New function. Code split out from gdk_event_translate(). Needed because gdk_event_get_graphics_expose() couldn't do anything sensible otherwise. (Not that I think graphics exposes work anyway in gdk/win32, but at least now the code could work.) (gdk_event_get_graphics_expose): Call handle_wm_paint() instead of gdk_event_translate(), which couldn't have worked as it doesn't take any pre-allocated GdkEvent parameter any longer. (gdk_event_translate): Handle WM_MOUSEACTIVATE: Don't let GDK_WINDOW_TEMP windows be activated. (#122578, John Ehresman)
* Handle dead keysyms present on the US-International keyboard. For clarity,Tor Lillqvist2003-09-191-22/+33
| | | | | | | | | | | 2003-09-19 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkkeys-win32.c (update_keymap): Handle dead keysyms present on the US-International keyboard. For clarity, order keysyms in case statement according to numeric value. (gdk_keymap_translate_keyboard_state): Handle Caps Lock correctly. (#120176, Ken Rastatter and Owen Taylor)
* Add gdk_window_set_keep_{above,below} stubs to fix compilationEric Warmenhoven2003-09-163-18/+59
| | | | | | | | | | | | | Tue Sep 16 10:42:00 2003 Eric Warmenhoven <eric@warmenhoven.org> * gdk/linux-fb/gdkwindow-fb.c: Add gdk_window_set_keep_{above,below} stubs to fix compilation * gdk/linux-fb/gdkrender-fb.c: Add gdk_shadow_fb_stop_updates stub for when shadowfb is disabled. Patch from pjm@cctechnol.com (#120847). * gdk/linux-fb/gdkmouse-fb.c: Add GDK_MOUSE_DEVICE environment variable. Patch from Marc Welz (#121347).
* Remove special-case code for WS_EX_TRANSPARENT (GDK_INPUT_ONLY) windows,Tor Lillqvist2003-09-141-10/+0
| | | | | | | | | 2003-09-14 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkwindow-win32.c (show_window_internal): Remove special-case code for WS_EX_TRANSPARENT (GDK_INPUT_ONLY) windows, the usefulness of which was already in doubt. Removing it fixes bugs #118575 and #121851.
* Add deprecation notes. (#121955)Matthias Clasen2003-09-112-1/+13
| | | | | | | 2003-09-12 Matthias Clasen <maclas@gmx.de> * gdk/gdkdraw.c (gdk_draw_string, gdk_draw_text) (gdk_draw_text_wc): Add deprecation notes. (#121955)
* //bugs.xfree86.org/show_bug.cgi?id=534)Owen Taylor2003-09-051-27/+0
| | | | | | | | | | | Fri Sep 5 14:15:10 2003 Owen Taylor <otaylor@redhat.com> * Back out locale-dependent interpretation of KP_Decimal, the official XFree86 interpretation is that KP_Decimal => . KP_Separator => , always, independent of locale. (#105161, Frederic Crozat, http://bugs.xfree86.org/show_bug.cgi?id=534)
* big patch from Kjartan Maraas to fix numerous typos.Kristian Rietveld2003-09-033-4/+4
| | | | | | | | | | | | Wed Sep 3 21:38:26 2003 Kristian Rietveld <kris@gtk.org> * gdk/Makefile.am, gdk/linux-fb/gdkfbmanager.c, gdk/x11/gdkcolor-x11.c, gdk-pixbuf/io-gif.c, gtk/Makefile.am, gtk/gtkcalendar.c, gtk/gtkclist.c, gtk/gtkctree.c, gtk/gtkdnd.c, gtk/gtkentry.c, gtk/gtkhandlebox.c, gtk/gtkitemfactory.c, gtk/gtkmenu.c, gtk/gtknotebook.c, gtk/gtkrange.c, gtk/gtkrc.h, gtk/gtktree.c, gtk/gtktypeutils.h: big patch from Kjartan Maraas to fix numerous typos.
* Don't call CloseHandle() on the HMODULE returned from GetModuleHandle().Tor Lillqvist2003-09-021-2/+0
| | | | | | | | | | | | | 2003-09-02 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkdisplay-win32.c (gdk_display_open): Don't call CloseHandle() on the HMODULE returned from GetModuleHandle(). Didn't cause any harm, but didn't do anything useful either. When running a GTK+ program under MS's debugger, the CloseHandle() call would cause a "first-chance exception" in ntdll.dll to show up. (The exception is caught appropriately if you let it proceed, but it confuses the person using the debugger). Thanks to Bruce Hochstetler for noticing.
* Fix bug where the background pixmap was being offset twice, once by theSoeren Sandmann2003-09-011-4/+1
| | | | | | | | Mon Sep 1 19:39:14 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gdk/gdkwindow.c (gdk_window_get_bg_gc): Fix bug where the background pixmap was being offset twice, once by the ts_origin in gdk_window_get_bg_gc(), and once by gdk_draw_rectangle().
* Improve PointerHint docs. Explain is_hint field in GdkEventMotion.Matthias Clasen2003-08-271-4/+4
| | | | | | | | | | 2003-08-28 Matthias Clasen <maclas@gmx.de> * gdk/tmpl/events.sgml: Improve PointerHint docs. * gdk/tmpl/event_structs.sgml: Explain is_hint field in GdkEventMotion. (#120542) * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Markup fix in the docs.
* Fix variable declaration not at start of block. (#120371, Damien Carbery)Owen Taylor2003-08-261-1/+2
| | | | | | | Tue Aug 26 09:57:38 2003 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkkeys-x11.c (update_keymaps): Fix variable declaration not at start of block. (#120371, Damien Carbery)
* Fix up CapsLock and NumLock handling for non-XKB. Add a special case hackOwen Taylor2003-08-251-48/+88
| | | | | | | | | Mon Aug 25 16:15:41 2003 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkkeys-x11.c: Fix up CapsLock and NumLock handling for non-XKB. Add a special case hack for NumLock on Sun servers. (Patch from Robert Basch, #115819)
* Change the interpretation of consumed_modifiers so that it contains: -Owen Taylor2003-08-211-11/+76
| | | | | | | | | | | | Thu Aug 21 15:17:42 2003 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkkeys-x11.c: Change the interpretation of consumed_modifiers so that it contains: - Modifiers combinations actually found in state. - Single modifier modifier combinations. But not multi-modifier combinations that aren't in event->state. Document. (#100439)
* Make the layers in the paint stack have their own pixmap instead ofSoeren Sandmann2003-08-201-195/+79
| | | | | | | | | | Wed Aug 20 22:04:47 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gdk/gdkwindow.c: Make the layers in the paint stack have their own pixmap instead of sharing one. * tests/testgtk.c (create_get_image): Fixes to make the window fit on an 800x600 screen
* Don't use impl->position_info.clip_rect for toplevels. (#107068, reportedOwen Taylor2003-08-191-4/+15
| | | | | | | | Tue Aug 19 13:58:50 2003 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkgeometry-x11.c (gdk_window_scroll): Don't use impl->position_info.clip_rect for toplevels. (#107068, reported by Thomas Mirlacher)
* Add a fallback for unaligned source data for FORMAT_ARGB_MASK. (#117217)Owen Taylor2003-08-181-40/+57
| | | | | | | | Mon Aug 18 11:48:51 2003 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkdrawable-x11.c (convert_to_format): Add a fallback for unaligned source data for FORMAT_ARGB_MASK. (#117217)
* Make the list of default languages more comprehensive. (Suggestion of Fco.Owen Taylor2003-08-161-1/+1
| | | | | | | | | | | | | Sat Aug 16 10:34:49 2003 Owen Taylor <otaylor@redhat.com> * modules/input/imcedilla.c: Make the list of default languages more comprehensive. (Suggestion of Fco. Javier F. Serrador) Sat Aug 9 12:47:11 2003 Owen Taylor <otaylor@redhat.com> * gdk/gdk.c (gdk_arg_context_parse): Fix broken parentheses when skipping args.