vnc.c (3e7f136d8b4383d99f1b034a045b73f9b12a4eae) | vnc.c (12e29b1682e0a50ed57c324152addb585ae5ce69) |
---|---|
1/* 2 * QEMU VNC display driver 3 * 4 * Copyright (C) 2006 Anthony Liguori <anthony@codemonkey.ws> 5 * Copyright (C) 2006 Fabrice Bellard 6 * Copyright (C) 2009 Red Hat, Inc 7 * 8 * Permission is hereby granted, free of charge, to any person obtaining a copy --- 3136 unchanged lines hidden (view full) --- 3145 vs->kbd_layout = init_keyboard_layout(name2keysym, keyboard_layout); 3146 } else { 3147 vs->kbd_layout = init_keyboard_layout(name2keysym, "en-us"); 3148 } 3149 3150 if (!vs->kbd_layout) 3151 exit(1); 3152 | 1/* 2 * QEMU VNC display driver 3 * 4 * Copyright (C) 2006 Anthony Liguori <anthony@codemonkey.ws> 5 * Copyright (C) 2006 Fabrice Bellard 6 * Copyright (C) 2009 Red Hat, Inc 7 * 8 * Permission is hereby granted, free of charge, to any person obtaining a copy --- 3136 unchanged lines hidden (view full) --- 3145 vs->kbd_layout = init_keyboard_layout(name2keysym, keyboard_layout); 3146 } else { 3147 vs->kbd_layout = init_keyboard_layout(name2keysym, "en-us"); 3148 } 3149 3150 if (!vs->kbd_layout) 3151 exit(1); 3152 |
3153 vs->share_policy = VNC_SHARE_POLICY_ALLOW_EXCLUSIVE; 3154 vs->connections_limit = 32; 3155 |
|
3153 qemu_mutex_init(&vs->mutex); 3154 vnc_start_worker_thread(); 3155 3156 vs->dcl.ops = &dcl_ops; 3157 register_displaychangelistener(&vs->dcl); 3158} 3159 3160 --- 772 unchanged lines hidden --- | 3156 qemu_mutex_init(&vs->mutex); 3157 vnc_start_worker_thread(); 3158 3159 vs->dcl.ops = &dcl_ops; 3160 register_displaychangelistener(&vs->dcl); 3161} 3162 3163 --- 772 unchanged lines hidden --- |