Commit Graph

2886 Commits

Author SHA1 Message Date
Shawn Amundson
8eb36ebbd5 Several portability fixes from Michael Callahan <callahan@xmission.com>
* Several portability fixes from Michael Callahan
          <callahan@xmission.com> including adding in missing
          #includes and adding void in function prototypes.

-Shawn
1998-01-03 05:46:58 +00:00
Elliot Lee
af9e316ce6 Fixed recursing bug in gdk_exit_func() 1998-01-02 03:43:24 +00:00
Manish Singh
92610dafdb Miscellaneous portability fixes.
-Yosh
1998-01-02 03:36:27 +00:00
Elliot Lee
e2f5eb1c3e added gdk_window_withdraw - not sure if its needed, but oh well 1998-01-01 20:38:21 +00:00
Elliot Lee
f872397c0c misc gtk touchups 1997-12-31 02:52:03 +00:00
Arturo Espinosa
6ceea7e635 Added new GDK_NO_EXPOSE and GDK_VISIBILITY_NOTIFY events. They are needed
for the TV widget by Alan Cox and by the GtkXmHTML widget.

Only missing with respect to their Xlib counterparts are the
major_code and minor_code fields in the GdkEventNoExpose structure.
Does anyone need them for their code?

- Federico
1997-12-26 08:54:12 +00:00
Shawn Amundson
1b6fb00808 Beginnings of support for 1 bpp depth in gdk. Very minor changes.
Most of testgtk runs on 1 bpp.  Nothing much else will work until
gdkcc is used for gtk_preview and other color-intensive things.

-Shawn
1997-12-20 08:39:21 +00:00
Elliot Lee
24b21a5d84 OK, handle box is good to go except for having the parent resize when it is dragged out, and also allowing user to drag it back into the original parent 1997-12-19 21:06:39 +00:00
Elliot Lee
8d0318387f Fixed restoration of old event mask 1997-12-18 23:38:39 +00:00
Elliot Lee
1cf3f510d1 DnD works again, fixed my own stupidity ;-) 1997-12-18 23:03:26 +00:00
Elliot Lee
fde815eb54 sorry about the debug define left in... - sopwith 1997-12-18 20:36:16 +00:00
Elliot Lee
73e9b6b205 DnD debugging misc 1997-12-18 13:59:17 +00:00
scott
555aa2baf9 Caught a stray gdk_colormap_destroy that Owen missed (and Shawn found).
-- sg
1997-12-18 04:29:53 +00:00
Owen Taylor
d5d01a5af9 It's all in the changelog. Well, almost all.
-owt
1997-12-18 02:17:14 +00:00
Arturo Espinosa
65e63db01e Made the XCC stuff more accessible 1997-12-18 00:27:10 +00:00
Manish Singh
f9bfb8462a Added gdk_get_display ()
-Yosh
1997-12-17 22:40:07 +00:00
Arturo Espinosa
9c5d32799d Added gdk_color_context_get_visual() function. 1997-12-17 22:08:48 +00:00
Elliot Lee
4c530ae5bc Added root coords to button & motion events - sopwith 1997-12-17 14:36:57 +00:00
Arturo Espinosa
134466992b Added some extra functions to access the ColorContext toys.
federico
1997-12-17 01:40:34 +00:00
Arturo Espinosa
585dc6d781 New GdkColorContext object, ported from the XColorContext in XmHTML.
It compiles and links, but is *completely* untested.  Feel free to
pound on it.

The idea is to do all color management (allocation, etc.) via a
GdkColorContext so that apps will be friendly to 8-bit displays.

GdkColorContext is supposed to work on all visual/depth combinations.
This support, however, is lacking from the rest of Gdk/Gtk.  I will
try to work on that.

 - Federico
1997-12-17 00:14:36 +00:00
Elliot Lee
ad5083714e add gdk_window_set_override_redirect() et al 1997-12-16 22:10:43 +00:00
Owen Taylor
da9a8aee9e Removed warning when XGetWindowProperty fails - this can be the desired
* Removed warning when XGetWindowProperty fails - this can
  be the desired behavior.
                                        -owt
1997-12-13 02:08:35 +00:00
Tim Janik
bb698f73f4 added gdk_progclass==NULL patch by Oliver Graf <ograf@fga.de>. -timj
* gdk.c: added gdk_progclass==NULL patch by Oliver Graf <ograf@fga.de>.
-timj
1997-12-11 08:39:21 +00:00
Tim Janik
8a6dea2d55 GLib:
* glib_pre1.h:
        * glib_pre2.h:
        * glib.h: this file now gets concatenated by makeglib_h from
        glib_pre1.h and glib_pre2.h to merge in glibconfig.h wich got
        created by configure (done by Jay Painter).

        * glib_pre2.h: the g_assert*() and g_return_*_fail() macros
        are wrapped by G_STMT_START and G_STMT_END now, to avoid conflicts
        when used within if (...) g_macro(); else ... conditionals.
Gtk+:
        * fixed some compiler errors, because g_return_if_fail() wasn't used
        with a trailing semicolon in some places. fixed few other warnings also.

-timj
1997-12-10 22:43:24 +00:00
Owen Taylor
244e4fe4c7 Fix to pixmap mask handling. (gtk-fortier-971122-0.patch)
-owt
1997-12-09 22:02:50 +00:00
Owen Taylor
79f532177f Remove dependencies of interfaces on USE_XIM Attempt to make wchar
* gdk/gdk.c, gdk/gdk.h, gdk/gdktypes.h:
  Remove dependencies of interfaces on USE_XIM
* gdki18n.h: Attempt to make wchar handling more portable
* gdkwindow.c: Include config.h. (For gdkinput.h)
1997-12-07 16:36:36 +00:00
Elliot Lee
7e4ee8cb4f Read the ChangeLog :) 1997-12-06 22:12:10 +00:00
Arturo Espinosa
a51d944e25 Add support for pixmap cursors -mig 1997-12-06 20:53:46 +00:00
Michael Johnson
a7f427d7d9 No need to DUMP CORE if the display can't be opened...
Might as well just warn folks about the problem and quit with an error.

-mkj
1997-12-05 23:14:41 +00:00
Owen Taylor
4b4c6aff91 Various configuration and portability related changes. See ChangeLog
for details.
                                        -owt
1997-12-03 21:43:44 +00:00
Owen Taylor
6653fcf391 Include <unistd.h> to get SEEK_END on SunOS.
-owt
1997-12-02 22:34:44 +00:00
Elliot Lee
b50a9f760b Misc fixes for color changing stuff 1997-11-28 06:47:01 +00:00
Elliot Lee
ebdcd27f15 Fixed a bug in gdk_property_get, I think, and made error messages sane 1997-11-28 03:10:25 +00:00
Elliot Lee
519a4bc24e cleanups for color changing stuff 1997-11-27 05:07:48 +00:00
Gnome CVS User
dd34bcca5e Patches to support internationalized input by:
Takashi Matsuda <matsu@arch.comp.kyutech.ac.jp>
  TANAKA Shinya <shinya@race.u-tokyo.ac.jp>

See ChangeLog entries for further details.

Also some small fixes to event handling in gdk/gdk.c; sending
clear events in gtk/gtkselection.c and cut-and-paste in
gtk/gtkentry.c
1997-11-27 04:16:39 +00:00
Elliot Lee
9508b76bd2 Initial revision 1997-11-24 22:37:52 +00:00