mutter/src/backends/meta-stage-view-private.h
Jonas Ådahl f4b76727db stage-view: Add API to inhibit cursor overlay painting
This adds some plumbing to get the "default" paint flags for regular
stage painting, where one either wants to paint the overlay, or not.

If inhibited, the 'no-cursors' paint flag is used, otherwise the 'none'
flag. This will be used to allow having a per stage view hw cursor
state.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2777>
2023-07-17 23:42:38 +02:00

46 lines
1.3 KiB
C

/*
* Copyright (C) 2007,2008,2009,2010,2011 Intel Corporation.
* Copyright (C) 2021 Red Hat
*
* 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, see <http://www.gnu.org/licenses/>.
*
* Written by:
* Matthew Allum
* Robert Bragg
* Neil Roberts
* Emmanuele Bassi
*
*/
#ifndef META_STAGE_VIEW_PRIVATE_H
#define META_STAGE_VIEW_PRIVATE_H
#include <cairo.h>
#include "backends/meta-stage-view.h"
G_BEGIN_DECLS
struct _MetaStageViewClass
{
ClutterStageViewClass parent_class;
};
ClutterDamageHistory * meta_stage_view_get_damage_history (MetaStageView *view);
void meta_stage_view_perform_fake_swap (MetaStageView *view,
int64_t counter);
#endif /* META_STAGE_VIEW_PRIVATE_H */