summaryrefslogtreecommitdiff
path: root/gdk
Commit message (Collapse)AuthorAgeFilesLines
* Return the right coordinatesMatthias Clasen2008-06-061-3/+6
| | | | svn path=/trunk/; revision=20325
* Bug 536185 – monitor font configurationBehdad Esfahbod2008-06-061-2/+4
| | | | | | | | | | | | | | | | | 2008-06-06 Behdad Esfahbod <behdad@gnome.org> Bug 536185 – monitor font configuration * configure.in: * gdk/x11/gdksettings.c: * gtk/gtksettings.c (gtk_settings_class_init), (gtk_settings_notify), (settings_update_fontconfig): Monitor xsettings key Fontconfig/Timestamp and upon change, reread fontconfig configuration, clear Pango's caches, and redraw all widgets. svn path=/trunk/; revision=20324
* gdk/gdkapplaunchcontext.h gdk/gdktestutils.h gtk/gtkmountoperation.hMichael Natterer2008-05-302-2/+2
| | | | | | | | | | | | | | | | 2008-05-30 Michael Natterer <mitch@imendio.com> * gdk/gdkapplaunchcontext.h * gdk/gdktestutils.h * gtk/gtkmountoperation.h * gtk/gtkshow.h * gtk/gtktestutils.h * gtk/gtktoolshell.h: no need to allow disabling single includes conditionally in these new files. Simply forbid including them individually from the beginning. svn path=/trunk/; revision=20256
* Bug 533108 - leak of GDI region in function 'handle_wm_paint'Tor Lillqvist2008-05-301-0/+2
| | | | | | | | | | | | 2008-05-30 Tor Lillqvist <tml@novell.com> Bug 533108 - leak of GDI region in function 'handle_wm_paint' * gdk/win32/gdkevents-win32.c (handle_wm_paint): Patch by Daniel Atallah. svn path=/trunk/; revision=20250
* define __GDK_H_INSIDE__ around including all other headers.Michael Natterer2008-05-2831-28/+134
| | | | | | | | | | | | | | | | | | | | | | | | 2008-05-28 Michael Natterer <mitch@imendio.com> * gdk/gdk.h: define __GDK_H_INSIDE__ around including all other headers. * gdk/gdkenumtypes.h.template * gdk/gdk*.h: add single-include guards that #error out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is included individually. Also removed some redundant includes and did some tiny trailing whitespace removal that's not worth to commit separately. * gdk/gdkprivate.h: include <gdk/gdk.h> instead of individual files. * gdk/win32/gdkwin32.h * gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all other includes. svn path=/trunk/; revision=20217
* Try setting the default font, might need to tweak this.Richard Hult2008-05-261-1/+30
| | | | | | | | | 2008-05-26 Richard Hult <richard@imendio.com> * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Try setting the default font, might need to tweak this. svn path=/trunk/; revision=20181
* Bug 513811 – Use cairo_format_stride_for_width()Matthias Clasen2008-05-261-4/+7
| | | | | | | | | | | | | * gtk/gtkhsv.c (paint_ring, paint_triangle): * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Use cairo_format_stride_for_width, proposed by Behdad Esfahbod. * configure.in: Bump cairo requirement to 1.6.0 * INSTALL.in: Update required versions svn path=/trunk/; revision=20170
* Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windowsCody Russell2008-05-251-1/+1
| | | | | | | | | | | | | | 2008-05-25 Cody Russell <bratsche@gnome.org> Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows * gdk/x11/gdkwindow-x11.c (_gdk_window_get_toplevel): Check !WINDOW_IS_TOPLEVEL instead of checking for GDK_WINDOW_CHILD, so that we also take into account for foreign windows. Report and patch by Nathaniel Smith. svn path=/trunk/; revision=20166
* Bug 525461 - Don't invalidate under an input-only childCody Russell2008-05-251-1/+1
| | | | | | | | | | | | | 2008-05-25 Cody Russell <bratsche@gnome.org> Bug 525461 - Don't invalidate under an input-only child * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child): Check that the window is not input-only before invalidating. Report and patch by Owen Taylor. svn path=/trunk/; revision=20165
* Bug 524110 - Gdk should not assume reparenting WMs when retrieving windowCody Russell2008-05-251-6/+52
| | | | | | | | | | | | | 2008-05-25 Cody Russell <bratsche@gnome.org> Bug 524110 - Gdk should not assume reparenting WMs when retrieving window frame extents * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Use _NET_FRAME_EXTENTS, if available. Patch by Danny Baumann. svn path=/trunk/; revision=20164
* Bug 522269 - Evince windows sometimes incorrectly unmaximized, caused byCody Russell2008-05-251-0/+4
| | | | | | | | | | | | | 2008-05-25 Cody Russell <bratsche@gnome.org> Bug 522269 - Evince windows sometimes incorrectly unmaximized, caused by missing flag initialization * gdk/x11/gdkwindow-x11.c (set_initial_hints): Initialize top-level private flags correctly. Patch by Danny Baumann. svn path=/trunk/; revision=20163
* Update docstring to match pango_color_parse, do not reference XParseColorBjörn Lindqvist2008-05-241-11/+12
| | | | | | | | | 2008-05-24 Björn Lindqvist <bjourne@gmail.com> * gdk/gdkcolor.c (gdk_color_parse): Update docstring to match pango_color_parse, do not reference XParseColor forms (#434991). svn path=/trunk/; revision=20135
* Remove duplicate gdk_window_redirect_to_drawable andJames Sharpe2008-05-241-2/+0
| | | | | | | | | | 2008-05-24 James Sharpe <jsharpe@gnome.org> * gdk/gdk.symbols: Remove duplicate gdk_window_redirect_to_drawable and gdk_window_remove_redirection * gtk/gtk.symbols: Remove duplicate gtk_widget_get_snapshot svn path=/trunk/; revision=20132
* updated fix c99ism (variable at start of block export functions for windowHans Breuer2008-05-233-12/+26
| | | | | | | | | | | | | 2008-05-23 Hans Breuer <hans@breuer.org> * **/makefile.msc gtk/makefile.msc.in : updated * gtk/gtkwidget.c : fix c99ism (variable at start of block * gdk/gdk.symbols gtk/gtk.symbols : export functions for window redirection * gtk/gtkfilechooserdefault.c : #include <locale.h> for setlocale(LC_ALL, ...) svn path=/trunk/; revision=20131
* Add gdk_window_redirect_to_drawable and gdk_window_remove_redirection.Tor Lillqvist2008-05-232-19/+11
| | | | | | | | | | | | | | | | | 2008-05-23 Tor Lillqvist <tml@novell.com> * gdk/gdk.symbols: Add gdk_window_redirect_to_drawable and gdk_window_remove_redirection. * gdk/win32/gdkwindow-win32.c (_gdk_window_new) (_gdk_window_reparent): Rename to adapt to the offscreen rendering changes. Remove now unnecessary parameter checks as the caller does that already. * gtk/gtk.symbols: Add gtk_widget_get_snapshot. svn path=/trunk/; revision=20130
* Don't do anything if style doesn't change. Improve debugging output.Tor Lillqvist2008-05-231-14/+23
| | | | | | | | | | 2008-05-23 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkwindow-win32.c (update_style_bits): Don't do anything if style doesn't change. Improve debugging output. svn path=/trunk/; revision=20129
* Renamed to adapt to the offscreen rendering changes, fixes build.Richard Hult2008-05-211-7/+7
| | | | | | | | | | 2008-05-21 Richard Hult <richard@imendio.com> * gdk/quartz/gdkwindow-quartz.c: (_gdk_window_new), (_gdk_window_reparent): Renamed to adapt to the offscreen rendering changes, fixes build. svn path=/trunk/; revision=20125
* Bug 318807 – Offscreen windows and window redirection.10:49:20 Tim Janik2008-05-217-48/+617
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-03-18 10:49:20 Tim Janik <timj@imendio.com> * Applied pixmap redirection patch by Alexander Larsson with various updates from: Bug 318807 – Offscreen windows and window redirection. Updates: * updated docs to mention "Since 2.16". * tests/testgtk.c: fixed snapshooting pixmap leak. convert pixmap to pixbuf after snapshooting, to compensate for different bit depths (occurs when snapshooting ARGB visuals and displaying the pixmap in an RGB visual). * gdk/gdkwindow.[hc]: made GdkWindowRedirect private. * gdk/gdkwindow.c: removed damage idle handler, there's no aparent need for it. enqueue damage notification as GDK_DAMAGE events for each painting redirection at the start of the event queue. consider windows with a redirection fully visible when invalidating, and when updating from backing store. cleaned up stale variables. * gdk/gdkevents.c: added _gdk_event_queue_prepend(). * gtk/gtkwidget.c: fixed coordinates for !NO_WINDOW widgets in gtk_widget_get_snapshot; this fixes garbage snap offsets for gammacurve, tree, drawingarea, text, handlebox, etc. clip the redirected window hierarchy to window sizes, the visible rectangles don't need to be taken into account here. extended snapshooting docs to recommend gdk_pixbuf_get_from_drawable() in case pixmap visuals could mismatch. * gdk/x11/gdkwindow-x11.c: removed _gdk_windowing_window_get_visible_rect(). Base patch: * tests/testgtk.c: add a "Snapshot" test to demonstrate snapshooting of possibly obscured widgets into an offscreen pixmap. * gtk/gtkwidget.[hc]: add GtkWidget::damage-event signal, add gtk_widget_get_snapshot() to render a widget's contents to a GdkPixmap. * gtk/gtkmain.c: dispatch GDK_DAMAGE events. * gdk/gdkwindow.c: moved outer gdk_window_new() and gdk_window_reparent() implementations here, adapted them to propagate redirects to child windows. gdk_window_end_paint(): copy repainted window contents to redirection pixmap, clipped to visible region. queue GDK_DAMAGE event delivery. gdk_window_redirect_to_drawable(): install window painting redirection. gdk_window_remove_redirection(): remove previously installed redirection. * gdk/x11/gdkwindow-x11.c: added _gdk_windowing_window_get_visible_rect(), renamed _gdk_window_new() and _gdk_window_reparent(). * gdk/gdkwindow.h: added GdkWindowRedirect* to GdkWindowObject, export gdk_window_redirect_to_drawable() and gdk_window_remove_redirection(). * gdk/gdkevents.h: added GDK_DAMAGE event type. * gdk/gdkevents.c: extract time and state from GDK_DAMAGE events. * gdk/gdkinternals.h: added internal prototypes. svn path=/trunk/; revision=20122
* Use SetSystemUIMode instead of hiding and showing the menubar.Richard Hult2008-05-191-3/+3
| | | | | | | | | | 2008-05-19 Richard Hult <richard@imendio.com> * gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide), (gdk_window_fullscreen), (gdk_window_unfullscreen): Use SetSystemUIMode instead of hiding and showing the menubar. svn path=/trunk/; revision=20114
* Use gdk_threads_add_idle instead of g_idle_add. Add a temporary check ifRichard Hult2008-05-171-5/+8
| | | | | | | | | | | | | 2008-05-17 Richard Hult <richard@imendio.com> * gdk/quartz/gdkwindow-quartz.c: (gdk_window_impl_quartz_invalidate_maybe_recurse): (gdk_window_quartz_update_idle): Use gdk_threads_add_idle instead of g_idle_add. Add a temporary check if the window is already in the updates list, since update_area currently doesn't always match the backend's state, see bug #530801. svn path=/trunk/; revision=20108
* Bug 496958 - Wacom Bamboo Doesn't Function with GTK apps in Win32Tor Lillqvist2008-05-131-1/+1
| | | | | | | | | | | | | | 2008-05-13 Tor Lillqvist <tml@novell.com> Bug 496958 - Wacom Bamboo Doesn't Function with GTK apps in Win32 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Set the "packet rate" of devices to zero instead of 50. This is reported to help significantly with Wacom tablet behaviour in GIMP and Inkscape. Patch from Thomas Bleeker. svn path=/trunk/; revision=20104
* Forgotten in previous commit.Richard Hult2008-05-121-4/+5
| | | | svn path=/trunk/; revision=20101
* Remove special casing of menu key events as it's no longer necessary;Richard Hult2008-05-121-63/+18
| | | | | | | | | | | | 2008-05-12 Richard Hult <richard@imendio.com> * gdk/quartz/gdkevents-quartz.c: * gdk/quartz/gdkquartz.h: Remove special casing of menu key events as it's no longer necessary; instead the added quartz API to get the nsevent from an event should be used. Also move the global filter up so it's done before the check for window-less events. svn path=/trunk/; revision=20100
* Bug 532558 - Cannot build dll when using separate builddirTor Lillqvist2008-05-121-3/+5
| | | | | | | | | | | | | 2008-05-12 Tor Lillqvist <tml@novell.com> Bug 532558 - Cannot build dll when using separate builddir * gdk/Makefile.am * gtk/Makefile.am: .def file belongs in $(srcdir). Patch by Marko Lindqvist. svn path=/trunk/; revision=20097
* Bug 532059 - Leak in win32 clipboard manipulationTor Lillqvist2008-05-121-2/+4
| | | | | | | | | | | | | 2008-05-12 Tor Lillqvist <tml@novell.com> Bug 532059 - Leak in win32 clipboard manipulation * gdk/win32/gdkselection-win32.c (gdk_win32_selection_add_targets): Plug memory leak. Patch by Daniel Atallah. svn path=/trunk/; revision=20092
* Move the currently invalidated region. Fixes bug #532048, patch by YevgenRichard Hult2008-05-081-0/+4
| | | | | | | | | | 2008-05-08 Richard Hult <richard@imendio.com> * gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the currently invalidated region. Fixes bug #532048, patch by Yevgen Muntyan. svn path=/trunk/; revision=20087
* Only set the fake fd's revents, not the first one. Fixes bug #531056,Richard Hult2008-05-081-1/+8
| | | | | | | | | | 2008-05-08 Richard Hult <richard@imendio.com> * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake fd's revents, not the first one. Fixes bug #531056, spotted by Yevgen Muntyan. svn path=/trunk/; revision=20086
* gdk/gdkinternals.h gdk/gdkevents.c gdk/directfb/gdkevents-directfb.cMichael Natterer2008-05-066-13/+13
| | | | | | | | | | | | | | | 2008-05-07 Michael Natterer <mitch@imendio.com> * gdk/gdkinternals.h * gdk/gdkevents.c * gdk/directfb/gdkevents-directfb.c * gdk/quartz/gdkevents-quartz.c * gdk/win32/gdkevents-win32.c * gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy): order parameters src,dest and make src const. svn path=/trunk/; revision=20079
* Add private backend data to events, and handle it when copying/freeingRichard Hult2008-05-066-0/+74
| | | | | | | | | | | | | | | | | | 2008-05-06 Richard Hult <richard@imendio.com> * gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free): * gdk/gdkinternals.h: Add private backend data to events, and handle it when copying/freeing events. Currently only needed in the quartz backend. * gdk/directfb/gdkevents-directfb.c: * gdk/quartz/gdkevents-quartz.c: * gdk/win32/gdkevents-win32.c: * gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy) (_gdk_windowing_event_data_free): Add stubs for X11, win32 and directfb. Implement for quartz. Part of fixing bug #473822. svn path=/trunk/; revision=20078
* Initalize framework if there is one.Richard Hult2008-05-051-0/+7
| | | | | | | | | 2008-05-05 Richard Hult <richard@imendio.com> * gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize framework if there is one. svn path=/trunk/; revision=20075
* Check if gdk_unicode_to_keyval() worked before using the result. MakesRichard Hult2008-05-041-3/+20
| | | | | | | | | | | 2008-05-04 Richard Hult <richard@imendio.com> * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if gdk_unicode_to_keyval() worked before using the result. Makes function keys work, bug #530156. Also add F16 to the function key map. svn path=/trunk/; revision=20071
* Remove stray semicolon after if statement. Fixes bug #530963, patch fromRichard Hult2008-05-041-4/+4
| | | | | | | | | | 2008-05-04 Richard Hult <richard@imendio.com> * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray semicolon after if statement. Fixes bug #530963, patch from Yevgen Muntyan. svn path=/trunk/; revision=20069
* Simplify check for zero sized expose area.Richard Hult2008-04-301-8/+2
| | | | | | | | | 2008-04-30 Richard Hult <richard@imendio.com> * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose area. svn path=/trunk/; revision=20056
* Don't send nsevents with the gdk lock held, fixes deadlock when doingRichard Hult2008-04-301-1/+5
| | | | | | | | | | 2008-04-30 Richard Hult <richard@imendio.com> * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send nsevents with the gdk lock held, fixes deadlock when doing manual window resizing with threading enabled. svn path=/trunk/; revision=20055
* Map Alt to Alt and Cmd to Meta. This is not only more logical but alsoRichard Hult2008-04-301-3/+4
| | | | | | | | | | | 2008-04-30 Richard Hult <richard@imendio.com> * gdk/quartz/gdkevents-quartz.c: (get_keyboard_modifiers_from_ns_event), (create_key_event): Map Alt to Alt and Cmd to Meta. This is not only more logical but also makes it easier to have Mac-like behavior. svn path=/trunk/; revision=20054
* Bug 529841 – incorrect position in directfbMichael David Emmel2008-04-251-1/+1
| | | | svn path=/trunk/; revision=20044
* include <pango/pango.h> instead of <pango/pango-font.h>.Michael Natterer2008-04-251-1/+1
| | | | | | | | | | 2008-04-25 Michael Natterer <mitch@imendio.com> * gdk/gdkfont.h: include <pango/pango.h> instead of <pango/pango-font.h>. svn path=/trunk/; revision=20041
* reorder one include so they are all alphabetical.Michael Natterer2008-04-181-2/+2
| | | | | | | | | 2008-04-18 Michael Natterer <mitch@imendio.com> * gdk/gdk.h: reorder one include so they are all alphabetical. svn path=/trunk/; revision=20022
* Don't call XFreeColormap on foreign colormapsMatthias Clasen2008-04-031-2/+3
| | | | svn path=/trunk/; revision=19969
* Defer the generated event to the mainloop and don't generate one at all ifRichard Hult2008-03-314-46/+113
| | | | | | | | | | | | | | | | | | | | | | | | 2008-03-28 Richard Hult <richard@imendio.com> * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate), (_gdk_quartz_events_trigger_crossing_events): Defer the generated event to the mainloop and don't generate one at all if the toplevel didn't change. Use the actual window and not the toplevel as event window. These changes make the generated crossing events match the X11 behavior and fixes issues with e.g. tooltips, comboboxes and menus. * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if the view has no window, it will be updated as soon as it's put inside a window. * gdk/quartz/gdkwindow-quartz.c: (_gdk_quartz_window_debug_highlight): Make it possible to track multiple windows with debug highlighting. (show_window_internal): Remove workaround for tooltips and popups that is no longer needed with the above changes. svn path=/trunk/; revision=19951
* Bail out early if we can't find a matching window.Richard Hult2008-03-252-2/+5
| | | | | | | | | | | | | | | 2008-03-25 Richard Hult <richard@imendio.com> * gdk/quartz/gdkevents-quartz.c: (_gdk_quartz_events_trigger_crossing_events): Bail out early if we can't find a matching window. * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a comment, and only trigger an event for non-temp windows, fixes problems for tooltips caused by the workarounds for the problematic tracking rect API. svn path=/trunk/; revision=19934
* Plug a leak and add a check that we have a toplevel before accessing it.Richard Hult2008-03-251-13/+19
| | | | | | | | | | 2008-03-25 Richard Hult <richard@imendio.com> * gdk/quartz/gdkwindow-quartz.c: (gdk_window_quartz_process_all_updates): Plug a leak and add a check that we have a toplevel before accessing it. svn path=/trunk/; revision=19933
* Bug 524151 - Dragging of 0-byte files results in an empty filename onTor Lillqvist2008-03-241-8/+13
| | | | | | | | | | | | | | | | | | | 2008-03-24 Tor Lillqvist <tml@novell.com> Bug 524151 - Dragging of 0-byte files results in an empty filename on Windows XP and above * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file being empty first. For some reason ISHellLink and IPersistFile succeeds in interpreting empty files as shortcuts, claiming the target of the shortcut is an empty path. Change the function to take the wide character file name that the caller already has anyway, to avoid a superfluous conversion from UTF-8 to UTF-16. svn path=/trunk/; revision=19931
* Check window state for GDK_WINDOW_STATE_ICONIFIED before doing ShowWindowCody Russell2008-03-231-2/+9
| | | | | | | | | | | | | 2008-03-23 Cody Russell <bratsche@gnome.org> * gdk/win32/gdkevents-win32.c (show_window_recurse): Check window state for GDK_WINDOW_STATE_ICONIFIED before doing ShowWindow (SW_RESTORE). This fixes a problem where tearing off menus from a maximized window would force the window to restore its size. (#518846) svn path=/trunk/; revision=19926
* gdk/gdkspawn.h gtk/gtkbuilderprivate.h gtk/gtkfilechoosersettings.cMichael Natterer2008-03-141-1/+0
| | | | | | | | | | | | | | | 2008-03-14 Michael Natterer <mitch@imendio.com> * gdk/gdkspawn.h * gtk/gtkbuilderprivate.h * gtk/gtkfilechoosersettings.c * gtk/gtksearchenginesimple.c * gtk/tests/liststore.c * gtk/tests/treestore.c: remove single-file includes of GLib headers or replace them by <glib.h> where needed. svn path=/trunk/; revision=19877
* Drop the support for the MSH_MOUSEWHEEL message that MSDN says is usedTor Lillqvist2008-03-141-56/+1
| | | | | | | | | | | 2008-03-14 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkevents-win32.c: Drop the support for the MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and Win95. Thanks to mitch for noticing this obsolete code. svn path=/trunk/; revision=19874
* Patch from Paul Davis, only flush the toplevel once per update.Richard Hult2008-03-141-0/+30
| | | | | | | | | | 2008-03-14 Richard Hult <richard@imendio.com> * gdk/quartz/gdkwindow-quartz.c: (gdk_window_quartz_process_all_updates): Patch from Paul Davis, only flush the toplevel once per update. svn path=/trunk/; revision=19871
* removed linux-fb backend files.Michael Natterer2008-03-1155-27776/+0
| | | | | | | | | | | | | | | | | | | | | | 2008-03-11 Michael Natterer <mitch@imendio.com> * gdk/linux-fb/*: removed linux-fb backend files. * acconfig.h * config.h.win32.in * docs/README.linux-fb * gtk/Makefile.am: remove remaining traces of linux-fb. * gtk/gtkwindow-decorate.c: same here. There is some code that calls into linux-fb to set window move/resize callbacks. I put it in #if 0 as a reminder because we did use decorated windows with the DirectFB backend and it did work, so I don't really know why this code is needed or how it could work with DirectFB back then. The file does actually compile now if DECORATE_WINDOWS is defined, but I didn't test with DirectFB to check if it does anything. svn path=/trunk/; revision=19749
* Implement gdk_window_reparent.Richard Hult2008-03-111-6/+43
| | | | | | | | 2008-03-11 Richard Hult <richard@imendio.com> * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent. svn path=/trunk/; revision=19746
* Bug 520286 - Non-deletable window has no minimize / maximize buttonsTor Lillqvist2008-03-103-23/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-03-10 Tor Lillqvist <tml@novell.com> Bug 520286 - Non-deletable window has no minimize / maximize buttons * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string): New debugging output function that decodes a set of WS_* bits. * gdk/win32/gdkprivate-win32.h: Declare it. * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry): New function that enables or disables one menu entry in the system menu of a top-level window. (The corresponding decoration will then also be enabled or disabled (grayed).) (update_style_bits): Do as the comment says and don't try to update the window style based on the GdkWMFunctions set for the window. (update_system_menu): New function that enables or disables the system menu entries based on a window's stored set of GdkWMFunctions. (gdk_window_set_functions): Call update_system_menu() instead of update_style_bits(). svn path=/trunk/; revision=19743