xserver/hw
Jason Ekstrand a054532668 xwayland: Fix backwards need_rotate logic (v2)
When xdg_output support was added to Xwayland, need_rotate parameter was
added to output_get_new_size where true gave you the old pre-xdg_output
behavior and false gave the new behavior.  Unfortunately, the two places
where this is called, need_rotate was set backwards.  This caused input
get clampped to the wrong dimensions.  Also, the logic for deciding
whether or not to flip was wrong because, if need_rotate was false, it
would always flip which is not what you want.

v2 (Daniel Stone):
 - Fix output_get_new_size so that it doesn't flip the dimensions when
   need_rotate is false.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>
2018-02-20 13:17:08 -05:00
..
dmx dmx: warning fix 2018-02-14 17:21:43 -05:00
kdrive Xephyr: Avoid calling xcb_shm_detach() twice 2018-02-20 11:05:59 -05:00
vfb miinitext: Load GLX on the mi path 2018-02-14 17:04:48 -05:00
xfree86 dga: #if XFreeXDGA → #ifdef XFreeXDGA 2018-02-19 13:14:43 -05:00
xnest miinitext: Load GLX on the mi path 2018-02-14 17:04:48 -05:00
xquartz miinitext: Load GLX on the mi path 2018-02-14 17:04:48 -05:00
xwayland xwayland: Fix backwards need_rotate logic (v2) 2018-02-20 13:17:08 -05:00
xwin hw/xwin: Update for glxvnd 2018-02-19 12:44:04 -05:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00
meson.build meson: Move Xvfb build under an option. 2017-09-20 13:19:21 -04:00