[gtk/inspector-display: 12/14] inspector: Make inspect button use inspected display
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/inspector-display: 12/14] inspector: Make inspect button use inspected display
- Date: Sat, 7 Dec 2019 17:45:25 +0000 (UTC)
commit 68ee89ae11bf61cb245e8a7c1b7c540b454bef4c
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Dec 7 12:30:40 2019 -0500
inspector: Make inspect button use inspected display
This may not matter, but just for cleanliness.
gtk/inspector/inspect-button.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/inspector/inspect-button.c b/gtk/inspector/inspect-button.c
index 4bdb049252..837a177368 100644
--- a/gtk/inspector/inspect-button.c
+++ b/gtk/inspector/inspect-button.c
@@ -256,7 +256,7 @@ gtk_inspector_window_select_widget_under_pointer (GtkInspectorWindow *iw)
GdkDevice *device;
GtkWidget *widget;
- display = gdk_display_get_default ();
+ display = gtk_inspector_window_get_inspected_display (iw);
device = gdk_seat_get_pointer (gdk_display_get_default_seat (display));
widget = find_widget_at_pointer (device);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]