- 28 May, 2019 3 commits
-
-
Matthias Clasen authored
All the information in it is already contained in the surface object we pass along, and none of the backend implementations were using the attributes at all.
-
Matthias Clasen authored
Now that all surfaces are native, we don't need to separately keep track of grab surfaces and their native ancestor anymore.
-
Matthias Clasen authored
It is always NULL.
-
- 10 Feb, 2019 1 commit
-
-
Timm Bäder authored
-
- 27 Jun, 2018 1 commit
-
-
Rico Tzschichholz authored
-
- 25 Jun, 2018 2 commits
-
-
Matthias Clasen authored
4.0 will represent a clean epoch. We don't want to have lots of noise in the docs about 2.x or 3.x.
-
Benjamin Otte authored
We don't create surfaces of that type anymore.
-
- 18 Jun, 2018 2 commits
-
-
Benjamin Otte authored
In particular, this patch removes: gdk_surface_get_events() gdk_surface_set_events() gdk_surface_get_device_events() gdk_surface_set_device_events() Event masks so far still exist for grabs.
-
Benjamin Otte authored
This is not needed because GTK must be run in the main thread these days, which is the same one that runs the main loop. So when this function is called, the main loop is awake. https://bugzilla.gnome.org/show_bug.cgi?id=550989
-
- 11 Jun, 2018 1 commit
-
-
Mario Sanchez Prada authored
Includes implementation for Wayland and X11, which are the only backends implementing the Startup Notification Protocol, returns NULL otherwise. #1084
-
- 29 May, 2018 1 commit
-
-
Benjamin Otte authored
Events are objects, so use g_object_unref().
-
- 20 Mar, 2018 5 commits
-
-
Benjamin Otte authored
Root surface have been dead for a while now, no need to keep the enum value around.
-
Alexander Larsson authored
Mostly these are internal things, but the major public change is that event.window is now event.surface.
-
Alexander Larsson authored
This is an automatic rename of various things related to the window->surface rename. Public symbols changed by this is: GDK_MODE_WINDOW gdk_device_get_window_at_position gdk_device_get_window_at_position_double gdk_device_get_last_event_window gdk_display_get_monitor_at_window gdk_drag_context_get_source_window gdk_drag_context_get_dest_window gdk_drag_context_get_drag_window gdk_draw_context_get_window gdk_drawing_context_get_window gdk_gl_context_get_window gdk_synthesize_window_state gdk_surface_get_window_type gdk_x11_display_set_window_scale gsk_renderer_new_for_window gsk_renderer_get_window gtk_text_view_buffer_to_window_coords gtk_tree_view_convert_widget_to_bin_window_coords gtk_tree_view_convert_tree_to_bin_window_coords The commands that generated this are: git sed -f g "GDK window" "GDK surface" git sed -f g window_impl surface_impl (cd gdk; git sed -f g impl_window impl_surface) git sed -f g WINDOW_IMPL SURFACE_IMPL git sed -f g GDK_MODE_WINDOW GDK_MODE_SURFACE git sed -f g gdk_draw_context_get_window gdk_draw_context_get_surface git sed -f g gdk_drawing_context_get_window gdk_drawing_context_get_surface git sed -f g gdk_gl_context_get_window gdk_gl_context_get_surface git sed -f g gsk_renderer_get_window gsk_renderer_get_surface git sed -f g gsk_renderer_new_for_window gsk_renderer_new_for_surface (cd gdk; git sed -f g window_type surface_type) git sed -f g gdk_surface_get_window_type gdk_surface_get_surface_type git sed -f g window_at_position surface_at_position git sed -f g event_window event_surface git sed -f g window_coord surface_coord git sed -f g window_state surface_state git sed -f g window_cursor surface_cursor git sed -f g window_scale surface_scale git sed -f g window_events surface_events git sed -f g monitor_at_window monitor_at_surface git sed -f g window_under_pointer surface_under_pointer (cd gdk; git sed -f g for_window for_surface) git sed -f g window_anchor surface_anchor git sed -f g WINDOW_IS_TOPLEVEL SURFACE_IS_TOPLEVEL git sed -f g native_window native_surface git sed -f g source_window source_surface git sed -f g dest_window dest_surface git sed -f g drag_window drag_surface git sed -f g input_window input_surface git checkout NEWS* po-properties po docs/reference/gtk/migrating-3to4.xml
-
Alexander Larsson authored
Rename all *window.[ch] source files. This is an automatic operation, done by the following commands: for i in $(git ls-files gdk | grep window); do git mv $i $(echo $i | sed s/window/surface/); git sed -f g $(basename $i) $(basename $i | sed s/window/surface/) ; done git checkout NEWS* po-properties po
-
Alexander Larsson authored
This renames the GdkWindow class and related classes (impl, backend subclasses) to surface. Additionally it renames related types: GdkWindowAttr, GdkWindowPaint, GdkWindowWindowClass, GdkWindowType, GdkWindowTypeHint, GdkWindowHints, GdkWindowState, GdkWindowEdge This is an automatic conversion using the below commands: git sed -f g GdkWindowWindowClass GdkSurfaceSurfaceClass git sed -f g GdkWindow GdkSurface git sed -f g "gdk_window\([ _\(\),;]\|$\)" "gdk_surface\1" # Avoid hitting gdk_windowing git sed -f g "GDK_WINDOW\([ _\(]\|$\)" "GDK_SURFACE\1" # Avoid hitting GDK_WINDOWING git sed "GDK_\([A-Z]*\)IS_WINDOW\([_ (]\|$\)" "GDK_\1IS_SURFACE\2" git sed GDK_TYPE_WINDOW GDK_TYPE_SURFACE git sed -f g GdkPointerWindowInfo GdkPointerSurfaceInfo git sed -f g "BROADWAY_WINDOW" "BROADWAY_SURFACE" git sed -f g "broadway_window" "broadway_surface" git sed -f g "BroadwayWindow" "BroadwaySurface" git sed -f g "WAYLAND_WINDOW" "WAYLAND_SURFACE" git sed -f g "wayland_window" "wayland_surface" git sed -f g "WaylandWindow" "WaylandSurface" git sed -f g "X11_WINDOW" "X11_SURFACE" git sed -f g "x11_window" "x11_surface" git sed -f g "X11Window" "X11Surface" git sed -f g "WIN32_WINDOW" "WIN32_SURFACE" git sed -f g "win32_window" "win32_surface" git sed -f g "Win32Window" "Win32Surface" git sed -f g "QUARTZ_WINDOW" "QUARTZ_SURFACE" git sed -f g "quartz_window" "quartz_surface" git sed -f g "QuartzWindow" "QuartzSurface" git checkout NEWS* po-properties
-
- 06 Feb, 2018 1 commit
-
-
Matthias Clasen authored
Remove all the old 2.x and 3.x version annotations. GTK+ 4 is a new start, and from the perspective of a GTK+ 4 developer all these APIs have been around since the beginning.
-
- 17 Jan, 2018 1 commit
-
-
Matthias Clasen authored
The query function for cursor sizes and capabilities are not very interesting. At least, they are not used in GTK+, and all backends but X11 just hardcode made-up values anyway. So, lets drop them.
-
- 14 Jan, 2018 2 commits
-
-
Matthias Clasen authored
As far as possible, use per-display debug flags. This will minimize the debug spew that we get from the inspector if it is running on a separate display.
-
Matthias Clasen authored
Drop GDK_GL, GDK_VULKAN and GDK_RENDERING_MODE. Merge the useful bits into GDK_DEBUG. Drop unused debug flags (CURSOR).
-
- 26 Dec, 2017 4 commits
-
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Matthias Clasen authored
New api needs documentation.
-
Matthias Clasen authored
New api needs documentation.
-
- 21 Dec, 2017 1 commit
-
-
Emmanuele Bassi authored
GdkDisplay is missing various annotations, and the introspection scanner is complaining about it.
-
- 15 Dec, 2017 2 commits
-
-
Matthias Clasen authored
It has been replaced by gdk_display_get_keymap.
-
Matthias Clasen authored
This is just a better name for gdk_keymap_get_for_display.
-
- 14 Dec, 2017 3 commits
-
-
Benjamin Otte authored
-
Benjamin Otte authored
Without selections, that's kinda pointless.
-
Carlos Garnacho authored
No need to copy it.
-
- 13 Dec, 2017 1 commit
-
-
Carlos Garnacho authored
Make all specific event structs contain a GdkEventAny, so the base struct can be extended without modifying structs all over the place.
-
- 12 Dec, 2017 1 commit
-
-
Benjamin Otte authored
Don't generate marshallers that are not needed. Use the default ones if they exist.
-
- 03 Dec, 2017 1 commit
-
-
Matthias Clasen authored
This commit adds a GdkClipboard object which is intended to replace GtkClipboard, eventually.
-
- 25 Nov, 2017 4 commits
-
-
Matthias Clasen authored
This is now entirely the backends responsibility.
-
Matthias Clasen authored
We can just use the seats to find out about device removals.
-
Matthias Clasen authored
It is going away.
-
Matthias Clasen authored
GdkDeviceManager is being replaced by GdkSeat.
-
- 18 Nov, 2017 1 commit
-
-
Matthias Clasen authored
This avoids some string copies at startup.
-
- 17 Nov, 2017 2 commits
-
-
Matthias Clasen authored
This is implemented in multiple gdk backends, and we can avoid and ugly ifdef cascade in gtk by adding a vfunc for this.
-
Matthias Clasen authored
This gives us access to private gdk api.
-