CVSROOT:        /cvs/gnome
Module name:    gtk+
Changes by:     tml     05/11/26 21:07:55

Modified files:
        .              : Tag: gtk-2-8 ChangeLog 
        gdk/win32      : Tag: gtk-2-8 gdkwindow-win32.h 
                         gdkwindow-win32.c 

Log message:
2005-11-27  Tor Lillqvist  <[EMAIL PROTECTED]>

Once again rework window decoration code. Should fix #322516 and
not break #104514. The dialogs in gtk-demo now have the same
decorations and behaviour as on X11.

* gdk/win32/gdkwindow-win32.h (struct _GdkWindowImplWin32): Keep
the type hint tucked away here.

* gdk/win32/gdkwindow-win32.c (set_or_clear_style_bits): Revert to
the correct semantics. Each call to gdk_window_set_decorations()
which calls this function is supposed to affect all decorations.

(decorate_based_on_hints): New function, looks at both geometry
hints and type hint and sets window decorations based on
that. Consolidate code from gdk_window_set_geometry_hints() and
gdk_window_set_type_hint() here.

(gdk_window_set_geometry_hints, gdk_window_set_type_hint): Call
decorate_based_on_hints().

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gtk%2B&who=tml&date=explicit&mindate=2005-11-26%2021:06&maxdate=2005-11-26%2021:08

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to