mirror of
https://github.com/gnustep/libs-back.git
synced 2025-03-11 03:00:56 +00:00
wayland: use GSStandardWindowDecorationView to hit-test cursor clicks
This commit is contained in:
parent
9c7c878717
commit
977b375feb
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