mutter/src/core/meta-private-enums.h
Jonas Ådahl 169dd2fb7a window: Move some display level window processing to MetaDisplay
meta_window_(un)queue() was implemented with global arrays in window.c
that managed MetaLater handle IDs and lists of window queues. In order
to rely less on scattered static variables and making it clearer that
we're dealing with per display window management and not something
specific to a single window, move the window resize/calc-showing queue
management to MetaDisplay.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2264>
2022-02-07 17:52:05 +00:00

38 lines
1.1 KiB
C

/*
* Copyright (C) 2019-2021 Red Hat Inc.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* This program 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
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*
*/
#ifndef META_PRIVATE_ENUMS_H
#define META_PRIVATE_ENUMS_H
typedef enum _MetaX11DisplayPolicy
{
META_X11_DISPLAY_POLICY_MANDATORY,
META_X11_DISPLAY_POLICY_ON_DEMAND,
META_X11_DISPLAY_POLICY_DISABLED,
} MetaX11DisplayPolicy;
typedef enum
{
META_QUEUE_CALC_SHOWING = 1 << 0,
META_QUEUE_MOVE_RESIZE = 1 << 1,
} MetaQueueType;
#endif /* META_PRIVATE_ENUMS_H */