[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13998: 24.3.50; Tooltips got hidden by the dock on OSX
From: |
Jan Djärv |
Subject: |
bug#13998: 24.3.50; Tooltips got hidden by the dock on OSX |
Date: |
Sat, 30 Mar 2013 11:19:35 +0100 |
Thanks, this has been checked in in the trunk.
Jan D.
19 mar 2013 kl. 11:29 skrev Darren Hoo <darren.hoo@gmail.com>:
> This is just a minor nuisance.
>
> put mouse over the mode line, when the tooltip window
> pops up, it is hidden by the dock sometimes
>
> I think the tooltip window should be drawn at least at level
> NSPopUpMenuWindowLevel so it can be shown over the
> dock.
>
> diff --git a/src/nsmenu.m b/src/nsmenu.m
> index 22ff4dd..e026b49 100644
> --- a/src/nsmenu.m
> +++ b/src/nsmenu.m
> @@ -1300,6 +1300,7 @@ update_frame_tool_bar (FRAME_PTR f)
> wr.size = [textField frame].size;
>
> [win setFrame: wr display: YES];
> + [win setLevel: NSPopUpMenuWindowLevel];
> [win orderFront: self];
> [win display];
> timer = [NSTimer scheduledTimerWithTimeInterval: (float)seconds target: self
>
>