summaryrefslogtreecommitdiff
path: root/plugins/clipboard
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/clipboard')
-rw-r--r--plugins/clipboard/msd-clipboard-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/clipboard/msd-clipboard-manager.c b/plugins/clipboard/msd-clipboard-manager.c
index 8f02be1..93b1858 100644
--- a/plugins/clipboard/msd-clipboard-manager.c
+++ b/plugins/clipboard/msd-clipboard-manager.c
@@ -825,11 +825,11 @@ clipboard_manager_watch_cb (MsdClipboardManager *manager,
GdkDisplay *display;
display = gdk_display_get_default ();
- gdkwin = gdk_window_lookup_for_display (display, window);
+ gdkwin = gdk_x11_window_lookup_for_display (display, window);
if (is_start) {
if (gdkwin == NULL) {
- gdkwin = gdk_window_foreign_new_for_display (display, window);
+ gdkwin = gdk_x11_window_foreign_new_for_display (display, window);
} else {
g_object_ref (gdkwin);
}