mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 15:31:14 +00:00
Merge pull request #37 from nongio/wayland-cursor-fix
wayland: use GSStandardWindowDecorationView to hit-test cursor clicks
This commit is contained in:
commit
d7cfebe169
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ pointer_handle_button(void *data, struct wl_pointer *pointer, uint32_t serial,
|
|||
NSWindow *nswindow = GSWindowWithNumber(window->window_id);
|
||||
if (nswindow != nil)
|
||||
{
|
||||
id<GSWindowDecorator> wd = [nswindow _windowView];
|
||||
GSStandardWindowDecorationView * wd = [nswindow _windowView];
|
||||
|
||||
if ([wd pointInTitleBarRect:eventLocation])
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue