Jay Sorg
14c59b0d93
can't grabkeyboard on focusin unless mouse is in window, can't grabkeyboard on enternotiy unless window is focused, cache them, other grabkeyboard fixes
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@256 423420c4-83ab-492f-b58f-81f9feb106b5
2002-11-11 23:15:27 +00:00
Matt Chapman
c96a91367d
Need to make absolutely sure rdesktop ungrabs the keyboard - do it on
...
LeaveNotify as well.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@252 423420c4-83ab-492f-b58f-81f9feb106b5
2002-11-05 11:09:26 +00:00
Matt Chapman
0b7d2ca0f1
Focus upon receiving EnterNotify in fullscreen mode (in lieu of window manager)
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@249 423420c4-83ab-492f-b58f-81f9feb106b5
2002-11-03 12:33:02 +00:00
Matt Chapman
9d8379fc3c
Show display name in "Failed to open display" message.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@209 423420c4-83ab-492f-b58f-81f9feb106b5
2002-10-04 14:25:37 +00:00
Matt Chapman
8b98bdc4ae
Arguments to get_key_state the wrong way around.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@208 423420c4-83ab-492f-b58f-81f9feb106b5
2002-10-02 13:51:16 +00:00
Matt Chapman
061f44532b
Need to wait for visibility before calling XSetInputFocus
...
(pointed out by Jay).
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@207 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-27 01:04:34 +00:00
Matt Chapman
b120a50f44
Update copyright dates on all files that have changed.
...
Bump version to 1.2-cvs.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@206 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-26 14:26:46 +00:00
Matt Chapman
171e83a2f8
Oops typo... should have tested it first :)
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@203 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-26 14:10:30 +00:00
Matt Chapman
b46de1c760
Optimise get_key_state by caching the modifier map and the state
...
(this can probably still be improved in the future).
Only call time(NULL) for the events where it's needed.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@202 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-26 14:04:30 +00:00
Matt Chapman
9365833f59
Fix for flashing title bar problem.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@200 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-25 14:33:36 +00:00
Peter Åstrand
c381a3bb9b
Indent fixes.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@195 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-25 11:07:12 +00:00
Matt Chapman
23afca950e
Move keyboard grabbing to FocusIn/FocusOut to fix "rdesktop gets screensaver
...
password" problem. Hopefully this won't bring back the phantom flashing
titlebar...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@193 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-24 12:25:21 +00:00
Matt Chapman
5514330916
foo function() -> foo function(void) to conform to ANSI C.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@191 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-24 07:59:14 +00:00
Matt Chapman
d2b051fb30
Make no translation messages DEBUG_KBD.
...
Clean up includes, fix a few compile warnings, avoid rdesktop.h depending
on X (at the expense of KeySym -> uint32 - maybe in the future we need a
better proto scheme).
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@189 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-24 07:33:17 +00:00
Matt Chapman
f418fe1a5c
Reinstate a cleaned-up version of the old xwin_toggle_fullscreen - I indeed
...
can't get it working reliably with all window managers without creating a
new window.
Move remaining non-window dependant code into ui_init/ui_deinit so that
xwin_toggle_fullscreen can do ui_destroy_window/ui_create_window.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@187 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-24 06:09:09 +00:00
Peter Kallden
ce93ec91a4
Owncolmap removed in favour of more intelligent color allocation.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@184 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-18 12:13:08 +00:00
Peter Åstrand
b9eeaf747d
Small line-break fix for DEBUG_KBD.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@181 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-17 16:55:43 +00:00
Peter Åstrand
8c203e862f
xwin_reset_keys -> reset_modifier_keys. Only when necessary
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@169 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-17 08:18:41 +00:00
Peter Åstrand
eaaec08277
Small indent fix.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@163 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-16 13:19:54 +00:00
Matt Chapman
9d4c3b2872
Now that we have ui_init move rounding of geometry there (it's X-specific).
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@159 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-15 12:42:26 +00:00
Matt Chapman
1bee46c41e
Possible fix for "flashing title bar" problem (don't grab in response
...
to FocusIn/FocusOut - seems to cause an event loop).
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@157 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-15 11:53:50 +00:00
Matt Chapman
c113538377
Fix rdesktop not resizing properly in xwin_toggle_fullscreen with
...
some window managers.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@156 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-15 11:39:16 +00:00
Matt Chapman
4eb19aceb1
Rewrite of toggle_fullscreen so it modifies the attributes of the existing
...
window instead of creating a new one.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@122 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-14 13:47:24 +00:00
Matt Chapman
6d5e7121b7
Move non-window-related initialisation to ui_init.
...
All functions after ui_init can now assume display and other globals are valid.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@120 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-14 11:48:44 +00:00
Peter Åstrand
65ec7634d9
Fixes Excel scroll-of-death problem: earlier select-loop failed to call xwin_process_events
...
when the queue was non-zero but the X11 socket was empty.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@118 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-12 09:38:31 +00:00
Peter Åstrand
7e7527302c
Support for Windows keys (via Ctrl-Esc)
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@117 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-11 11:45:20 +00:00
Peter Åstrand
2a495de6e8
Inhibited keys are defined in keymap files; not hardcoded
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@115 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-11 11:11:27 +00:00
Peter Åstrand
9d83ff00e5
Fixes NumLock problems; using RDP_INPUT_SYNCHRONIZE
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@114 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-11 09:52:30 +00:00
Matt Chapman
fd914b8cb8
Make sure width is a multiple of 4 (previous version in ui_create_window
...
was getting done too late, after connection).
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@102 423420c4-83ab-492f-b58f-81f9feb106b5
2002-08-29 14:18:24 +00:00
Peter Åstrand
32d5382f9d
Alt modifier for fullscreen toggle
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@101 423420c4-83ab-492f-b58f-81f9feb106b5
2002-08-26 17:14:04 +00:00
Peter Åstrand
f56b13e3ae
Indent fixes
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@100 423420c4-83ab-492f-b58f-81f9feb106b5
2002-08-26 17:12:43 +00:00
Jay Sorg
a7c00fc2e6
toggle full screen
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@99 423420c4-83ab-492f-b58f-81f9feb106b5
2002-08-24 20:04:56 +00:00
Jay Sorg
8d4995f623
focus out reset keys so some keys do not stick down
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@98 423420c4-83ab-492f-b58f-81f9feb106b5
2002-08-20 01:20:08 +00:00
Jay Sorg
d4c08f5a02
clear window upon startup so cached data is not viewed on screen from up19-7-5
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@86 423420c4-83ab-492f-b58f-81f9feb106b5
2002-08-03 22:28:05 +00:00
Peter Åstrand
6d144afb8c
Got rid of var-arg macros
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@83 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-30 07:30:12 +00:00
Peter Åstrand
4f8b0bc47a
Changed max line length to 100
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@81 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-30 07:18:48 +00:00
Jay Sorg
7a1b799c9d
added ui_init for pre connect inits like fullscreen
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@80 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-30 01:57:39 +00:00
Jay Sorg
ef024a66ae
patblt reset orgin from up19-7-4
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@79 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-30 00:56:48 +00:00
Peter Åstrand
e18946a585
Indentation fixes
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@76 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-29 20:17:10 +00:00
Peter Åstrand
f1e223725f
Applied patch from Bob Bell for -K option
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@75 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-29 20:16:22 +00:00
Peter Åstrand
6481d9b98c
Applied patch from Bob Bell ( #2 )
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@72 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-29 19:21:51 +00:00
Peter Åstrand
acb889329a
Applied patch from Bob Bell ( #1 ), which fixes compilation warning messages.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@71 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-29 18:59:01 +00:00
Peter Åstrand
5c181a1e5f
Add support for enabling/disabling local compose handling. Compose support is now disabled per default
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@69 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-27 23:09:32 +00:00
Peter Åstrand
df8c2e47ce
Added "localstate" support to keymapping: Send local modifier state. This fixes problems with Shift-Home etc
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@68 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-27 22:35:38 +00:00
Peter Åstrand
2dd151bd20
Merged new keysym-based keyboard handling (from alt. CVS repos)
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@65 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-18 18:28:12 +00:00
Peter Åstrand
0685b1b65c
Fixed indentation with indent
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@63 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-18 16:38:31 +00:00
Jay Sorg
ea416fdd13
upside down pattern in patblt
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@58 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-14 04:20:25 +00:00
Peter Kallden
9ddcb7504a
using XEvent instead of XkbEvent. better tracking of modifiers. ( TODO: 1. sync at start up, 2. fallback for missing or improperly configured xkb module. )
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@53 423420c4-83ab-492f-b58f-81f9feb106b5
2002-06-07 07:49:59 +00:00
Matt Chapman
09024cf458
Revert to old behaviour of connecting before creating the UI.
...
This is to stop the UI generating input before the connection is complete
(which causes connection failures). The one difficulty is that ui_select
is now called before ui_create_window, which may cause problems for other
UIs - we may still need to change this in the future.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@52 423420c4-83ab-492f-b58f-81f9feb106b5
2002-05-28 11:48:55 +00:00
Peter Kallden
7162923fbe
adds support for accessx, makes it possible for people with disabilities to use rdesktop. Relies on XKB. Sync problem with changed modifiers on focus in not fixed yet...
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@51 423420c4-83ab-492f-b58f-81f9feb106b5
2002-04-26 08:22:39 +00:00