Revert "window: Make meta_window_has_pointer() per protocol implemented"

Windows from Xwayland still needs to use the Wayland path, but is
represented an MetaWindowX11, thus the abstraction introduced in
"window: Make meta_window_has_pointer() per protocol implemented"
is wrong. Lets turn back time, and reconsider how this can be
abstracted more correctly in the future.

This reverts commit 9fb891d216.
This commit is contained in:
Jonas Ådahl
2016-08-26 06:51:19 +08:00
parent b6e13c459a
commit 8942e98e1d
4 changed files with 43 additions and 43 deletions

View File

@@ -527,7 +527,6 @@ struct _MetaWindowClass
void (*update_main_monitor) (MetaWindow *window);
void (*main_monitor_changed) (MetaWindow *window,
const MetaMonitorInfo *old);
gboolean (*has_pointer) (MetaWindow *window);
};
/* These differ from window->has_foo_func in that they consider