mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-15 05:00:09 +00:00
1729da8a3e
Instead we just cache the monitor number and get out of it the nsscreen when it is needed. This is a requirement since it nsscreen it is not supposed to be cached. Fixes: https://gitlab.gnome.org/GNOME/gtk/issues/1312
42 lines
1.1 KiB
C
42 lines
1.1 KiB
C
/*
|
|
* Copyright © 2017 Tom Schoonjans
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Library 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
|
|
* Library General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Library General Public
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef __GDK_QUARTZ_MONITOR_PRIVATE_H__
|
|
#define __GDK_QUARTZ_MONITOR_PRIVATE_H__
|
|
|
|
#include <glib.h>
|
|
#include <gio/gio.h>
|
|
|
|
#include "gdkmonitorprivate.h"
|
|
|
|
#include "gdkquartzmonitor.h"
|
|
#include "gdkprivate-quartz.h"
|
|
|
|
struct _GdkQuartzMonitor
|
|
{
|
|
GdkMonitor parent;
|
|
|
|
gint monitor_num;
|
|
};
|
|
|
|
struct _GdkQuartzMonitorClass {
|
|
GdkMonitorClass parent_class;
|
|
};
|
|
|
|
#endif
|
|
|