2009-10-24 09:48:39 +00:00
|
|
|
/* gdkscreen-quartz.h
|
|
|
|
*
|
2010-12-23 11:59:26 +00:00
|
|
|
* Copyright (C) 2009,2010 Kristian Rietveld <kris@gtk.org>
|
2009-10-24 09:48:39 +00:00
|
|
|
*
|
|
|
|
* 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
|
2012-02-27 13:01:10 +00:00
|
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
2009-10-24 09:48:39 +00:00
|
|
|
*/
|
|
|
|
|
2010-12-23 11:59:26 +00:00
|
|
|
#ifndef __GDK_QUARTZ_SCREEN__
|
|
|
|
#define __GDK_QUARTZ_SCREEN__
|
2009-10-24 09:48:39 +00:00
|
|
|
|
2010-12-23 11:59:26 +00:00
|
|
|
#include <gdkscreenprivate.h>
|
2009-10-24 09:48:39 +00:00
|
|
|
|
2010-12-23 11:59:26 +00:00
|
|
|
G_BEGIN_DECLS
|
2009-10-24 09:48:39 +00:00
|
|
|
|
2010-12-22 13:34:15 +00:00
|
|
|
struct _GdkQuartzScreen
|
2009-10-24 09:48:39 +00:00
|
|
|
{
|
|
|
|
GdkScreen parent_instance;
|
|
|
|
|
|
|
|
GdkDisplay *display;
|
|
|
|
|
2019-02-23 22:35:42 +00:00
|
|
|
/* Origin of "root window" in AppKit coordinates */
|
|
|
|
gint orig_x;
|
|
|
|
gint orig_y;
|
2009-10-25 20:36:56 +00:00
|
|
|
|
2009-10-24 09:48:39 +00:00
|
|
|
gint width;
|
|
|
|
gint height;
|
2018-11-21 12:32:41 +00:00
|
|
|
gint mm_width;
|
|
|
|
gint mm_height;
|
2009-10-24 09:48:39 +00:00
|
|
|
|
|
|
|
guint screen_changed_id;
|
2009-10-24 10:25:29 +00:00
|
|
|
|
|
|
|
guint emit_monitors_changed : 1;
|
2009-10-24 09:48:39 +00:00
|
|
|
};
|
|
|
|
|
2010-12-22 13:34:15 +00:00
|
|
|
struct _GdkQuartzScreenClass
|
2009-10-24 09:48:39 +00:00
|
|
|
{
|
|
|
|
GdkScreenClass parent_class;
|
|
|
|
};
|
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
|
2010-12-23 11:59:26 +00:00
|
|
|
#endif /* __GDK_QUARTZ_SCREEN__ */
|