Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » [contribution request] Linux multimonitor XRANDR support
[contribution request] Linux multimonitor XRANDR support [message #37411] Mon, 01 October 2012 20:53
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
While U++ seems to work with multiple monitors quite OK at least for my configuration, it would be nice to have a little bit better support.

Ctrl has a couple of static methods dealing with multiple monitors:

static Rect GetVirtualWorkArea();
static Rect GetVirtualScreenArea();
static Rect GetPrimaryWorkArea();
static Rect GetPrimaryScreenArea();
static void GetWorkArea(Array<Rect>& rc);
static Rect GetWorkArea(Point pt);

which are properly implemented for Win32, but X11 implementation is just a simple stub which uses simple screen size as single monitor.

It would be nice to have proper implementation of these. I might do it in time, but as this is quite isolated issue, contribution would be appreciated.

To my knowledge, this will need some queries to XRANDR and some _NET_WM_STRUT_PARTIAL handling. Useful piece of code can be here:

http://qt.gitorious.org/qt/qt/merge_requests/2632

Mirek

[Updated on: Mon, 01 October 2012 20:53]

Report message to a moderator

Previous Topic: U++ GUI over existing code
Next Topic: Exception handling in Http::Dispatch
Goto Forum:
  


Current Time: Fri Mar 29 13:00:39 CET 2024

Total time taken to generate the page: 0.01416 seconds