aboutsummaryrefslogtreecommitdiffstats
path: root/unix/x0vncserver/Geometry.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Move logging to core libraryPierre Ossman2025-02-251-4/+3
| | | | | | | Make it clearer what is protocol handling and what is just general plumbing. This is one step of several.
* Move configuration to core libraryPierre Ossman2025-02-251-1/+1
| | | | | | | Make it clearer what is protocol handling and what is just general plumbing. This is one step of several.
* Move basic data types to core libraryPierre Ossman2025-02-131-3/+3
| | | | | | | Make it clearer what is protocol handling and what is just general plumbing. This is one step of several.
* Use nullptr in all C++ codePierre Ossman2024-06-241-1/+1
| | | | | It's more readable than 0, and a bit safer than NULL, so let's try to follow modern norms.
* Use std::string instead of CharArrayPierre Ossman2023-02-041-0/+2
| | | | | Let's use a more common type instead of something homegrown. Should be more familiar to new developers.
* Use StringParameters directlyPierre Ossman2023-02-041-3/+1
| | | | | We don't need to make extra copies of the string in most cases, so let's simplify the code and access the string directly when we can.
* Be consistent in including config.hPierre Ossman2021-12-301-0/+4
| | | | | | The generally recommended way is to include it from source files, not headers. We had a mix of both. Let's try to be consistent and follow the recommended way.
* Add RandR support for x0vncserverPeter Åstrand (astrand)2018-04-091-3/+9
| | | | | | | | Change Xserver screen through libXrandr. For complex configurations, all outputs must have corresponding size modes. As a special case, if the client requests a single screen with an odd size (for example when adjusting the size of a non-fullscreen vncviewer), find a smaller suitable mode, and reduce the framebuffer size as well.
* Using namespace rfb in header files is a bad ideaPeter Åstrand (astrand)2017-11-071-0/+2
|
* Remove unused VideoArea parameterPierre Ossman2014-09-171-24/+0
|
* [Bugfix] Geometry::getVideoRect() should return coordinates relative to theConstantin Kaplinsky2008-09-021-4/+8
| | | | | | | | framebuffer shown to RFB clients. Previously, it returned absolute screen coordinates so that the origin of video area could be displaced. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2745 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added parsing for new VideoArea parameter. It does not have any effect yet.Constantin Kaplinsky2008-08-201-5/+34
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2686 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Geometry string parsing has been moved to a separate member function of theConstantin Kaplinsky2008-08-201-13/+25
| | | | | | | Geometry class. Also, a memory leak has been fixed. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2679 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Code improvements and better error checking in the Geometry class:Constantin Kaplinsky2008-06-041-12/+9
| | | | | | | | | | coordinates are now kept as a Rect, added new getRect() method. Also, when the "Geometry" parameter is present but not valid, the constructor will not set the geometry to full screen, zero-size rectangle will be used instead. In that case, x0vncserver will exit with error. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2573 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Migrating to new directory structure adopted from the RealVNC's source tree. ↵Constantin Kaplinsky2006-05-251-0/+71
More changes will follow. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@590 3789f03b-4d11-0410-bbf8-ca57d06f2519