[broadway] Add configure event for browser-side geometry changes

Atm this only works for the useToplevelWindows case, but we can add
a browser wm to make use of it inside the browser too.
This commit is contained in:
Alexander Larsson
2011-04-06 16:39:07 +02:00
parent 1365e93fad
commit adc05ae6b7
6 changed files with 166 additions and 24 deletions

View File

@ -248,6 +248,19 @@ parse_input_message (BroadwayInput *input, const char *message)
msg.grab_reply.res = strtol(p, &p, 10);
break;
case 'w':
msg.configure_notify.id = strtol(p, &p, 10);
p++; /* Skip , */
msg.configure_notify.x = strtol (p, &p, 10);
p++; /* Skip , */
msg.configure_notify.y = strtol (p, &p, 10);
p++; /* Skip , */
msg.configure_notify.width = strtol (p, &p, 10);
p++; /* Skip , */
msg.configure_notify.height = strtol (p, &p, 10);
p++; /* Skip , */
break;
default:
g_printerr ("Unknown input command %s\n", message);
break;