[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

@ -87,6 +87,15 @@ typedef struct {
int res;
} BroadwayInputGrabReply;
typedef struct {
BroadwayInputBaseMsg base;
int id;
int x;
int y;
int width;
int height;
} BroadwayInputConfigureNotify;
typedef union {
BroadwayInputBaseMsg base;
BroadwayInputPointerMsg pointer;
@ -95,6 +104,7 @@ typedef union {
BroadwayInputScrollMsg scroll;
BroadwayInputKeyMsg key;
BroadwayInputGrabReply grab_reply;
BroadwayInputConfigureNotify configure_notify;
} BroadwayInputMsg;
struct _GdkBroadwayDisplay