mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
output: Turn winsys_id into a uint64_t
We need a 64 bit field to combine the device id and connector id into the output id (winsys_id).
This commit is contained in:

committed by
Emilio Pozuelo Monfort

parent
4bc6a64d47
commit
5e005316ef
@ -232,7 +232,7 @@ struct _MetaWindow
|
||||
|
||||
double tile_hfraction;
|
||||
|
||||
int preferred_output_winsys_id;
|
||||
uint64_t preferred_output_winsys_id;
|
||||
|
||||
/* Whether we're shaded */
|
||||
guint shaded : 1;
|
||||
|
@ -3798,7 +3798,7 @@ meta_window_get_main_logical_monitor (MetaWindow *window)
|
||||
|
||||
static MetaLogicalMonitor *
|
||||
find_monitor_by_winsys_id (MetaWindow *window,
|
||||
guint winsys_id)
|
||||
uint64_t winsys_id)
|
||||
{
|
||||
MetaBackend *backend = meta_get_backend ();
|
||||
MetaMonitorManager *monitor_manager =
|
||||
@ -4052,7 +4052,7 @@ meta_window_move_resize_internal (MetaWindow *window,
|
||||
|
||||
if (window->monitor)
|
||||
{
|
||||
guint old_output_winsys_id;
|
||||
uint64_t old_output_winsys_id;
|
||||
|
||||
old_output_winsys_id = window->monitor->winsys_id;
|
||||
|
||||
|
Reference in New Issue
Block a user