Skip to content

Commit

Permalink
open window menu: make event rectangle bigger to avoid menu hidding
Browse files Browse the repository at this point in the history
fix #236
  • Loading branch information
jonian committed Apr 16, 2021
1 parent eb0024a commit 6dc1a0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion [email protected]/panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ var TitlebarActions = class TitlebarActions extends PanelExtension {

_openWindowMenu(win, x) {
const size = Main.panel.height + 4
const rect = { x, y: 0, width: size, height: size }
const rect = { x: x - size, y: 0, width: size * 2, height: size }
const type = Meta.WindowMenuType.WM

Main.wm._windowMenuManager.showWindowMenuForWindow(win, type, rect)
Expand Down

0 comments on commit 6dc1a0d

Please sign in to comment.