Commit Graph

55 Commits

Author SHA1 Message Date
Zhiyi Zhang efbbe66669 winex11.drv: Initialize display devices before getting primary desktop rectangle.
Otherwise, the retrieved primary desktop might be from the last explorer instance
if we launch new explorer instances before wine server fully shuts down.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-23 19:44:18 +02:00
Zhiyi Zhang 074abfe097 winex11.drv: Use generic EnumDisplayMonitors.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-25 13:22:17 +02:00
Zhiyi Zhang 7f57cda707 winex11.drv: Handle display device changes.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-13 08:21:00 +02:00
Alexandre Julliard 9f8049105d explorer: Move the check for the magic root desktop to the X11 driver.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-31 16:43:18 +01:00
Michael Stefaniuc 3e9ce1c26f winex11.drv: Avoid ARRAY_SIZE-like macros.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-09 10:49:14 +02:00
Miklós Máté cd4139df3c winex11: Improve the desktop resolution list.
Signed-off-by: Miklós Máté <mtmkls@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-26 06:30:28 +02:00
Jarkko Korpi be139063e4 winex11.drv: Add 640x400 mode to virtual desktop.
Signed-off-by: Jarkko Korpi <jarkko_korpi@hotmail.com>=
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-17 21:48:19 +01:00
Michael Müller b49601b5ce winex11: Add 320x240 as supported resolution in desktop mode.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-07 15:04:03 +09:00
Miklós Máté c0219a7384 winex11: Add 1280x960 resolution.
This enables high resolution setting in Anachronox, when Wine is configured
to emulate a virtual desktop. The game only supports 640x480 and 1280x960.

