mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 14:31:10 +00:00
0ca4891ee0
2008-01-31 Richard Hult <richard@imendio.com> * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus issues with undecorated windows. Revert the change done on 2008-01-25 and fix it by using the view's bounds instead. The bounds will always be up to date when setting up the tracking rect, so this should be more robust. svn path=/trunk/; revision=19445
33 lines
1021 B
Objective-C
33 lines
1021 B
Objective-C
/* GdkQuartzView.h
|
|
*
|
|
* Copyright (C) 2005 Imendio AB
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
* Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#import <AppKit/AppKit.h>
|
|
#include "gdkwindow.h"
|
|
|
|
@interface GdkQuartzView : NSView {
|
|
GdkWindow *gdk_window;
|
|
NSTrackingRectTag trackingRect;
|
|
}
|
|
|
|
-(void)setGdkWindow:(GdkWindow *)window;
|
|
-(GdkWindow *)gdkWindow;
|
|
|
|
@end
|