Contents of /trunk/tigervnc/patches/tigervnc-1.0.1-r3925-revert.patch
Parent Directory | Revision Log
Revision 1201 -
(show annotations)
(download)
Mon Nov 22 23:25:59 2010 UTC (13 years, 10 months ago) by niro
File size: 1111 byte(s)
Mon Nov 22 23:25:59 2010 UTC (13 years, 10 months ago) by niro
File size: 1111 byte(s)
-patches for 1.0.1 against xorg-server-1.7
1 | Index: unix/xserver/hw/vnc/XserverDesktop.cc |
2 | =================================================================== |
3 | --- unix/xserver/hw/vnc/XserverDesktop.cc (revision 3925) |
4 | +++ unix/xserver/hw/vnc/XserverDesktop.cc (revision 3924) |
5 | @@ -1104,14 +1104,6 @@ |
6 | unsigned int i, n; |
7 | int j, k; |
8 | |
9 | - /* |
10 | - * Since we are checking the current state to determine if we need |
11 | - * to fake modifiers, we must make sure that everything put on the |
12 | - * input queue is processed before we start. Otherwise, shift may be |
13 | - * stuck down. |
14 | - */ |
15 | - mieqProcessInputEvents(); |
16 | - |
17 | if (keysym == XK_Caps_Lock) { |
18 | vlog.debug("Ignoring caps lock"); |
19 | return; |
20 | @@ -1228,15 +1220,6 @@ |
21 | #endif |
22 | ); |
23 | } |
24 | - |
25 | - /* |
26 | - * When faking a modifier we are putting a keycode (which can |
27 | - * currently activate the desired modifier) on the input |
28 | - * queue. A future modmap change can change the mapping so |
29 | - * that this keycode means something else entirely. Guard |
30 | - * against this by processing the queue now. |
31 | - */ |
32 | - mieqProcessInputEvents(); |
33 | } |
34 | |
35 | static KeySym KeyCodetoKeySym(KeySymsPtr keymap, int keycode, int col) |