Signed-off-by: Miklós Máté <mtmkls@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 22:45:09 +09:00
Henri Verbeet 60a7cb6633 winex11: Get rid of the unused "old_screen_rect" field from struct desktop_resize_data.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-20 12:08:06 +09:00
Frédéric Delanoy 323bec99b3 winex11.drv: Use BOOL type where appropriate. 2013-11-29 13:32:46 +01:00
Alexandre Julliard 13149b67d3 explorer: Create the driver desktop window after the window handle is created. 2013-10-16 12:13:50 +02:00
Alexandre Julliard 0f03f264b7 winex11: Add a helper function to return the primary monitor rectangle. 2013-10-14 17:26:14 +02:00
Alexandre Julliard 9f1f29cc91 winex11: Add a helper function to return the virtual screen rectangle. 2013-10-14 17:26:14 +02:00
Alexandre Julliard 0b71e0bf12 winex11: Add helper functions for converting between root and virtual screen coords. 2013-10-14 17:26:13 +02:00
Alexandre Julliard a73c5d5c81 explorer: Return a simple boolean instead of a window in the wine_create_desktop entry point. 2013-02-06 12:50:04 +01:00
Alexandre Julliard 8dcbeff760 winex11: Add support for per-window visuals. 2012-10-02 14:08:37 +02:00
Alexandre Julliard 988f2fde86 winex11: Store the full visual info for the default visual. 2012-09-26 14:40:39 +02:00
Alexandre Julliard 313157a036 winex11: Add window data structure locking to the remaining entry points. 2012-09-24 22:27:27 +02:00
Alexandre Julliard ba926faf91 winex11: Store the window display connection in the window structure. 2012-09-21 16:29:24 +02:00
Alexandre Julliard cf1be58706 winex11: Remove the remaining X11 locking calls. 2012-08-16 16:48:00 +02:00
Alexandre Julliard 6bfcb347bf winex11: Remove X11 locking around simple X calls. 2012-08-14 15:13:08 +02:00
Henri Verbeet 292869b969 winex11: Explicitly clear virtual desktop maximized state. 2012-08-13 16:28:50 +02:00
Henri Verbeet 13820b6f94 winex11: Don't set MWM decorations either for fullscreen virtual desktops. 2012-08-13 16:28:50 +02:00
Henri Verbeet 401d12085b winex11: Fix the virtual desktop check in update_desktop_fullscreen(). 2012-07-13 10:31:52 -05:00
Henri Verbeet 3ea8de2637 winex11: Use our own structure for mode information. 2012-07-03 14:57:07 +02:00
Alexandre Julliard b081ee452d winex11: Only update the fullscreen pointer grab when something has changed. 2011-05-12 16:24:58 +02:00
Alexandre Julliard a59c7cc859 winex11: Automatically clip the pointer when the foreground window is full-screen. 2011-05-11 14:55:57 +02:00
Alexandre Julliard a28722f531 winex11: Reset the clipping when the desktop window loses focus. 2011-05-11 12:07:37 +02:00
Alexandre Julliard f1f223d001 winex11: Release the clip cursor grab when the clipping window loses focus. 2011-04-25 10:49:59 +02:00
Alexandre Julliard ae2b356361 winex11: Implement cursor clipping using a pointer grab. 2011-04-05 13:36:57 +02:00
Alexandre Julliard f4be166234 winex11: Select for EnterNotify events on the desktop window in order to update the cursor. 2010-05-10 12:34:17 +02:00
Dmitry Timoshkov 2fdbeefc96 winex11.drv: Avoid a crash if not in a desktop mode. 2009-05-28 12:42:18 +02:00
Vincent Povirk 5c41156ab0 winex11: Set the fullscreen state of virtual desktops based on size. 2009-05-27 11:10:34 +02:00
Maarten Lankhorst d6bc9fc9f3 winex11.drv/explorer: Add CDECL to exported functions. 2008-12-17 15:02:25 +01:00
Andrew Talbot dd8e833db2 winex11.drv: Sign-compare warnings fix. 2008-12-05 12:03:27 +01:00
Alexandre Julliard e7044cb8f8 winex11: Explicitly request creation of the thread display where necessary. 2008-06-26 16:47:42 +02:00
Alexandre Julliard 39f2a08277 winex11: Moved the X11DRV_resize_desktop function to desktop.c. 2008-04-23 15:22:17 +02:00
Alexandre Julliard 7af2a9a902 winex11: Avoid depending on win.h. 2008-02-29 13:44:55 +01:00
Alexandre Julliard 8913182b89 winex11: Check for need to make window managed when WS_VISIBLE is set outside of SetWindowPos. 2008-01-24 10:21:07 +01:00
Alexandre Julliard c5a95025cf winex11.drv: Moved initialization of screen_width/height to xinerama_init to do it inside the x11 lock. 2008-01-17 19:59:22 +01:00
Alexandre Julliard c19af910eb winex11.drv: Don't create a win_data structure for the desktop window, except in the process that owns it.
Handle desktop size changes by sending a message to the desktop owner.
2008-01-17 19:53:59 +01:00
Austin English 0e4adae973 Spelling fixes. 2008-01-07 13:41:01 +01:00
Rob Shearman 486326ed48 include: Add more types and function declarations to the rpcasync.h header file.
Fix up a couple of conflicts with the Status field in the
RPC_EXTENDED_ERROR_INFO and the X Status define.
2007-12-18 12:32:55 +01:00
Stefan Dösinger 5461d505d7 winex11: Activate the depth-bpp difference. 2007-12-17 12:25:50 +01:00
Stefan Dösinger ccab10bd46 winex11: Distinguish between bpp and depth. 2007-12-17 12:24:51 +01:00
Dmitry Timoshkov a7dba33cf3 winex11.drv: Use registry settings as a default display mode. 2007-12-05 12:21:32 +01:00
Steven Edwards 13f9b0a642 x11drv: Remove some no longer needed wine 16bit headers. 2007-08-29 12:31:28 +02:00
Jan Zerebecki fbaf31c50f winex11.drv: Change virtual desktop refresh rate from 0 to 60. 2007-03-01 11:39:09 +01:00
Stefan Dösinger 8b70b91cba winex11.drv: Ignore depth mismatch when using a virtual desktop. 2007-02-27 12:19:27 +01:00