Bug 506254 plugin_client_message_filter never used Display *dpy

r=roc
This commit is contained in:
timeless@mozdev.org 2009-08-12 11:49:54 +02:00
Родитель 66a18b2d29
Коммит 9317eab812
1 изменённых файлов: 0 добавлений и 3 удалений

Просмотреть файл

@ -5624,9 +5624,6 @@ plugin_client_message_filter(GdkXEvent *gdk_xevent,
// to set the focus to the focus proxy. To prevent this happen // to set the focus to the focus proxy. To prevent this happen
// while the focus is on the plugin, we filter the WM_TAKE_FOCUS // while the focus is on the plugin, we filter the WM_TAKE_FOCUS
// out. // out.
Display *dpy ;
dpy = GDK_WINDOW_XDISPLAY((GdkWindow*)(gPluginFocusWindow->
GetNativeData(NS_NATIVE_WINDOW)));
if (gdk_x11_get_xatom_by_name("WM_PROTOCOLS") if (gdk_x11_get_xatom_by_name("WM_PROTOCOLS")
!= xevent->xclient.message_type) { != xevent->xclient.message_type) {
return return_val; return return_val;