diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-09-07 14:04:10 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-10-13 11:26:09 +1000 |
commit | 8bebb4b4896d8b6ba3309b5b28fce883bb9f8a96 (patch) | |
tree | cb2419bbda70f25479db2e1e58f65779a602270c /dix/dispatch.c | |
parent | 9cbfa4739a51e4cc6b8094833928bf8678f63876 (diff) |
Store desktop dimensions in screenInfo.
For Zaphod mode screen crossing handling we need to know the size of all
screens together (i.e. the whole desktop size). Store that in the screenInfo to
have it readily available in events.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'dix/dispatch.c')
-rw-r--r-- | dix/dispatch.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dix/dispatch.c b/dix/dispatch.c index 43cb4d1d3..4a4481ab3 100644 --- a/dix/dispatch.c +++ b/dix/dispatch.c @@ -3898,6 +3898,8 @@ AddScreen( return -1; } + update_desktop_dimensions(); + dixRegisterScreenPrivateKey(&cursorScreenDevPriv, pScreen, PRIVATE_CURSOR, 0); return i; |