[broadway] Keep track of current real cursor window (sans grabs)

We need this to be able to do a non-roundtripping get-window.
This commit is contained in:
Alexander Larsson
2011-04-05 10:03:14 +02:00
parent ee1657d88e
commit e113cf26fb
4 changed files with 31 additions and 17 deletions

View File

@ -168,7 +168,9 @@ process_input_messages (GdkBroadwayDisplay *broadway_display)
static char *
parse_pointer_data (char *p, BroadwayInputPointerMsg *data)
{
data->id = strtol (p, &p, 10);
data->mouse_window_id = strtol (p, &p, 10);
p++; /* Skip , */
data->event_window_id = strtol (p, &p, 10);
p++; /* Skip , */
data->root_x = strtol (p, &p, 10);
p++; /* Skip , */