summaryrefslogtreecommitdiff
path: root/gdk
Commit message (Collapse)AuthorAgeFilesLines
* added gdk_flush() after g_main_run(), so we get the original behaviourTim Janik1998-12-182-2/+2
| | | | | | | | | | | | | | | | Fri Dec 18 01:32:59 1998 Tim Janik <timj@gtk.org> * gtk/gtkmain.c (gtk_main): added gdk_flush() after g_main_run(), so we get the original behaviour back, i.e. the event queue needs to be flushed after a main loop has been quitted. (gtk_main): add/remove the current main loop to/from the main loop before/after init/quit functions have been exected to preserve the original gtk_main_quit() behaviour. Thu Dec 17 23:48:29 1998 Tim Janik <timj@gtk.org> * gdk/gdkevents.c (gdk_events_init): changed argument order in call to g_main_add_poll() to match recent glib changes.
* Use setlocale (LC_ALL, NULL), not (LC_ALL, "") to query current locale.Owen Taylor1998-12-172-4/+4
| | | | | | | | Thu Dec 17 11:00:48 1998 Owen Taylor <otaylor@redhat.com> * gdk/gdkim.c (gdk_set_locale): Use setlocale (LC_ALL, NULL), not (LC_ALL, "") to query current locale. (Pointed out by Ullrich Hafner <hafner@informatik.uni-wuerzburg.de>)
* Define gdk_use_mb outside USE_XIM guard. Removed unnecessary USE_XIM guardSebastian Wilhelmi1998-12-172-16/+16
| | | | | | | | 1998-12-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gdk/gdkim.c: Define gdk_use_mb outside USE_XIM guard. Removed unnecessary USE_XIM guard inside another. Made gdk_use_mb static. Compile gdk_set_locale also if not USE_XIM.
* updated call to g_main_add_poll instead of g_main_poll_addCST 1998 Shawn T. Amundson1998-12-172-2/+2
| | | | | | | Wed Dec 16 22:38:22 CST 1998 Shawn T. Amundson <amundson@gtk.org> * gdk/gdkevents.c: updated call to g_main_add_poll instead of g_main_poll_add
* Check for broken glibc 2.0 mb functions, and avoid them.Owen Taylor1998-12-174-162/+296
| | | | | | | Wed Dec 16 22:50:52 1998 Owen Taylor <otaylor@redhat.com> * gdk/gdk.c gdk/gdkim.c: Check for broken glibc 2.0 mb functions, and avoid them.
* Don't call XPending() if we have putback events.Owen Taylor1998-12-162-2/+2
| | | | | | | Wed Dec 16 16:57:55 1998 Owen Taylor <otaylor@redhat.com> * gdk/gdkevents.c (gdk_events_queue): Don't call XPending() if we have putback events.
* Move main thread lock back to GDK - we need it there for locking whenOwen Taylor1998-12-167-6/+107
| | | | | | | | | | | | | | Wed Dec 16 13:06:17 1998 Owen Taylor <otaylor@redhat.com> * gdk/gdk.[ch] gtk/gtkmain.[ch] gtk/gtkprivate.h: Move main thread lock back to GDK - we need it there for locking when translating events. Rename things appropriately. Wed Dec 16 11:44:21 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtkrange.c (gtk_range_expose): Fix a x/y typo. CVS:
* Define gdk_xim_ic only, if USE_XIM is defined.Sebastian Wilhelmi1998-12-162-0/+4
| | | | | | 1998-12-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gdk/gdkglobals.c: Define gdk_xim_ic only, if USE_XIM is defined.
* urg, fixupsTim Janik1998-12-164-28/+11
|
* Remove --with-threads, unused GTK_THREAD_FLAGSJeff Garzik1998-12-161-1/+0
|
* Use G_IO_ERR|G_IO_HUP|G_IO_NVAL as the mask for checking forElliot Lee1998-12-152-6/+4
| | | | | | | 1998-12-15 Elliot Lee <sopwith@bogus.cuc.ml.org> * gdk/gdkevents.c: Use G_IO_ERR|G_IO_HUP|G_IO_NVAL as the mask for checking for GDK_INPUT_EXCEPTION events.
* Added gdk_text_extents_wc()Owen Taylor1998-12-153-0/+156
| | | | | | | | | | | | | | | | | | | Tue Dec 15 14:30:35 1998 Owen Taylor <otaylor@redhat.com> * gdk/gdk.h gdk/gdkfonts.c: Added gdk_text_extents_wc() * Patch from Jonathan Blanford <jrb@redhat.com> to add line wrapping to label. (Based on patch from Jeff Dairiki <dairiki@mac-ceope.apl.washington.edu> gtk-dairiki-971208-0) - Adds new function gtk_label_set_line_wrap() - implement GTK_JUSTIFY_FILL. - rename gtk_label_set to gtk_label_set_text() add gtk_label_set() to gtkcompat.h. * Use an internal wc representation in the label, so that we handle underlining and line breaks correctly for multi-byte strings.
* Keep separate putback_events and queued_events queues so that we get bothOwen Taylor1998-12-152-60/+148
| | | | | | | | Tue Dec 15 10:26:23 1998 Owen Taylor <otaylor@redhat.com> * gdk/gdkevents.c: Keep separate putback_events and queued_events queues so that we get both FIFO and preemptive behavior for gdk_event_put().
* Removed unused variable, fixed minor memory leak.Owen Taylor1998-12-152-38/+0
| | | | | | | | | Tue Dec 15 09:22:44 1998 Owen Taylor <otaylor@gtk.org> * gtk/gtkrc.c (gtk_rc_init): Removed unused variable, fixed minor memory leak. * gdk/gdk.c: Fixed another merge problem.
* Remove gdk_signal, which crept back in in last commit.Owen Taylor1998-12-154-92/+4110
| | | | | | | | | | | Tue Dec 15 08:53:38 1998 Owen Taylor <otaylor@redhat.com> * gdk/gdk.c (gdk_get_display): Remove gdk_signal, which crept back in in last commit. gdk/gdkevents.c: File missed on last commit. CVS
* Commented out testthreads from the build process, since we won't have anyOwen Taylor1998-12-1513-4385/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Dec 15 01:38:53 1998 Owen Taylor <otaylor@redhat.com> * gtk/Makefile.am: Commented out testthreads from the build process, since we won't have any idea how to create a thread. * configure.in (LIBS): use glib-config ... gthread so we always build a thread-compatible library. * gtk/gtkaccellabel.c gtk/gtkclist.c gtk/gtkcolorsel.c gtk/gtkcombo.c gtk/gtkcontainer.c gtk/gtkentry.c gtk/gtklist.c gtk/gtkmenuitem.c gtk/gtknotebook.c gtk/gtkrange.c gtk/gtkselection.c gtk/gtkspinbutton.c gtk/gtktext.c gtk/gtktooltips.c gtk/gtkwidget.c: Add GTK_THREADS_ENTER/LEAVE pairs around timeouts and idles to account for the fact that they are no longer called within the GTK+ lock. * gtk/gtkprivate.h: Added definitions for locking the main GTK+ mutex. * gtk/gtkmain.c: Re-implement the main loop in terms of the GLib main loop. * gdk/gdk.h gdk/gdkthreads.c gdk/Makefile.am: Removed threading functionality, as it seems better to subsume GDK within the GTK+ lock than vice-versa. * gdk/gdkevents.c: New file, containing event handling bits from gdk.c. * gdk/gdkevents.c: Implement event source for GDK events. * configure.in gdk/gdkevents.c: Removed attempts to subtract base_id, which were already non-functional.
* acconfig.h removed IPC_RMID_DEFERRED_RELEASE checkManish Singh1998-12-152-164/+0
| | | | | | | | | | * acconfig.h * configure.in: removed IPC_RMID_DEFERRED_RELEASE check * gdk/gdk.c: remove signal handlers, since we do an IPC_RMID after XShmAttach, and nobody complained -Yosh
* Corrections to computation of extents of text from a font set. (fromOwen Taylor1998-12-122-8/+8
| | | | | | | | | Sat Dec 12 17:18:32 1998 Owen Taylor <otaylor@redhat.com> * gdk/gdkfont.c (gdk_text_extents): Corrections to computation of extents of text from a font set. (from Chi-Deok Hwang <cdhwang@sr.hei.co.kr>) and Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>)
* Fixed argument list and return type for non-XIM fallback.Sebastian Wilhelmi1998-12-092-16/+16
| | | | | | | | | Wed Dec 9 13:06:31 1998 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gdk/gdkim.c (gdk_ic_new,gdk_ic_{set,get}_attr): Fixed argument list and return type for non-XIM fallback. * configure.in: Only build XIM-support if available.
* Add in missing 'flags' field to target list.Owen Taylor1998-12-092-2/+14
| | | | | | | | | | Wed Dec 9 12:23:30 1998 Owen Taylor <otaylor@redhat.com> * gtk/testselection.c (main): Add in missing 'flags' field to target list. * gdk/gdkproperty.c (gdk_atom_intern): Actually add the atoms to the local cache.
* put text after #endif in commentManish Singh1998-12-092-4/+3
| | | | | | | | | | * gdk/gdkprivate.h: put text after #endif in comment * gdk/gdktypes.h: change whitespace in enum to shut up makeenums.pl * gtk/testdnd.c: #include <string.h> -Yosh
* New file that holds code for dealing with X Input Methods.Owen Taylor1998-12-092-0/+2894
| | | | (Missing from last big commit)
* Destroy widgets _after_ propagating unrealize signals through the widgetOwen Taylor1998-12-0914-1576/+542
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Dec 7 10:27:09 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtkwidget.c: Destroy widgets _after_ propagating unrealize signals through the widget heirarchy. This is unpleasant, as it causes more X traffic, but is necessary, because we have to clean up our Input Contexts before destroying the X windows. (from matsu-981109-0.patch) Mon Dec 7 10:18:18 1998 Owen Taylor <otaylor@redhat.com> Applied gtk-a-higuti-981202-0 : [ a-higuti@math.sci.hokudai.ac.jp (Akira Higuchi) ] * gdk/gdk.h gdk/gdk.c (gdk_mbstowcs): New function. Nearly equals to mbstowcs, but implemented by a combination of Xlib functions, so it works even with X_LOCALE. (gdk_wcstombs): New function. (g_mbtowc): Removed. No longer needed. * gdk/gdk.h gdk/gdkfont.c gdk/gdkdraw.c: Added _wc() variants to gdk_text_width(), gdk_char_width(), gdk_draw_text(), * gdk/gdki18n.h (mblen, mbtowc, wctomb, mbstowcs, wcstombs, wcslen, wcscpy, wcsncpy): Removed. No longer needed. (iswalnum): Removed. (gdk_iswalnum): New macro. (gdk_iswspace): New macro. * gdk/gdktype.h (GdkWChar): New typedef. * gtk/gtkentry.h, gtk/gtkentry.c There are many changes according to the change of the internal representation of text, from multibyte string to wide characters. * gtk/gtkprivate.h, gtk/gtkmain.c Removed the variable gtk_use_mb and related codes. * gtk/gtkspinbutton.c Some changes according to the change of type of entry->text. * gtk/gtktext.h, gtk/gtktext.c Changed the internal representation of text. We use GdkWchar if a fontset is supplied. If not, we use guchar to save memory.
* Don't name function parameters after ObjC reserved words ("id" toElliot Lee1998-12-071-1/+1
| | | | | | Don't name function parameters after ObjC reserved words ("id" to "sm_client_id" - the function doesn't appear to be implemented anywhere so it's no great loss).
* Use IPC_RMID _after_ doing XShmAttach. This should work everywhere, andOwen Taylor1998-12-072-12/+16
| | | | | | | | | Mon Dec 7 13:38:06 1998 Owen Taylor <otaylor@redhat.com> * gdk/gdkimage.c (gdk_image_new): Use IPC_RMID _after_ doing XShmAttach. This should work everywhere, and avoid the need for signal handlers or configure checks.
* New functions gtk_window_set_transient_for() - set up a "transient for"Owen Taylor1998-12-074-5/+259
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Dec 7 01:29:27 1998 Owen Taylor <otaylor@gtk.org> * gtk/gtkwindow.c: New functions gtk_window_set_transient_for() - set up a "transient for" relationship. gtk_window_set_default_size() - set the initial size of a window distinct from its minimum size. gtk_window_set_geometry_hints() - Allow the user to set minimum, maximum sizes, aspect rations, and gridded geometry, possibly all with respect to a subwidget of the window. These interfaces are still a wee bit experimental. * gdk/gdk.c: Added gdk_window_set_transient_for(), gdk_window_set_geometry_hints(), and gdk_window_set_role(). * gdk/gdktypes.h: Added new types for find-grained specification of WM hints. * gtk/testgtk.c: Various changes to tests to test the above new functions. * gtk/gtkfontsel.c: Squash a few 'const' warnings. * gtk/gtktogglebutton.c (gtk_toggle_button_realize): Restored call to gtk_style_set_background() to prevent egregious flashing to black.
* configure.in gdk/Makefile.am Put -DFOO stuff into Makefile.am INCLUDES.Manish Singh1998-12-011-1/+9
| | | | | | | | | * configure.in * gdk/Makefile.am * gtk/Makefile.am: Put -DFOO stuff into Makefile.am INCLUDES. Separate vars for each, for granularity. -Yosh
* I submitted this patch twice to gtk-devel-list, and received no comments,Elliot Lee1998-11-309-29/+29
| | | | | | | | | | | | | | | | | I submitted this patch twice to gtk-devel-list, and received no comments, so am committing it. Although not exhaustively tested, I have been using this gtk+ for a week w/o problems, and I did read the code to ensure that nothing ever writes to these data structures. If by chance people encounter SEGV's in gtk+ code that is setting values in global data structures, this patch could be a possible culprit. 1998-11-30 Elliot Lee <sopwith@cuc.ml.org> * {gdk,gtk}/*.c: Make read-only data structures "static const" to allow them to be shared, mainly including (but not limited to) the GtkTypeInfo structures for each class. * gtk/gtkfilesel.c: Add /net to the "leave me alone" directory listing.
* Fixed gdk_input_devices being NULL when compiled with --xinput=xfree butRaph Levien1998-11-272-20/+24
| | | | no XInput extension in X server.
* Fixed up copyright message.Owen Taylor1998-11-244-46/+46
| | | | | | | | | | | | | | Tue Nov 24 11:11:05 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtklayout.[ch]: Fixed up copyright message. * gdk/gdkrgb.c (DM): Make the dither matrix constant so it can be shared. * gtk/gtkdnd.c: Make cursor bitmaps const. * gdk/gdk.h gdk/gdkpixmap.c: Added const to gdk_pixmap/bitmap_create_from_data.
* Removed DEFS "+=" mess that breaks recent automakes. INCLUDES is theJeff Garzik1998-11-2416-18/+17
| | | | | | | | | | | | | | | | | * gdk/Makefile.am, gtk/Makefile.am: Removed DEFS "+=" mess that breaks recent automakes. INCLUDES is the correct way to add to CFLAGS from Makefile.am. * gdk/gdk.c, gdk/gdkglobals.c, gdk/gdkimage.c, gdk/gdkinput.c, gdk/gdkpixmap.c, gdk/gdkthreads.c, gdk/gdkwindow.c, gdk/gxid_lib.c, gtk/fnmatch.c, gtk/gtkclist.c, gtk/gtkmain.c, gtk/testthreads.c: Include "config.h" instead of "../config.h". Now that DEFS works again, automake will automatically pass us the location of config.h in -I.
* Fixed so it at least works with window managers other than Enlightenment,Owen Taylor1998-11-223-49/+55
| | | | | | | | | Sat Nov 21 18:53:13 1998 Owen Taylor <otaylor@redhat.com> * gdk/gdkwindow.c (gdk_window_get_deskrelative_origin): Fixed so it at least works with window managers other than Enlightenment, though it probably needs to be removed altogether.
* Accept drops that are sent to a toplevel but are not within the toplevelsOwen Taylor1998-11-183-56/+140
| | | | | | | | | | | Wed Nov 18 11:54:57 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtkdnd.c (gtk_drag_find_widget): Accept drops that are sent to a toplevel but are not within the toplevels bounds. * gdk/gdkdnd.c gdk/gdk.h: Added support for a XdndProxy atom which proxies the drag to another window.
* Tue Nov 17 1998 The Rasterman <raster@redhat.com> AddedCarsten Haitzler1998-11-183-0/+129
| | | | | | | | | | | Tue Nov 17 1998 The Rasterman <raster@redhat.com> * gdk/gdk.h, gdk/gdkwindow.c: Added gdk_window_get_deskrelative_origin function to correctly determine gdk window position relative to its "root window" - contains check for an Enlightenment virtual root window. * gtk/gtkhandlebox.c: changed gdk_window_get_origin -> gdk_window_get_deskrelative_origin to get the origin of dragged handleboxes correctly. Now it works correctly with E.
* New function gdk_pixmap_foreign_new(). (gtk-blizzard-981005-0. ChristopherOwen Taylor1998-11-136-1/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | Fri Nov 13 11:22:38 1998 Owen Taylor <otaylor@redhat.com> * gdk/gdkpixmap.c: New function gdk_pixmap_foreign_new(). (gtk-blizzard-981005-0. Christopher Blizzard <blizzard@applied-theory.com) * gdk/gdk.h gdk/gdkx.h: Moved gdk_window_foreign_new and gdk_pixmap_foreign_new to gdkx.h. Fri Nov 13 16:06:48 1998 Owen Taylor <otaylor@redhat.com> * gtk/Makefile.am: Added rules to generate an empty GTK+ theme called "Default" upon installation. * gtk/gtkrc.c (gtk_rc_parse_style): Fix inheritance of fonts and fontsets. (gtk-matsu-980924. Takashi Matsuda matsu@arch.comp.kyutech.ac.jp) * gtk/gtkmain.c: Change test to detect glibc's utf8 based mb* functions to be more specific. * gtk/gtkwindow.[ch] gtk/gtkfixed.c: Indentation cleanups.
* forward declaration for gtk_window_paint declare xid_ht static get theJay Cox1998-11-072-2/+2
| | | | | | | | 1998-11-07 Jay Cox <jaycox@earthlink.net> * gtk/gtkwindow.c: forward declaration for gtk_window_paint * gdk/gdkxid.c: declare xid_ht static * examples/*/Makefile: get the link ordering right.
* Merge from themes-2. See the ChangeLog for a somewhat detailedOwen Taylor1998-11-0619-344/+1342
| | | | | history of the evolution of the changes involved. Most of this is actually minor painting tweaks.
* Remove `#pragma }'.Raja R Harinath1998-11-011-3/+3
| | | | | | | | | | | | | * gtk/gtkfeatures.h.in: Remove `#pragma }'. * gdk/gdki18n.h: Update to use new `glib' widechar defines. * configure.in (CFLAGS): Don't use test -z "echo .. | grep". Use case instead. (wchar.h, wctype.h, iswalnum): Duplicate widechar tests from `glib'. (GDK_WLIBS): New variable. Lists extra libraries needed to use widechar functions. * gtk-config.in (--libs): List $GDK_WLIBS, too.
* fixed extraneous "," on line 390Joel Becker1998-10-261-1/+1
|
* One-character fix to make it compile - FedericoArturo Espinosa1998-10-212-2/+2
|
* Always send "drag_leave" to dests without GTK_DEST_DEFAULT_MOTION.Owen Taylor1998-10-202-342/+294
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Oct 20 14:53:28 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtkdnd.c: Always send "drag_leave" to dests without GTK_DEST_DEFAULT_MOTION. Tue Oct 20 11:55:24 1998 Owen Taylor <otaylor@redhat.com> * gdk/gdk.c (gdk_event_translate): Handle DestroyNotify on destroyed windows so we clear the XID table properly. Finish up restructure of return value handling that was half-done before. Tue Oct 20 12:57:10 1998 Owen Taylor <otaylor@redhat.com> * gdk/gdk.c (gdk_send_clientmessage_to_all): Hunt the window tree more comprehensively, so that we find client windows hidden under non-toplevels. Tue Oct 20 12:43:04 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtkselection.c (gtk_selection_data_set): Maintain the null-termintation guarantee, even when data = NULL, length = 0. (Warn on data = NULL, length > 0) Mon Oct 19 16:41:44 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtkwidget.h (struct _GtkWidgetClass): Add in coordinates into function prototype for drag_data_received.
* Added a modular client-message-filter mechanism, that is used for the DNDOwen Taylor1998-10-1815-2310/+6310
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sun Oct 18 18:16:39 1998 Owen Taylor <otaylor@gtk.org> * gdk/gdk.c gdkprivate.h: Added a modular client-message-filter mechanism, that is used for the DND messages. Removed all the old DND code. * gdk/gdkcolormap.c gdk/gdkcolormap.h: Add a function to get the visual of a given colormap. * gtk/gtkcolorsel.c: Conversion to new DND, drag a color-swatch. * gdk/gdk.h gdk/gdkdnd.c: The low-level X oriented portions of drag and drop protocols. Sending and receiving client messages, and navigating window trees. * gdk/gdkimage.c: added a gdk_flush() when destroying SHM images to hopefully make it more likely that X will gracefully handle the segment being destroyed. * gdk/gdkprivate.h gtk/gtkdebug.h: Add new DND debugging flags. * gtk/gtkeditable.[ch]: Updates for the selection handling changes. * gtk/gtkselection.[ch]: Added GtkTargetList, a refcounted data structure for keeping track of lists of GdkAtom + information. Removed selection_handler_add in favor of a "drag_data_get" signal. * gtk/gtkdnd.[ch] gtk/gtk.h: New files - highlevel (event loop dependent) parts of the DND protocols, display of drag icons, drag-under highlighting, and the "default handlers". * gtk/gtkinvisible.[ch]: New widget - InputOnly offscreen windows that are used for reliable pointer grabs and selection handling in the DND code. * gtk/testdnd.c: New test program for new DND. (Old DND tests in testgtk still need to be converted.) * gtk/testselection.c: Use the new selection API. * docs/dnd_internals: Start at describing how all the new code works inside. * docs/Changes-1.2.txt: New file describing source-incompatible changes in GTK+-1.2. Sat Oct 17 22:50:34 1998 Owen Taylor <otaylor@gtk.org> * gdk/gdkwindow.c (gdk_window_remove_filter): Free the right list node. * gdk/gdkwindow.c (gdk_window_init): Add gdk_root_parent to the XID table so we can receive events on it. Wed Oct 14 12:57:40 1998 Owen Taylor <otaylor@redhat.com> * gdk/gdk.c gdk/gdk.h (gdk_event_get_time): New function to get the timestamp from a generic event. Fri Oct 9 13:16:04 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtkwidget.c (gtk_widget_add_events): Added function that safely adds additional events to a widget's event mask, even if the widget has previously been realized. (We can do this, but not remove events from the event mask). Fri Oct 2 17:35:35 1998 Owen Taylor <otaylor@redhat.com> * gdk/gdkproperty.c (gdk_property_get): Allow type == 0, for AnyPropertyType. Fri Oct 2 10:32:21 1998 Owen Taylor <otaylor@redhat.com> * gdk/gdkproperty.c (gdk_atom_intern): Add client-local hashing. Thu Sep 24 20:33:54 1998 Owen Taylor <otaylor@redhat.com> * gdk/gdk.c (gdk_event_send_clientmessage_toall): serial isn't a timestamp. Thu Sep 17 14:23:03 1998 Owen Taylor <otaylor@redhat.com> * gdk/gdk.c (gdk_event_translate): Removed printing of unknown window lookup warnings. (Made it a GDK_NOTE) - they happen in many circumstances.
* removed all occourances of #pragma } and #pragma { which were in place toTim Janik1998-10-071-1/+0
| | | | | | | | | | | Wed Oct 7 05:15:36 1998 Tim Janik <timj@gtk.org> * gtk/gtk*.h: * gdk/gdk.h: removed all occourances of #pragma } and #pragma { which were in place to fixup emacs' cc-mode indentation. putting (c-set-offset 'inextern-lang 0) into ~/.emacs is the proper way to achive this and doesn't produce problems for stupid pragma-related compiler bugs. ;)
* Fixed an alpha bug.Raph Levien1998-10-051-3/+3
|
* new function to get the *real* geometry position of a window, takenTim Janik1998-09-255-4/+119
| | | | | | | | | | | | | | | | | Sat Sep 25 23:33:55 1998 Tim Janik <timj@gtk.org> * gdk/gdkwindow.c (gdk_window_get_root_origin): new function to get the *real* geometry position of a window, taken possible window manager offsets into account. this has been succesfully tested with fvwm, fvwm-2, bowman, olwm, olvwm, twm, ctwm, mlvwm, windowmaker and enlightenment. it does fail though for amiwm which adds windows to a pseudo root window, and for icewm by a small offset because it defines the geometry position whithin its border. * gtk/testgtk.c: added "saved position" test to figure how gdk_window_get_root_origin() interacts with window managers (repopup this window to figure ;).
* Add names to prototype for gdk_image_new_bitmap.Owen Taylor1998-09-201-4/+4
| | | | | | Fri Sep 18 19:11:10 1998 Owen Taylor <otaylor@redhat.com> * gdk/gdk.h: Add names to prototype for gdk_image_new_bitmap.
* shutup CVS furtherManish Singh1998-09-171-0/+1
| | | | -Yosh
* Update to libtool-1.2b, change library versioning scheme to dropOwen Taylor1998-09-171-5/+5
| | | | | | | | | | | | | | | | | | | | | Tue Sep 15 14:57:30 1998 Owen Taylor <otaylor@redhat.com> * Makefile.am gtk-config.in l*: Update to libtool-1.2b, change library versioning scheme to drop LT_RELEASE from the -l line, while keeping it in the soname. Tue Sep 15 14:10:33 1998 Owen Taylor <otaylor@redhat.com> * configure.in Makefile.in: define a MAINT-like variable REBUILD which is set if Perl and awk are found, and autogenerated sources can be rebuilt. Remove the auto-generated sources from CVS. Add dependencies so that the autogenerated sources are rebuilt if the files they depend on change. (This unfortunately currently results in the entire gtk/ directory being rebuilt when any header changes. Moving all enums to gtkenums.h would fix this.)
* Reverted global changes of g_new to malloc(), added back in the one placeOwen Taylor1998-09-155-67/+73
| | | | | | | | | | Tue Sep 15 13:09:24 1998 Owen Taylor <otaylor@redhat.com> * gdk/gdkimage.c (gdk_image_new): Reverted global changes of g_new to malloc(), added back in the one place where it actually mattered. #include <stdlib.h>. * gdk/gdkrgb.c: g_malloc() to malloc() as above.
* changed g_new()s to malloc()s and g_free()s to free()s to avoid mixingCDT 1998 Shawn T. Amundson1998-09-152-34/+32
| | | | | | | | | Mon Sep 14 21:47:35 CDT 1998 Shawn T. Amundson <amundson@gtk.org> * gdk/gdkimage.c: changed g_new()s to malloc()s and g_free()s to free()s to avoid mixing g_new()s with free()s. X itself uses free() on some of the malloced memory.