Disable XDND when running as a wayland compositor
We can't do xdnd on wayland easily, so let's disable this for 3.10 https://bugzilla.gnome.org/show_bug.cgi?id=707467
This commit is contained in:
@ -35,6 +35,7 @@
|
||||
#include <gjs/gjs.h>
|
||||
#include <meta/display.h>
|
||||
#include <meta/meta-plugin.h>
|
||||
#include <meta/util.h>
|
||||
|
||||
#include "shell-global-private.h"
|
||||
#include "shell-perf-log.h"
|
||||
@ -343,8 +344,13 @@ gnome_shell_plugin_xevent_filter (MetaPlugin *plugin,
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_WAYLAND
|
||||
if (meta_is_wayland_compositor ())
|
||||
return FALSE;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Pass the event to shell-global
|
||||
* Pass the event to shell-global for XDND
|
||||
*/
|
||||
if (_shell_global_check_xdnd_event (shell_plugin->global, xev))
|
||||
return TRUE;
|
||||
|
Reference in New Issue
Block a user