mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
Rename some private x11 backend functions to _gdk_x11
This commit is contained in:
parent
cc03a6df79
commit
7e22cf7e50
@ -792,7 +792,7 @@ gdk_display_x11_translate_event (GdkEventTranslator *translator,
|
||||
g_message ("selection clear:\twindow: %ld",
|
||||
xevent->xproperty.window));
|
||||
|
||||
if (_gdk_selection_filter_clear_event (&xevent->xselectionclear))
|
||||
if (_gdk_x11_selection_filter_clear_event (&xevent->xselectionclear))
|
||||
{
|
||||
event->selection.type = GDK_SELECTION_CLEAR;
|
||||
event->selection.window = window;
|
||||
|
@ -139,8 +139,8 @@ void _gdk_x11_window_translate (GdkWindow *window,
|
||||
gint dx,
|
||||
gint dy);
|
||||
|
||||
void _gdk_selection_window_destroyed (GdkWindow *window);
|
||||
gboolean _gdk_selection_filter_clear_event (XSelectionClearEvent *event);
|
||||
void _gdk_x11_selection_window_destroyed (GdkWindow *window);
|
||||
gboolean _gdk_x11_selection_filter_clear_event (XSelectionClearEvent *event);
|
||||
|
||||
cairo_region_t* _gdk_x11_xwindow_get_shape (Display *xdisplay,
|
||||
Window window,
|
||||
|
@ -54,7 +54,7 @@ static GSList *owner_list;
|
||||
* low code solution
|
||||
*/
|
||||
void
|
||||
_gdk_selection_window_destroyed (GdkWindow *window)
|
||||
_gdk_x11_selection_window_destroyed (GdkWindow *window)
|
||||
{
|
||||
GSList *tmp_list = owner_list;
|
||||
while (tmp_list)
|
||||
@ -74,7 +74,7 @@ _gdk_selection_window_destroyed (GdkWindow *window)
|
||||
* reflect changes to the selection owner that we didn't make ourself.
|
||||
*/
|
||||
gboolean
|
||||
_gdk_selection_filter_clear_event (XSelectionClearEvent *event)
|
||||
_gdk_x11_selection_filter_clear_event (XSelectionClearEvent *event)
|
||||
{
|
||||
GSList *tmp_list = owner_list;
|
||||
GdkDisplay *display = gdk_x11_lookup_xdisplay (event->display);
|
||||
|
@ -991,7 +991,7 @@ gdk_x11_window_destroy (GdkWindow *window,
|
||||
|
||||
g_return_if_fail (GDK_IS_WINDOW (window));
|
||||
|
||||
_gdk_selection_window_destroyed (window);
|
||||
_gdk_x11_selection_window_destroyed (window);
|
||||
|
||||
toplevel = _gdk_x11_window_get_toplevel (window);
|
||||
if (toplevel)
|
||||
|
Loading…
Reference in New Issue
Block a user