summaryrefslogtreecommitdiff
path: root/gdk
Commit message (Collapse)AuthorAgeFilesLines
* Fix the buildMatthias Clasen2007-06-061-1/+0
| | | | svn path=/trunk/; revision=18055
* Add gdkmedialib.h to EXTRA_DIST so this header file gets included with theBrian Cameron2007-06-061-3/+1
| | | | | | | | | | 2007-06-06 Brian Cameron <brian.cameron@sun.com> * gdk/Makefile.am: Add gdkmedialib.h to EXTRA_DIST so this header file gets included with the distribution, as needed. Fixes bug #442888. Reviewed by Matthias Clasen. svn path=/trunk/; revision=18050
* Ignore if the old and new windows are the same.Richard Hult2007-06-061-0/+3
| | | | | | | | | | 2007-06-06 Richard Hult <richard@imendio.com> * gdk/quartz/gdkevents-quartz.c (_gdk_quartz_events_update_mouse_window): Ignore if the old and new windows are the same. svn path=/trunk/; revision=18049
* Update comment to be more clear and print a warning if we try to create aRichard Hult2007-06-061-12/+9
| | | | | | | | | | | | | | 2007-06-06 Richard Hult <richard@imendio.com> * gdk/quartz/gdkevents-quartz.c (synthesize_crossing_events): Update comment to be more clear and print a warning if we try to create a crossing event without knowing what the current mouse window is, to help track down focus bugs. * gdk/quartz/gdkevents-quartz.c (_gdk_quartz_events_update_focus_window): Fix indentation. svn path=/trunk/; revision=18047
* Don't let temp windows become key window.Richard Hult2007-06-061-5/+3
| | | | | | | | | 2007-06-05 Richard Hult <richard@imendio.com> * gdk/quartz/GdkQuartzWindow.c: Don't let temp windows become key window. svn path=/trunk/; revision=18046
* Fix embarrassing crash. (#444457, Torsten Schoenfeld)Tor Lillqvist2007-06-061-1/+1
| | | | | | | | | | 2007-06-06 Tor Lillqvist <tml@novell.com> * gdk/x11/gdkwindow-x11.c (gdk_window_set_opacity): Fix embarrassing crash. (#444457, Torsten Schoenfeld) svn path=/trunk/; revision=18045
* Check that window_private is not NULL before using it. (#444351, DavidMatthias Clasen2007-06-051-1/+1
| | | | | | | | | | | 2007-06-05 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkevents-x11.c (gdk_event_translate): Check that window_private is not NULL before using it. (#444351, David Ronis) svn path=/trunk/; revision=18043
* Don't try to make temp windows key windows, fixes problem introducedRichard Hult2007-06-041-2/+3
| | | | | | | | | | 2007-06-04 Richard Hult <richard@imendio.com> * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Don't try to make temp windows key windows, fixes problem introduced below. svn path=/trunk/; revision=18040
* * gdk/quartz/gdkwindow-quartz.c: Implement simple versions ofRichard Hult2007-06-042-3/+37
| | | | | | | | | | 2007-06-04 Richard Hult <richard@imendio.com> * gdk/quartz/GdkQuartzWindow.c: * gdk/quartz/gdkwindow-quartz.c: Implement simple versions of gdk_window_set_accept_focus and gdk_window_set_focus_on_map. svn path=/trunk/; revision=18038
* Implement.Richard Hult2007-06-041-4/+24
| | | | | | | | | 2007-06-04 Richard Hult <richard@imendio.com> * gdk/quartz/gdkwindow-quartz.c: (gdk_window_raise), (gdk_window_raise): Implement. svn path=/trunk/; revision=18037
* Implement gdk_window_set_transient_for.Richard Hult2007-06-042-2/+63
| | | | | | | | | | 2007-06-04 Richard Hult <richard@imendio.com> * gdk/quartz/gdkwindow-quartz.c: * gdk/quartz/gdkwindow-quartz.h: Implement gdk_window_set_transient_for. svn path=/trunk/; revision=18036
* 2.11.1GTK_2_11_1Matthias Clasen2007-06-041-6/+7
| | | | svn path=/trunk/; revision=18027
* Set the key modifier state.Richard Hult2007-06-031-2/+3
| | | | | | | | | 2007-06-03 Richard Hult <richard@imendio.com> * gdk/quartz/gdkevents-quartz.c: (create_crossing_event): Set the key modifier state. svn path=/trunk/; revision=18017
* Make pointer grab emulation work a bit better:Richard Hult2007-06-031-13/+9
| | | | | | | | | | | | | | 2007-06-03 Richard Hult <richard@imendio.com> * gdk/quartz/gdkevents-quartz.c: Make pointer grab emulation work a bit better: (gdk_display_pointer_is_grabbed): Do what the docs say and don't consider implicit grabs here. (gdk_pointer_grab): Overriding a grab by the same app should always be succesful. (gdk_event_translate): Implicit grabs should not be owner events. svn path=/trunk/; revision=18016
* Fix the coordinates in crossing events so they are relative to the rightRichard Hult2007-06-011-16/+107
| | | | | | | | | | | 2007-06-01 Richard Hult <richard@imendio.com> * gdk/quartz/gdkevents-quartz.c: (get_converted_window_coordinates), (create_crossing_event): Fix the coordinates in crossing events so they are relative to the right window. svn path=/trunk/; revision=18007
* Make function naming consistent for the various functions that retrieveRichard Hult2007-06-013-128/+68
| | | | | | | | | | | | | | 2007-06-01 Richard Hult <richard@imendio.com> * gdk/quartz/gdkevents-quartz.[ch]: Make function naming consistent for the various functions that retrieve data from an event. * gdk/quartz/gdkprivate-quartz.h: * gdk/quartz/gdkwindow-quartz.[ch]: Remove the now unused _gdk_quartz_window_find_child_by_point() function. svn path=/trunk/; revision=18006
* Add support for composited child windows. (#412882, Ryan Lortie)Matthias Clasen2007-06-0116-3/+295
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-01 Matthias Clasen <mclasen@redhat.com> Add support for composited child windows. (#412882, Ryan Lortie) * gdk/gdk.symbols: * gdk/gdkdisplay.h: * gdk/gdkinternals.h: * gdk/gdkwindow.[hc]: Add gdk_display_supports_composite() and gdk_window_set_composited(). * gdk/x11/gdkevents-x11.c: * gdk/x11/gdkdisplay-x11.[hc]: * gdk/x11/gdkwindow-x11.[hc]: X11 implementation. * gdk/win32/gdkdisplay-win32.c: * gdk/win32/gdkwindow-win32.c: Dummy win32 implementration. * gdk/quartz/gdkdisplay-quartz.c: * gdk/quartz/gdkwindow-quartz.c: Dummy Quartz implementation. * gdk/directfb/gdkdisplay-directfb.c: * gdk/directfb/gdkwindow-directfb.c: Dummy DirectFB implementation. * tests/testgtk.c: Add a "composited window" test. svn path=/trunk/; revision=18004
* Fix doc typos.Alp Toker2007-06-011-1/+1
| | | | | | | | | 2007-06-01 Alp Toker <alp.toker@collabora.co.uk> * gdk/gdkcairo.c (gdk_cairo_set_source_pixmap): Fix doc typos. svn path=/trunk/; revision=17999
* Add this function, bug #438440.Richard Hult2007-05-301-0/+10
| | | | | | | | | 2007-05-30 Richard Hult <richard@imendio.com> * gdk/quartz/gdkselection-quartz.c (gdk_free_text_list): Add this function, bug #438440. svn path=/trunk/; revision=17991
* Subtract the multi-monitor offset from x and y before setting up theTor Lillqvist2007-05-301-0/+3
| | | | | | | | | | | 2007-05-30 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Subtract the multi-monitor offset from x and y before setting up the rectangle for ClipCursor(). Fixes #442326. svn path=/trunk/; revision=17988
* Closed #442183 – Updated gdk/gdkkeysyms-update.plSimos Xenitellis2007-05-301-18/+18
| | | | svn path=/trunk/; revision=17984
* Fix initialization of last cursorCody Russell2007-05-291-1/+1
| | | | svn path=/trunk/; revision=17973
* Break out code that was repeated into separate functions and call themRichard Hult2007-05-281-55/+176
| | | | | | | | | | | | | | | | | 2007-05-28 Richard Hult <richard@imendio.com> * gdk/quartz/gdkevents-quartz.c (get_child_coordinates_from_ancestor) (get_ancestor_coordinates_from_child): Break out code that was repeated into separate functions and call them instead. (find_window_for_mouse_nsevent): Break out this from find_window_for_nsevent to make the code clearer. (find_window_for_nsevent): Use the above and fix the returned coordinates in the process so that they are always relative the found window, both for the normal case and during grabs. Still needs fixing for the case where we get nsevents for a window other than than grab window during grabs. svn path=/trunk/; revision=17971
* Fix typo, we need both press and release in the mask to trigger implicitRichard Hult2007-05-281-3/+2
| | | | | | | | | | 2007-05-28 Richard Hult <richard@imendio.com> * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Fix typo, we need both press and release in the mask to trigger implicit grabs. svn path=/trunk/; revision=17970
* Reset all the grab state, to help debugging. (gdk_event_translate): UseRichard Hult2007-05-281-2/+5
| | | | | | | | | | | 2007-05-28 Richard Hult <richard@imendio.com> * gdk/quartz/gdkevents-quartz.c (pointer_ungrab_internal): Reset all the grab state, to help debugging. (gdk_event_translate): Use pointer_ungrab_internal instead of duplicating the code here. svn path=/trunk/; revision=17969
* Refactored version of _gdk_quartz_window_find_child_by_point, that doesn'tRichard Hult2007-05-282-19/+117
| | | | | | | | | | | | | | | 2007-05-28 Richard Hult <richard@imendio.com> * gdk/quartz/gdkprivate-quartz.h: * gdk/quartz/gdkwindow-quartz.c (find_child_window_helper) (_gdk_quartz_window_find_child): Refactored version of _gdk_quartz_window_find_child_by_point, that doesn't return any coordinates as the users of this function already have the coordinates and need to translate them differently. (_gdk_windowing_window_get_pointer): Fixup coordinate translation. (_gdk_windowing_window_at_pointer): Likewise. svn path=/trunk/; revision=17968
* Don't traverse beyond the toplevel of the passed in window.Richard Hult2007-05-281-12/+18
| | | | | | | | | | 2007-05-28 Richard Hult <richard@imendio.com> * gdk/quartz/gdkevents-quartz.c (find_window_interested_in_event_mask): Don't traverse beyond the toplevel of the passed in window. svn path=/trunk/; revision=17967
* Set a size for the root window.Richard Hult2007-05-281-0/+8
| | | | | | | | | 2007-05-28 Richard Hult <richard@imendio.com> * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init): Set a size for the root window. svn path=/trunk/; revision=17966
* Add comments about what various coordinates are relative to.Richard Hult2007-05-281-5/+9
| | | | | | | | | 2007-05-28 Richard Hult <richard@imendio.com> * gdk/quartz/gdkwindow-quartz.c: Add comments about what various coordinates are relative to. svn path=/trunk/; revision=17965
* Remove duplicate doc comments that cause problems when building the docs.Matthias Clasen2007-05-271-24/+0
| | | | | | | | | | | 2007-05-26 Matthias Clasen <mclasen@redhat.com> * gdk/directfb/gdkkeys-directfb.c: Remove duplicate doc comments that cause problems when building the docs. svn path=/trunk/; revision=17944
* Update docsMatthias Clasen2007-05-261-2/+3
| | | | svn path=/trunk/; revision=17942
* Update docsMatthias Clasen2007-05-261-0/+4
| | | | svn path=/trunk/; revision=17941
* Fix docsMatthias Clasen2007-05-262-15/+1
| | | | svn path=/trunk/; revision=17939
* Implement copying from a window, part of bug #348493.Richard Hult2007-05-251-2/+61
| | | | | | | | | 2007-05-25 Richard Hult <richard@imendio.com> * gdk/quartz/gdkimage-quartz.c: (_gdk_quartz_image_copy_to_image): Implement copying from a window, part of bug #348493. svn path=/trunk/; revision=17917
* 2.11.0GTK_2_11_0Matthias Clasen2007-05-242-0/+168
| | | | svn path=/trunk/; revision=17903
* Add some missing symbols.Matthias Clasen2007-05-232-0/+4
| | | | | | | | | | | | | | | | | 2007-05-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gdk/x11/xsettings-common.h: * gdk/gdk.symbols: Add some missing symbols. * gtk/paper_names_offsets.c: * gtk/gen-paper-names.c: Make variables static. * gtk/gtktooltip.[hc]: * gtk/gtkvolumebutton.c: * gtk/gtkscalebutton.c: Fix up symbol aliasing. svn path=/trunk/; revision=17899
* Set the resolution.Richard Hult2007-05-212-17/+17
| | | | | | | | | | | 2007-05-21 Richard Hult <richard@imendio.com> * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Set the resolution. * gdk/quartz/gdkscreen-quartz.c: Use the autorelease pool macros. svn path=/trunk/; revision=17887
* Updated minimum DirectFB version required to enable ↵Attilio Fiandrotti2007-05-202-2/+2
| | | | | | gdk_directfb_create_child_window() svn path=/trunk/; revision=17879
* Add Sun mediaLib support so that hardware acceleration via mediaLib isBrian Cameron2007-05-164-4/+113
| | | | | | | | | | | | | | | | | | 2007-05-16 Brian Cameron <brian.cameron@sun.com> * acconfig.h, configure.in, gdk/Makefile.am, gdkprivate.h, gdkrgb.c, gdkdraw.c, gdk-pixbuf/gdk-pixbuf-scale.c, gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/pixops/pixops.[ch], gdk-pixbuf/pixops/timescale.c: Add Sun mediaLib support so that hardware acceleration via mediaLib is enabled if mediaLib is detected via configure. Enhancement request #344813. I was given permission to commit in the bug report by Matthias Clasen. * gdk/medialib.[ch]: New files added for mediaLib support. * docs/reference/gdk-pixbuf/tmpl/scaling.sgml, docs/reference/gdk/tmpl/rgb.sgml, gdk/gdkdraw.c: Add docs for mediaLib support. svn path=/trunk/; revision=17855
* Fix context iterations for handle_configure_event()Cody Russell2007-05-131-3/+2
| | | | svn path=/trunk/; revision=17834
* Fix wrong cairo path generation. (#437879, Eddie C. Dost)Behdad Esfahbod2007-05-121-1/+1
| | | | | | | | | | 2007-05-12 Behdad Esfahbod <behdad@gnome.org> * gdk/gdkdraw.c (gdk_draw_trapezoids): Fix wrong cairo path generation. (#437879, Eddie C. Dost) svn path=/trunk/; revision=17831
* Don't call into the backend if the region is empty. (#437081, SvenMatthias Clasen2007-05-101-1/+5
| | | | | | | | | | | 2007-05-10 Matthias Clasen <mclasen@redhat.com> * gdk/gdkdraw.c (gdk_draw_pixbuf): Don't call into the backend if the region is empty. (#437081, Sven Neumann) svn path=/trunk/; revision=17813
* Fix bugs #428733 and #433301. Turns out the lockFocus logic was flawed,Richard Hult2007-05-051-17/+15
| | | | | | | | | | | | 007-05-05 Richard Hult <richard@imendio.com> * gdk/quartz/gdkdrawable-quartz.c: (gdk_quartz_drawable_get_context), (gdk_quartz_drawable_release_context): Fix bugs #428733 and #433301. Turns out the lockFocus logic was flawed, now we only lock/unlock when called outside a real expose event and never flush manually. svn path=/trunk/; revision=17798
* Make sure the leader_window's WM_CLIENT_LEADER points to itself. #435028Dan Winship2007-05-021-2/+6
| | | | | | | * gdk/x11/gdkwindow-x11.c (setup_toplevel_window): Make sure the leader_window's WM_CLIENT_LEADER points to itself. #435028 svn path=/trunk/; revision=17762
* Added stub gdk_notify_startup_complete_with_id to compile AddedMichael Emmel2007-05-013-13/+94
| | | | | | | | | | | | | | 2007-05-01 Michael Emmel <mike.emmel@gmail.com> * gdk/directfb/gdkdisplay-directfb.c: Added stub gdk_notify_startup_complete_with_id to compile * gdk/directfb/gdkwindow-directfb.c: Added gdk_window_set_opacity * gdk/directfb/gdkkeys-directfb.c: Fix menu key handling crash Bug #413328 svn path=/trunk/; revision=17752
* Implement.Richard Hult2007-04-301-0/+24
| | | | | | | | | 2007-04-30 Richard Hult <richard@imendio.com> * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_opacity): Implement. svn path=/trunk/; revision=17743
* Some more compiler warning fixes.Matthias Clasen2007-04-301-1/+1
| | | | | | | | | | | | 2007-04-30 Matthias Clasen <mclasen@redhat.com> Some more compiler warning fixes. * gdk/directfb/gdkscreen-directfb.c (gdk_screen_is_composited): Fix NULL/FALSE confusion. svn path=/trunk/; revision=17740
* Clear correct areaCody Russell2007-04-301-4/+146
| | | | svn path=/trunk/; revision=17737
* Add functionality to set overall opacity of a top-level window. (#405316)Tor Lillqvist2007-04-305-2/+88
| | | | | | | | | | | | | | | | | | | | | | | 2007-04-30 Tor Lillqvist <tml@novell.com> Add functionality to set overall opacity of a top-level window. (#405316) * gdk/gdk.symbols: Add gdk_window_set_opacity. * gdk/x11/gdkwindow-x11.c * gdk/win32/gdkwindow-win32.c: Implement gdk_window_set_opacity(). On X11 use the _NET_WM_WINDOW_OPACITY property. On Win32 use SetLayeredWindowAttributes(LWA_ALPHA). * gdk/gdkwindow.h: Declare gdk_window_set_opacity(). * gdk/x11/gdkscreen-x11.c (gdk_screen_get_rgba_colormap): Document that this is not implemented in the Windows backend. Add reference to gdk_window_set_opacity(). svn path=/trunk/; revision=17730
* New method to marshall and send a Startup Notification message. (fromDan Winship2007-04-292-44/+76
| | | | | | | | | * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_broadcast_startup_message): New method to marshall and send a Startup Notification message. (from #415070) (gdk_notify_startup_complete_with_id): Use that svn path=/trunk/; revision=17710