[gtk+] mir: remove non-useful logging
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] mir: remove non-useful logging
- Date: Tue, 23 Jun 2015 17:18:01 +0000 (UTC)
commit 2374a1b50b6b54b8818a37e70ecef4d0e06bebba
Author: William Hua <william hua canonical com>
Date: Fri Jun 19 15:16:27 2015 -0400
mir: remove non-useful logging
gdk/mir/gdkmirdisplay.c | 72 +++++++++++++++++++++---------------------
gdk/mir/gdkmireventsource.c | 4 --
gdk/mir/gdkmirscreen.c | 42 ++++++++++++------------
gdk/mir/gdkmirwindowimpl.c | 68 ++++++++++++++++++++--------------------
4 files changed, 91 insertions(+), 95 deletions(-)
---
diff --git a/gdk/mir/gdkmirdisplay.c b/gdk/mir/gdkmirdisplay.c
index cc92a53..6eda352 100644
--- a/gdk/mir/gdkmirdisplay.c
+++ b/gdk/mir/gdkmirdisplay.c
@@ -107,7 +107,7 @@ _gdk_mir_display_open (const gchar *display_name)
MirPixelFormat sw_pixel_format, hw_pixel_format;
GdkMirDisplay *display;
- g_printerr ("gdk_mir_display_open\n");
+ //g_printerr ("gdk_mir_display_open\n");
connection = mir_connect_sync (NULL, "GDK-Mir");
if (!connection)
@@ -207,26 +207,26 @@ gdk_mir_display_get_default_screen (GdkDisplay *display)
static void
gdk_mir_display_beep (GdkDisplay *display)
{
- g_printerr ("gdk_mir_display_beep\n");
+ //g_printerr ("gdk_mir_display_beep\n");
/* No system level beep... */
}
static void
gdk_mir_display_sync (GdkDisplay *display)
{
- g_printerr ("gdk_mir_display_sync\n");
+ //g_printerr ("gdk_mir_display_sync\n");
}
static void
gdk_mir_display_flush (GdkDisplay *display)
{
- g_printerr ("gdk_mir_display_flush\n");
+ //g_printerr ("gdk_mir_display_flush\n");
}
static gboolean
gdk_mir_display_has_pending (GdkDisplay *display)
{
- g_printerr ("gdk_mir_display_has_pending\n");
+ //g_printerr ("gdk_mir_display_has_pending\n");
/* We don't need to poll for events - so nothing pending */
return FALSE;
}
@@ -247,14 +247,14 @@ gdk_mir_display_make_default (GdkDisplay *display)
static GdkWindow *
gdk_mir_display_get_default_group (GdkDisplay *display)
{
- g_printerr ("gdk_mir_display_get_default_group\n");
+ //g_printerr ("gdk_mir_display_get_default_group\n");
return NULL;
}
static gboolean
gdk_mir_display_supports_shapes (GdkDisplay *display)
{
- g_printerr ("gdk_mir_display_supports_shapes\n");
+ //g_printerr ("gdk_mir_display_supports_shapes\n");
/* Mir doesn't support shaped windows */
return FALSE;
}
@@ -262,42 +262,42 @@ gdk_mir_display_supports_shapes (GdkDisplay *display)
static gboolean
gdk_mir_display_supports_input_shapes (GdkDisplay *display)
{
- g_printerr ("gdk_mir_display_supports_input_shapes\n");
+ //g_printerr ("gdk_mir_display_supports_input_shapes\n");
return FALSE;
}
static gboolean
gdk_mir_display_supports_composite (GdkDisplay *display)
{
- g_printerr ("gdk_mir_display_supports_composite\n");
+ //g_printerr ("gdk_mir_display_supports_composite\n");
return FALSE;
}
static gboolean
gdk_mir_display_supports_clipboard_persistence (GdkDisplay *display)
{
- g_printerr ("gdk_mir_display_supports_clipboard_persistence\n");
+ //g_printerr ("gdk_mir_display_supports_clipboard_persistence\n");
return FALSE;
}
static gboolean
gdk_mir_display_supports_cursor_alpha (GdkDisplay *display)
{
- g_printerr ("gdk_mir_display_supports_cursor_alpha\n");
+ //g_printerr ("gdk_mir_display_supports_cursor_alpha\n");
return FALSE;
}
static gboolean
gdk_mir_display_supports_cursor_color (GdkDisplay *display)
{
- g_printerr ("gdk_mir_display_supports_cursor_color\n");
+ //g_printerr ("gdk_mir_display_supports_cursor_color\n");
return FALSE;
}
static gboolean
gdk_mir_display_supports_selection_notification (GdkDisplay *display)
{
- g_printerr ("gdk_mir_display_supports_selection_notification\n");
+ //g_printerr ("gdk_mir_display_supports_selection_notification\n");
return FALSE;
}
@@ -305,7 +305,7 @@ static gboolean
gdk_mir_display_request_selection_notification (GdkDisplay *display,
GdkAtom selection)
{
- g_printerr ("gdk_mir_display_request_selection_notification\n");
+ //g_printerr ("gdk_mir_display_request_selection_notification\n");
return FALSE;
}
@@ -316,7 +316,7 @@ gdk_mir_display_store_clipboard (GdkDisplay *display,
const GdkAtom *targets,
gint n_targets)
{
- g_printerr ("gdk_mir_display_store_clipboard\n");
+ //g_printerr ("gdk_mir_display_store_clipboard\n");
}
static void
@@ -324,7 +324,7 @@ gdk_mir_display_get_default_cursor_size (GdkDisplay *display,
guint *width,
guint *height)
{
- g_printerr ("gdk_mir_display_get_default_cursor_size\n");
+ //g_printerr ("gdk_mir_display_get_default_cursor_size\n");
*width = *height = 32; // FIXME: Random value
}
@@ -333,7 +333,7 @@ gdk_mir_display_get_maximal_cursor_size (GdkDisplay *display,
guint *width,
guint *height)
{
- g_printerr ("gdk_mir_display_get_maximal_cursor_size\n");
+ //g_printerr ("gdk_mir_display_get_maximal_cursor_size\n");
*width = *height = 32; // FIXME: Random value
}
@@ -357,14 +357,14 @@ gdk_mir_display_get_cursor_for_surface (GdkDisplay *display,
gdouble x,
gdouble y)
{
- g_printerr ("gdk_mir_display_get_cursor_for_surface (%f, %f)\n", x, y);
+ //g_printerr ("gdk_mir_display_get_cursor_for_surface (%f, %f)\n", x, y);
return NULL;
}
static GList *
gdk_mir_display_list_devices (GdkDisplay *display)
{
- g_printerr ("gdk_mir_display_list_devices\n");
+ //g_printerr ("gdk_mir_display_list_devices\n");
// FIXME: Should this access the device manager?
return NULL;
}
@@ -372,20 +372,20 @@ gdk_mir_display_list_devices (GdkDisplay *display)
static GdkAppLaunchContext *
gdk_mir_display_get_app_launch_context (GdkDisplay *display)
{
- g_printerr ("gdk_mir_display_get_app_launch_context\n");
+ //g_printerr ("gdk_mir_display_get_app_launch_context\n");
return NULL;
}
static void
gdk_mir_display_before_process_all_updates (GdkDisplay *display)
{
- g_printerr ("gdk_mir_display_before_process_all_updates\n");
+ //g_printerr ("gdk_mir_display_before_process_all_updates\n");
}
static void
gdk_mir_display_after_process_all_updates (GdkDisplay *display)
{
- g_printerr ("gdk_mir_display_after_process_all_updates\n");
+ //g_printerr ("gdk_mir_display_after_process_all_updates\n");
}
static gulong
@@ -411,11 +411,11 @@ gdk_mir_display_create_window_impl (GdkDisplay *display,
GdkWindowAttr *attributes,
gint attributes_mask)
{
- g_printerr ("gdk_mir_display_create_window_impl");
- g_printerr (" window=%p", window);
- g_printerr (" location=(%d, %d)", window->x, window->y);
- g_printerr (" size=(%d, %d)", window->width, window->height);
- g_printerr ("\n");
+ //g_printerr ("gdk_mir_display_create_window_impl");
+ //g_printerr (" window=%p", window);
+ //g_printerr (" location=(%d, %d)", window->x, window->y);
+ //g_printerr (" size=(%d, %d)", window->width, window->height);
+ //g_printerr ("\n");
if (attributes->wclass == GDK_INPUT_OUTPUT)
{
@@ -442,14 +442,14 @@ gdk_mir_display_get_keymap (GdkDisplay *display)
static void
gdk_mir_display_push_error_trap (GdkDisplay *display)
{
- g_printerr ("gdk_mir_display_push_error_trap\n");
+ //g_printerr ("gdk_mir_display_push_error_trap\n");
}
static gint
gdk_mir_display_pop_error_trap (GdkDisplay *display,
gboolean ignored)
{
- g_printerr ("gdk_mir_display_pop_error_trap\n");
+ //g_printerr ("gdk_mir_display_pop_error_trap\n");
return 0;
}
@@ -457,7 +457,7 @@ static GdkWindow *
gdk_mir_display_get_selection_owner (GdkDisplay *display,
GdkAtom selection)
{
- g_printerr ("gdk_mir_display_get_selection_owner\n");
+ //g_printerr ("gdk_mir_display_get_selection_owner\n");
return NULL;
}
@@ -468,7 +468,7 @@ gdk_mir_display_set_selection_owner (GdkDisplay *display,
guint32 time,
gboolean send_event)
{
- g_printerr ("gdk_mir_display_set_selection_owner\n");
+ //g_printerr ("gdk_mir_display_set_selection_owner\n");
return FALSE;
}
@@ -480,7 +480,7 @@ gdk_mir_display_send_selection_notify (GdkDisplay *display,
GdkAtom property,
guint32 time)
{
- g_printerr ("gdk_mir_display_send_selection_notify\n");
+ //g_printerr ("gdk_mir_display_send_selection_notify\n");
}
static gint
@@ -490,7 +490,7 @@ gdk_mir_display_get_selection_property (GdkDisplay *display,
GdkAtom *ret_type,
gint *ret_format)
{
- g_printerr ("gdk_mir_display_get_selection_property\n");
+ //g_printerr ("gdk_mir_display_get_selection_property\n");
return 0;
}
@@ -501,7 +501,7 @@ gdk_mir_display_convert_selection (GdkDisplay *display,
GdkAtom target,
guint32 time)
{
- g_printerr ("gdk_mir_display_convert_selection\n");
+ //g_printerr ("gdk_mir_display_convert_selection\n");
}
static gint
@@ -512,7 +512,7 @@ gdk_mir_display_text_property_to_utf8_list (GdkDisplay *display,
gint length,
gchar ***list)
{
- g_printerr ("gdk_mir_display_text_property_to_utf8_list\n");
+ //g_printerr ("gdk_mir_display_text_property_to_utf8_list\n");
return 0;
}
@@ -520,7 +520,7 @@ static gchar *
gdk_mir_display_utf8_to_string_target (GdkDisplay *display,
const gchar *str)
{
- g_printerr ("gdk_mir_display_utf8_to_string_target\n");
+ //g_printerr ("gdk_mir_display_utf8_to_string_target\n");
return NULL;
}
diff --git a/gdk/mir/gdkmireventsource.c b/gdk/mir/gdkmireventsource.c
index 41a4422..b884602 100644
--- a/gdk/mir/gdkmireventsource.c
+++ b/gdk/mir/gdkmireventsource.c
@@ -148,8 +148,6 @@ generate_button_event (GdkWindow *window, GdkEventType type, gdouble x, gdouble
{
GdkEvent *event;
- g_print ("%s %lf %lf\n", G_STRFUNC, x, y);
-
event = gdk_event_new (type);
event->button.x = x;
event->button.y = y;
@@ -362,8 +360,6 @@ handle_motion_event (GdkWindow *window, const MirInputEvent *event)
{
case mir_pointer_action_button_up:
case mir_pointer_action_button_down:
- g_print ("%s button up/down\n", G_STRFUNC);
-
event_type = mir_pointer_event_action (pointer_event) == mir_pointer_action_button_down ?
GDK_BUTTON_PRESS : GDK_BUTTON_RELEASE;
changed_button_state = button_state ^ mir_pointer_event_get_button_state (pointer_event);
if (changed_button_state == 0 || (changed_button_state & mir_pointer_button_primary) != 0)
diff --git a/gdk/mir/gdkmirscreen.c b/gdk/mir/gdkmirscreen.c
index e29ddb3..d31c5a4 100644
--- a/gdk/mir/gdkmirscreen.c
+++ b/gdk/mir/gdkmirscreen.c
@@ -203,7 +203,7 @@ get_output (GdkScreen *screen, gint monitor_num)
static gint
gdk_mir_screen_get_width (GdkScreen *screen)
{
- g_printerr ("gdk_mir_screen_get_width\n");
+ //g_printerr ("gdk_mir_screen_get_width\n");
gint width, height;
get_screen_size (GDK_MIR_SCREEN (screen)->display_config, &width, &height);
return width;
@@ -212,7 +212,7 @@ gdk_mir_screen_get_width (GdkScreen *screen)
static gint
gdk_mir_screen_get_height (GdkScreen *screen)
{
- g_printerr ("gdk_mir_screen_get_height\n");
+ //g_printerr ("gdk_mir_screen_get_height\n");
gint width, height;
get_screen_size (GDK_MIR_SCREEN (screen)->display_config, &width, &height);
return height;
@@ -221,7 +221,7 @@ gdk_mir_screen_get_height (GdkScreen *screen)
static gint
gdk_mir_screen_get_width_mm (GdkScreen *screen)
{
- g_printerr ("gdk_mir_screen_get_width_mm\n");
+ //g_printerr ("gdk_mir_screen_get_width_mm\n");
gint width, height;
get_screen_size_mm (GDK_MIR_SCREEN (screen)->display_config, &width, &height);
return width;
@@ -230,7 +230,7 @@ gdk_mir_screen_get_width_mm (GdkScreen *screen)
static gint
gdk_mir_screen_get_height_mm (GdkScreen *screen)
{
- g_printerr ("gdk_mir_screen_get_height_mm\n");
+ //g_printerr ("gdk_mir_screen_get_height_mm\n");
gint width, height;
get_screen_size_mm (GDK_MIR_SCREEN (screen)->display_config, &width, &height);
return height;
@@ -293,7 +293,7 @@ gdk_mir_screen_get_n_monitors (GdkScreen *screen)
static gint
gdk_mir_screen_get_primary_monitor (GdkScreen *screen)
{
- g_printerr ("gdk_mir_screen_get_primary_monitor\n");
+ //g_printerr ("gdk_mir_screen_get_primary_monitor\n");
return 0; //?
}
@@ -301,7 +301,7 @@ static gint
gdk_mir_screen_get_monitor_width_mm (GdkScreen *screen,
gint monitor_num)
{
- g_printerr ("gdk_mir_screen_get_monitor_width_mm (%d)\n", monitor_num);
+ //g_printerr ("gdk_mir_screen_get_monitor_width_mm (%d)\n", monitor_num);
MirDisplayOutput *output = get_output (screen, monitor_num);
return output ? output->physical_width_mm : 0;
}
@@ -310,7 +310,7 @@ static gint
gdk_mir_screen_get_monitor_height_mm (GdkScreen *screen,
gint monitor_num)
{
- g_printerr ("gdk_mir_screen_get_monitor_height_mm (%d)\n", monitor_num);
+ //g_printerr ("gdk_mir_screen_get_monitor_height_mm (%d)\n", monitor_num);
MirDisplayOutput *output = get_output (screen, monitor_num);
return output ? output->physical_height_mm : 0;
}
@@ -319,7 +319,7 @@ static gchar *
gdk_mir_screen_get_monitor_plug_name (GdkScreen *screen,
gint monitor_num)
{
- g_printerr ("gdk_mir_screen_get_monitor_plug_name (%d)\n", monitor_num);
+ //g_printerr ("gdk_mir_screen_get_monitor_plug_name (%d)\n", monitor_num);
MirDisplayOutput *output = get_output (screen, monitor_num);
if (output)
@@ -399,7 +399,7 @@ gdk_mir_screen_get_monitor_workarea (GdkScreen *screen,
static GList *
gdk_mir_screen_list_visuals (GdkScreen *screen)
{
- g_printerr ("gdk_mir_screen_list_visuals\n");
+ //g_printerr ("gdk_mir_screen_list_visuals\n");
return g_list_append (NULL, GDK_MIR_SCREEN (screen)->visual);
}
@@ -428,21 +428,21 @@ gdk_mir_screen_is_composited (GdkScreen *screen)
static gchar *
gdk_mir_screen_make_display_name (GdkScreen *screen)
{
- g_printerr ("gdk_mir_screen_make_display_name\n");
+ //g_printerr ("gdk_mir_screen_make_display_name\n");
return NULL; // FIXME
}
static GdkWindow *
gdk_mir_screen_get_active_window (GdkScreen *screen)
{
- g_printerr ("gdk_mir_screen_get_active_window\n");
+ //g_printerr ("gdk_mir_screen_get_active_window\n");
return NULL; // FIXME
}
static GList *
gdk_mir_screen_get_window_stack (GdkScreen *screen)
{
- g_printerr ("gdk_mir_screen_get_window_stack\n");
+ //g_printerr ("gdk_mir_screen_get_window_stack\n");
return NULL; // FIXME
}
@@ -450,7 +450,7 @@ static void
gdk_mir_screen_broadcast_client_message (GdkScreen *screen,
GdkEvent *event)
{
- g_printerr ("gdk_mir_screen_broadcast_client_message\n");
+ //g_printerr ("gdk_mir_screen_broadcast_client_message\n");
// FIXME
}
@@ -673,21 +673,21 @@ gdk_mir_screen_get_setting (GdkScreen *screen,
static gint
gdk_mir_screen_visual_get_best_depth (GdkScreen *screen)
{
- g_printerr ("gdk_mir_screen_visual_get_best_depth\n");
+ //g_printerr ("gdk_mir_screen_visual_get_best_depth\n");
return VISUAL_DEPTH;
}
static GdkVisualType
gdk_mir_screen_visual_get_best_type (GdkScreen *screen)
{
- g_printerr ("gdk_mir_screen_visual_get_best_type\n");
+ //g_printerr ("gdk_mir_screen_visual_get_best_type\n");
return VISUAL_TYPE;
}
static GdkVisual*
gdk_mir_screen_visual_get_best (GdkScreen *screen)
{
- g_printerr ("gdk_mir_screen_visual_get_best\n");
+ //g_printerr ("gdk_mir_screen_visual_get_best\n");
return GDK_MIR_SCREEN (screen)->visual;
}
@@ -695,7 +695,7 @@ static GdkVisual*
gdk_mir_screen_visual_get_best_with_depth (GdkScreen *screen,
gint depth)
{
- g_printerr ("gdk_mir_screen_visual_get_best_with_depth (%d)\n", depth);
+ //g_printerr ("gdk_mir_screen_visual_get_best_with_depth (%d)\n", depth);
return GDK_MIR_SCREEN (screen)->visual;
}
@@ -703,7 +703,7 @@ static GdkVisual*
gdk_mir_screen_visual_get_best_with_type (GdkScreen *screen,
GdkVisualType visual_type)
{
- g_printerr ("gdk_mir_screen_visual_get_best_with_type (%d)\n", visual_type);
+ //g_printerr ("gdk_mir_screen_visual_get_best_with_type (%d)\n", visual_type);
return GDK_MIR_SCREEN (screen)->visual;
}
@@ -712,7 +712,7 @@ gdk_mir_screen_visual_get_best_with_both (GdkScreen *screen,
gint depth,
GdkVisualType visual_type)
{
- g_printerr ("gdk_mir_screen_visual_get_best_with_both\n");
+ //g_printerr ("gdk_mir_screen_visual_get_best_with_both\n");
return GDK_MIR_SCREEN (screen)->visual;
}
@@ -721,7 +721,7 @@ gdk_mir_screen_query_depths (GdkScreen *screen,
gint **depths,
gint *count)
{
- g_printerr ("gdk_mir_screen_query_depths\n");
+ //g_printerr ("gdk_mir_screen_query_depths\n");
static gint supported_depths[] = { VISUAL_DEPTH };
*depths = supported_depths;
*count = 1;
@@ -732,7 +732,7 @@ gdk_mir_screen_query_visual_types (GdkScreen *screen,
GdkVisualType **visual_types,
gint *count)
{
- g_printerr ("gdk_mir_screen_query_visual_types\n");
+ //g_printerr ("gdk_mir_screen_query_visual_types\n");
static GdkVisualType supported_visual_types[] = { VISUAL_TYPE };
*visual_types = supported_visual_types;
*count = 1;
diff --git a/gdk/mir/gdkmirwindowimpl.c b/gdk/mir/gdkmirwindowimpl.c
index 16ef383..ba2e70f 100644
--- a/gdk/mir/gdkmirwindowimpl.c
+++ b/gdk/mir/gdkmirwindowimpl.c
@@ -611,7 +611,7 @@ gdk_mir_window_impl_reparent (GdkWindow *window,
gint x,
gint y)
{
- g_printerr ("gdk_mir_window_impl_reparent window=%p new-parent=%p\n", window, new_parent);
+ //g_printerr ("gdk_mir_window_impl_reparent window=%p new-parent=%p\n", window, new_parent);
return FALSE;
}
@@ -711,14 +711,14 @@ gdk_mir_window_impl_end_paint (GdkWindow *window)
static cairo_region_t *
gdk_mir_window_impl_get_shape (GdkWindow *window)
{
- g_printerr ("gdk_mir_window_impl_get_shape window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_get_shape window=%p\n", window);
return NULL;
}
static cairo_region_t *
gdk_mir_window_impl_get_input_shape (GdkWindow *window)
{
- g_printerr ("gdk_mir_window_impl_get_input_shape window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_get_input_shape window=%p\n", window);
return NULL;
}
@@ -728,7 +728,7 @@ gdk_mir_window_impl_shape_combine_region (GdkWindow *window,
gint offset_x,
gint offset_y)
{
- g_printerr ("gdk_mir_window_impl_shape_combine_region window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_shape_combine_region window=%p\n", window);
}
static void
@@ -755,14 +755,14 @@ gdk_mir_window_impl_destroy (GdkWindow *window,
static void
gdk_mir_window_impl_destroy_foreign (GdkWindow *window)
{
- g_printerr ("gdk_mir_window_impl_destroy_foreign window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_destroy_foreign window=%p\n", window);
}
static void
gdk_mir_window_impl_focus (GdkWindow *window,
guint32 timestamp)
{
- g_printerr ("gdk_mir_window_impl_focus window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_focus window=%p\n", window);
}
static void
@@ -798,21 +798,21 @@ static void
gdk_mir_window_impl_set_skip_taskbar_hint (GdkWindow *window,
gboolean skips_taskbar)
{
- g_printerr ("gdk_mir_window_impl_set_skip_taskbar_hint window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_set_skip_taskbar_hint window=%p\n", window);
}
static void
gdk_mir_window_impl_set_skip_pager_hint (GdkWindow *window,
gboolean skips_pager)
{
- g_printerr ("gdk_mir_window_impl_set_skip_pager_hint window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_set_skip_pager_hint window=%p\n", window);
}
static void
gdk_mir_window_impl_set_urgency_hint (GdkWindow *window,
gboolean urgent)
{
- g_printerr ("gdk_mir_window_impl_set_urgency_hint window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_set_urgency_hint window=%p\n", window);
}
static void
@@ -835,21 +835,21 @@ static void
gdk_mir_window_impl_set_role (GdkWindow *window,
const gchar *role)
{
- g_printerr ("gdk_mir_window_impl_set_role window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_set_role window=%p\n", window);
}
static void
gdk_mir_window_impl_set_startup_id (GdkWindow *window,
const gchar *startup_id)
{
- g_printerr ("gdk_mir_window_impl_set_startup_id window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_set_startup_id window=%p\n", window);
}
static void
gdk_mir_window_impl_set_transient_for (GdkWindow *window,
GdkWindow *parent)
{
- g_printerr ("gdk_mir_window_impl_set_transient_for window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_set_transient_for window=%p\n", window);
GdkMirWindowImpl *impl = GDK_MIR_WINDOW_IMPL (window->impl);
if (impl->transient_for == parent)
@@ -865,14 +865,14 @@ static void
gdk_mir_window_impl_get_frame_extents (GdkWindow *window,
GdkRectangle *rect)
{
- g_printerr ("gdk_mir_window_impl_get_frame_extents window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_get_frame_extents window=%p\n", window);
}
static void
gdk_mir_window_impl_set_override_redirect (GdkWindow *window,
gboolean override_redirect)
{
- g_printerr ("gdk_mir_window_impl_set_override_redirect window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_set_override_redirect window=%p\n", window);
}
static void
@@ -903,7 +903,7 @@ static void
gdk_mir_window_impl_set_icon_name (GdkWindow *window,
const gchar *name)
{
- g_printerr ("gdk_mir_window_impl_set_icon_name window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_set_icon_name window=%p\n", window);
}
static void
@@ -987,7 +987,7 @@ gdk_mir_window_impl_set_keep_below (GdkWindow *window,
static GdkWindow *
gdk_mir_window_impl_get_group (GdkWindow *window)
{
- g_printerr ("gdk_mir_window_impl_get_group window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_get_group window=%p\n", window);
return NULL;
}
@@ -995,21 +995,21 @@ static void
gdk_mir_window_impl_set_group (GdkWindow *window,
GdkWindow *leader)
{
- g_printerr ("gdk_mir_window_impl_set_group window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_set_group window=%p\n", window);
}
static void
gdk_mir_window_impl_set_decorations (GdkWindow *window,
GdkWMDecoration decorations)
{
- g_printerr ("gdk_mir_window_impl_set_decorations window=%p decorations=%d\n", window, decorations);
+ //g_printerr ("gdk_mir_window_impl_set_decorations window=%p decorations=%d\n", window, decorations);
}
static gboolean
gdk_mir_window_impl_get_decorations (GdkWindow *window,
GdkWMDecoration *decorations)
{
- g_printerr ("gdk_mir_window_impl_get_decorations window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_get_decorations window=%p\n", window);
return FALSE;
}
@@ -1017,7 +1017,7 @@ static void
gdk_mir_window_impl_set_functions (GdkWindow *window,
GdkWMFunction functions)
{
- g_printerr ("gdk_mir_window_impl_set_functions window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_set_functions window=%p\n", window);
}
static void
@@ -1029,7 +1029,7 @@ gdk_mir_window_impl_begin_resize_drag (GdkWindow *window,
gint root_y,
guint32 timestamp)
{
- g_printerr ("gdk_mir_window_impl_begin_resize_drag window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_begin_resize_drag window=%p\n", window);
}
static void
@@ -1040,19 +1040,19 @@ gdk_mir_window_impl_begin_move_drag (GdkWindow *window,
gint root_y,
guint32 timestamp)
{
- g_printerr ("gdk_mir_window_impl_begin_move_drag window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_begin_move_drag window=%p\n", window);
}
static void
gdk_mir_window_impl_enable_synchronized_configure (GdkWindow *window)
{
- g_printerr ("gdk_mir_window_impl_enable_synchronized_configure window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_enable_synchronized_configure window=%p\n", window);
}
static void
gdk_mir_window_impl_configure_finished (GdkWindow *window)
{
- g_printerr ("gdk_mir_window_impl_configure_finished window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_configure_finished window=%p\n", window);
}
static void
@@ -1067,27 +1067,27 @@ static void
gdk_mir_window_impl_set_composited (GdkWindow *window,
gboolean composited)
{
- g_printerr ("gdk_mir_window_impl_set_composited window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_set_composited window=%p\n", window);
}
static void
gdk_mir_window_impl_destroy_notify (GdkWindow *window)
{
- g_printerr ("gdk_mir_window_impl_destroy_notify window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_destroy_notify window=%p\n", window);
}
static GdkDragProtocol
gdk_mir_window_impl_get_drag_protocol (GdkWindow *window,
GdkWindow **target)
{
- g_printerr ("gdk_mir_window_impl_get_drag_protocol window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_get_drag_protocol window=%p\n", window);
return 0;
}
static void
gdk_mir_window_impl_register_dnd (GdkWindow *window)
{
- g_printerr ("gdk_mir_window_impl_register_dnd window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_register_dnd window=%p\n", window);
}
static GdkDragContext *
@@ -1095,7 +1095,7 @@ gdk_mir_window_impl_drag_begin (GdkWindow *window,
GdkDevice *device,
GList *targets)
{
- g_printerr ("gdk_mir_window_impl_drag_begin window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_drag_begin window=%p\n", window);
return NULL;
}
@@ -1119,7 +1119,7 @@ gdk_mir_window_impl_process_updates_recurse (GdkWindow *window,
static void
gdk_mir_window_impl_sync_rendering (GdkWindow *window)
{
- g_printerr ("gdk_mir_window_impl_sync_rendering window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_sync_rendering window=%p\n", window);
// FIXME: Only used for benchmarking
}
@@ -1131,7 +1131,7 @@ gdk_mir_window_impl_simulate_key (GdkWindow *window,
GdkModifierType modifiers,
GdkEventType key_pressrelease)
{
- g_printerr ("gdk_mir_window_impl_simulate_key window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_simulate_key window=%p\n", window);
return FALSE;
}
@@ -1143,7 +1143,7 @@ gdk_mir_window_impl_simulate_button (GdkWindow *window,
GdkModifierType modifiers,
GdkEventType button_pressrelease)
{
- g_printerr ("gdk_mir_window_impl_simulate_button window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_simulate_button window=%p\n", window);
return FALSE;
}
@@ -1159,7 +1159,7 @@ gdk_mir_window_impl_get_property (GdkWindow *window,
gint *actual_length,
guchar **data)
{
- g_printerr ("gdk_mir_window_impl_get_property window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_get_property window=%p\n", window);
return FALSE;
}
@@ -1172,7 +1172,7 @@ gdk_mir_window_impl_change_property (GdkWindow *window,
const guchar *data,
gint nelements)
{
- g_printerr ("gdk_mir_window_impl_change_property window=%p\n", window);
+ //g_printerr ("gdk_mir_window_impl_change_property window=%p\n", window);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]