upd
This commit is contained in:
parent
c985e20c4a
commit
93fb711590
2 changed files with 3 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ export default class ActivateGnomeExtension extends Extension {
|
|||
|
||||
update() {
|
||||
this.cleanup()
|
||||
for (let monitor of Main.layoutManager.monitors) {
|
||||
for (let monitor of [Main.layoutManager.primaryMonitor]) {
|
||||
let crosshair = new St.Widget({style_class: 'crosshair'})
|
||||
let params = {"trackFullscreen": false, "affectsStruts": false}
|
||||
Main.layoutManager.addTopChrome(crosshair, params)
|
||||
|
|
|
|||
|
|
@ -8,7 +8,8 @@
|
|||
"47",
|
||||
"48",
|
||||
"49",
|
||||
"50"
|
||||
"50",
|
||||
"51"
|
||||
],
|
||||
"version": 1,
|
||||
"url": "https://git.jerryxiao.cc/Jerry/gnome-shell-extension-crosshair"
|
||||
|
|
|
|||
Loading…
Reference in a new issue