Martin Gräßlin
d28f95f603
[server] Better split flushing events and dispatch events
...
Running real world applications (Xwayland) showed that it doesn't like
at all that we do a dispatch when we are going to flush. This caused
in a very reliable manner a "Connection closed" error in XWayland, taking
down the client and in return the (xwayland-enabled) server.
2015-04-21 08:56:19 +02:00
Martin Gräßlin
5dcb3589b3
Exclude some krazy checks which do not make sense for KWayland
...
This software is not portable. We don't need krazy checks telling us
that we should use Qt's portable types.
2014-12-12 08:43:16 +01:00
Martin Gräßlin
6504e067bc
KeyboardInterface inherits Resource
2014-11-26 15:28:47 +01:00
Martin Gräßlin
99598167d7
Refactor KeyboardInterface
...
The KeyboardInterface gets created per wl_resource. For this all
more global information (e.g. key states) is moved into the
SeatInterface.
2014-11-26 15:00:44 +01:00
Martin Gräßlin
d7a9be72ea
Get event timestamp from SeatInterface in KeyboardInterface
2014-11-26 13:04:36 +01:00
Martin Gräßlin
8f9a9fedb1
[server] Drop Display* from PointerInterface and KeyboardInterface
...
We can get it through the Global passed to PointerInterface and
KeyboardInterface. No need to pass it further around.
2014-11-25 13:58:25 +01:00
Martin Gräßlin
80d0fb1e94
[server] Move KeyboardInterface into dedicated .h and .cpp
2014-11-25 13:39:24 +01:00