mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
CtrlLib: Fixed issue with context menu immediately closing in Cinnamon
git-svn-id: svn://ultimatepp.org/upp/trunk@12780 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
74797d30b8
commit
a62336d102
1 changed files with 2 additions and 1 deletions
|
|
@ -596,7 +596,8 @@ void ChHostSkin()
|
|||
int m = ImageMargin(mimg, 4, 5);
|
||||
if(Qt)
|
||||
m = max(m, DPI(4));
|
||||
s.popupframe = WithHotSpot(mimg, m, m);
|
||||
if(m > 0) // Zero frame is causing problems with menu popups - immediate closes via RightUp
|
||||
s.popupframe = WithHotSpot(mimg, m, m);
|
||||
s.popupbody = Crop(mimg, m, m, 32 - 2 * m, 32 - 2 * m);
|
||||
s.leftgap = DPI(16) + Zx(6);;
|
||||
ChGtkNew(menu_item, "menuitem", GTK_BOX);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue