get work area from the primary display
This commit is contained in:
committed by
Marcin Jakubowski
parent
502be7592d
commit
b5a6fe2bc2
+1
-1
@@ -41,7 +41,7 @@ function patcher(obj, live, method, original, patch) {
|
||||
eval(`${live}.${method} = ${newBody}`);
|
||||
}
|
||||
|
||||
const getMessageTraySize = () => ({ width, height } = Main.layoutManager.getWorkAreaForMonitor(global.display.get_current_monitor()));
|
||||
const getMessageTraySize = () => ({ width, height } = Main.layoutManager.getWorkAreaForMonitor(global.display.get_primary_monitor()));
|
||||
|
||||
const originalShow = MessageTray.prototype._showNotification;
|
||||
const originalHide = MessageTray.prototype._hideNotification;
|
||||
|
||||
Reference in New Issue
Block a user