mirror of
https://github.com/zen-browser/desktop.git
synced 2026-08-19 21:21:32 +00:00
gh-14703: Allow top section of sites be draggable (gh-14816)
This commit is contained in:
@@ -57,6 +57,22 @@ let JSWINDOWACTORS = {
|
||||
remoteTypes: ["web", "file"],
|
||||
enablePreference: "zen.glance.enabled",
|
||||
},
|
||||
ZenWindowDrag: {
|
||||
parent: {
|
||||
esModuleURI: "resource:///actors/ZenWindowDragParent.sys.mjs",
|
||||
},
|
||||
child: {
|
||||
esModuleURI: "resource:///actors/ZenWindowDragChild.sys.mjs",
|
||||
events: {
|
||||
mousedown: {
|
||||
mozSystemGroup: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
messageManagerGroups: ["browsers"],
|
||||
remoteTypes: ["web", "file"],
|
||||
enablePreference: "zen.view.drag-window-from-content",
|
||||
},
|
||||
};
|
||||
|
||||
if (!Services.appinfo.inSafeMode) {
|
||||
|
||||
Reference in New Issue
Block a user