aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/DesktopWindow.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Put the TigerVNC marker at the end instead of the beginning of the windowPierre Ossman2011-09-301-1/+1
| | | | | | | | title, making it easier to differentiate windows. At the same time remove the translation tags as there is nothing in there that should be translated. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4682 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure to include config.h in every compilation unit. Otherwise,Peter Åstrand2011-08-231-0/+4
| | | | | | | | | | the necessary defines will only be visible as a side effect of including other headers, leading to problems with things like translations, which will fail in various places. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4646 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Another fullscreen fix: avoid triggering fullscreen simply by settingPeter Åstrand2011-08-021-1/+9
| | | | | | | | the window size to the size of the screen. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4612 3789f03b-4d11-0410-bbf8-ca57d06f2519
* More fullscreen fixes: Do not try to change size in fullscreen modePeter Åstrand2011-08-011-5/+6
| | | | | | | | | even if viewport is same as window size. However, after exiting fullscreen mode, the window size needs to be updated. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4610 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Another fullscreen fix: When the framebuffer size changes, we must notPeter Åstrand2011-07-191-0/+3
| | | | | | | | call size_range with a limit, when running in fullscreen mode. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4600 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make fullscreen mode work better with some X11 WMs such as Fedora 14Peter Åstrand2011-07-181-4/+21
| | | | | | | | Metacity by removing the size limits before attempting fullscreen. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4599 3789f03b-4d11-0410-bbf8-ca57d06f2519
* XGrabKeyboard needs to use CurrentTime rather thanPeter Åstrand2011-07-181-1/+1
| | | | | | | | | fl_event_time. Otherwise, the second delayed grab attempt will often fail. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4598 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Create a proper header file for the exported functions from vncviewer.cxx.Pierre Ossman2011-07-121-2/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4579 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix build issues with Visual C++ (implemented macro version of snprintf + ↵DRC2011-06-241-3/+3
| | | | | | re-ordered headers to ensure that winsock is included ahead of windows.h) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4527 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implement a more robust method to handle the keyboard grab/focus voodoo asPierre Ossman2011-06-141-9/+43
| | | | | | | it didn't catch some cases on OS X. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4496 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add support for cursors to the new viewer.Pierre Ossman2011-06-081-8/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4472 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Handle framebuffer resize requests.Pierre Ossman2011-06-011-23/+84
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4460 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make it possible to start in full screen mode.Pierre Ossman2011-05-261-0/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4453 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Toggle full screen based on changes in the options window.Pierre Ossman2011-05-261-0/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4452 3789f03b-4d11-0410-bbf8-ca57d06f2519
* As we also fall through for FL_FOCUS, we need to do an extra check of thePierre Ossman2011-05-261-1/+2
| | | | | | | event code here. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4451 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Update the full screen setting when the state is toggled by other means.Pierre Ossman2011-05-261-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4450 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implement support for grabbing the keyboard when in full screen mode.Pierre Ossman2011-05-261-0/+144
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4449 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Workaround for when initial window size isn't what we requested.Pierre Ossman2011-04-151-0/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4376 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Limit window size to framebuffer size, which is the behaviour we have in thePierre Ossman2011-04-151-1/+1
| | | | | | | old viewer. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4375 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add a scroll widget so that we can allow resizing of the main window.Pierre Ossman2011-04-151-0/+45
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4374 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Split out the graphics and input handling to a separate widget in preparationPierre Ossman2011-04-151-420/+10
| | | | | | | for things like scroll bars. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4371 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Release all pressed keys when we lose focus. This is how we've always done itPierre Ossman2011-04-141-0/+9
| | | | | | | and it has been the most sane approach. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4369 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Use a STL map to track keys so we don't have to care what range FLTK key codesPierre Ossman2011-04-141-6/+12
| | | | | | | can have. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4368 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure AltGr gets sent over on X11.Pierre Ossman2011-04-141-0/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4367 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Since Ctrl and Cmd tends to mess with the symbol generation, we need to do somePierre Ossman2011-04-141-0/+78
| | | | | | | extra voodoo to get a good behaviour when any of those are pressed. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4366 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Handle dead keys more properly (through some fixing in FLTK).Pierre Ossman2011-04-111-2/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4365 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Off-by-one error. FL_F points to "F0", not F1.Pierre Ossman2011-03-101-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4357 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix up numpad keys.Pierre Ossman2011-03-101-0/+20
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4356 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Reorganise the translation to keysyms to make the code simpler. At the samePierre Ossman2011-03-101-115/+93
| | | | | | | time give special keys priority as some of them generate symbols as well. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4355 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Initial stab at keyboard support. Lots of corner case to work out though...Pierre Ossman2011-03-091-0/+160
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4349 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Unregister timeouts on object destruction so we don't get any crashes.Pierre Ossman2011-03-091-0/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4348 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Forgot to fully implement the handler for the delayed pointer events.Pierre Ossman2011-03-091-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4347 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Handle pointer events.Pierre Ossman2011-03-091-1/+65
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4346 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Initial commit of new FLTK based vncviewer. Most of the code comes from thePierre Ossman2011-03-091-0/+186
| | | | | | | current Unix vncviewer. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4345 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Migrating to new directory structure adopted from the RealVNC's source tree. ↵Constantin Kaplinsky2006-05-251-1103/+0
| | | | | | Windows part should be complete. For the Unix part, more changes will follow. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@592 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Small code improvements. Convert the coordinates fromgeorge822006-05-241-2/+4
| | | | | | | | scaled to source only if ScaledDibSectionBuffer in the scaled mode. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@580 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added the desktop image scaling support to vncviewer.george822006-05-231-13/+22
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@579 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed a problem with toolbar that could show up in the full-screen mode.Constantin Kaplinsky2006-05-201-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@570 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed a problem with not updating the system menu when it's opened by ↵Constantin Kaplinsky2006-05-171-7/+12
| | | | | | right-clicking the title bar. Otherwise, the "Show toolbar" option would not always show correct toolbar state. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@557 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Toolbar handling restored.Constantin Kaplinsky2006-05-171-2/+13
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@556 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Minor fix to "invalidate" desktop child window instead of the parent window.Constantin Kaplinsky2006-05-171-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@555 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed a bug with setting window size which has been introduced while ↵Constantin Kaplinsky2006-05-171-6/+6
| | | | | | merging. Also, there are minor code cleanups - getHandle() and getFrameHandle() methods are not used in the DesktopWindow class any more; now we use corresponding member variables directly, just like in VNC 4.1.1. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@554 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Win32 vncviewer merged with VNC 4.1.1 code. The merge is incomplete - the ↵Constantin Kaplinsky2006-05-161-0/+1076
code compiles but does not always work properly yet. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@552 3789f03b-4d11-0410-bbf8-ca57d06f2519