Fixed remote window focus (mozbz#1434565)
This commit is contained in:
parent
86ba393fb9
commit
c8311c34d1
@ -98,7 +98,7 @@ ExclusiveArch: x86_64 i686
|
||||
Summary: Mozilla Firefox Web browser
|
||||
Name: firefox
|
||||
Version: 59.0
|
||||
Release: 0.5%{?pre_tag}%{?dist}
|
||||
Release: 0.6%{?pre_tag}%{?dist}
|
||||
URL: https://www.mozilla.org/firefox/
|
||||
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
||||
#Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
|
||||
@ -163,6 +163,7 @@ Patch452: mozilla-1434202.patch
|
||||
Patch453: mozilla-1433081.patch
|
||||
Patch454: remote-profile.patch
|
||||
Patch455: mozilla-1434572.patch
|
||||
Patch456: mozilla-1434565.patch
|
||||
|
||||
# Debian patches
|
||||
Patch500: mozilla-440908.patch
|
||||
@ -333,6 +334,7 @@ This package contains results of tests executed during build.
|
||||
%patch453 -p1 -b .1433081
|
||||
%patch454 -p1 -b .remote-profile
|
||||
%patch455 -p1 -b .1434572
|
||||
%patch456 -p1 -b .1434565
|
||||
|
||||
# Patch for big endian platforms only
|
||||
%if 0%{?big_endian}
|
||||
@ -866,6 +868,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
#---------------------------------------------------------------------
|
||||
|
||||
%changelog
|
||||
* Thu Feb 1 2018 Martin Stransky <stransky@redhat.com> - 59.0-0.6
|
||||
- Fixed remote window focus (mozbz#1434565).
|
||||
|
||||
* Thu Feb 1 2018 Martin Stransky <stransky@redhat.com> - 59.0-0.5
|
||||
- Fixed clipboard copy->paste between Firefox windows
|
||||
(mozbz#1434572).
|
||||
|
16
mozilla-1434565.patch
Normal file
16
mozilla-1434565.patch
Normal file
@ -0,0 +1,16 @@
|
||||
diff -up mozilla-beta-64737c752ac4af4766ad6f82720818521f3aca24/toolkit/components/remote/nsDBusRemoteService.cpp.1434565 mozilla-beta-64737c752ac4af4766ad6f82720818521f3aca24/toolkit/components/remote/nsDBusRemoteService.cpp
|
||||
--- mozilla-beta-64737c752ac4af4766ad6f82720818521f3aca24/toolkit/components/remote/nsDBusRemoteService.cpp.1434565 2018-02-01 14:14:38.902873024 +0100
|
||||
+++ mozilla-beta-64737c752ac4af4766ad6f82720818521f3aca24/toolkit/components/remote/nsDBusRemoteService.cpp 2018-02-01 14:18:02.906281711 +0100
|
||||
@@ -89,7 +89,11 @@ nsDBusRemoteService::OpenURL(DBusMessage
|
||||
errorMsg = nsPrintfCString("org.mozilla.%s.Error", mAppName.get());
|
||||
reply = dbus_message_new_error(msg, errorMsg.get(), "Wrong argument");
|
||||
} else {
|
||||
- nsRemoteService::HandleCommandLine(commandLine, nullptr, 0);
|
||||
+ guint32 timestamp = gtk_get_current_event_time();
|
||||
+ if (timestamp == GDK_CURRENT_TIME) {
|
||||
+ timestamp = guint32(g_get_monotonic_time() / 1000);
|
||||
+ }
|
||||
+ nsRemoteService::HandleCommandLine(commandLine, nullptr, timestamp);
|
||||
reply = dbus_message_new_method_return(msg);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user