diff options
author | marex <marex@beryl-project.org> | 2007-02-19 22:47:50 +0100 |
---|---|---|
committer | marex <marex@beryl-project.org> | 2007-02-19 22:47:50 +0100 |
commit | a2ea6ddb4d24a12ecdbf94fe586d1e7c54f179ed (patch) | |
tree | b858842c1b4d7837c8f73711fdc5b13103280e29 | |
parent | e591563904e1f6c2955163cca7dde1ef8f482c2c (diff) | |
parent | 8b5e6a3bb74e9f9fe0941e83ef7628294244c8b9 (diff) | |
download | marex-dev-a2ea6ddb4d24a12ecdbf94fe586d1e7c54f179ed.tar.gz marex-dev-a2ea6ddb4d24a12ecdbf94fe586d1e7c54f179ed.tar.bz2 |
Merge git+ssh://marex@git.beryl-project.org/git/beryl/
1232 files changed, 582847 insertions, 0 deletions
diff --git a/Documentation/00-INDEX b/Documentation/00-INDEX new file mode 100644 index 0000000..8d202f9 --- /dev/null +++ b/Documentation/00-INDEX @@ -0,0 +1,24 @@ +Overview of Beryl documentation files +===================================== +00-INDEX + This file +CoreStructures + Gives an introduction to the most important structures of Beryl. +HACKING + Pointers on how to hack on Beryl. +HACKING_ES + HACKING translated to spanish. +Multihead + A rough explanation of how Beryl deals with multihead in different ways. +PaintLocking + Describes how beryl locks opacity, brightness and saturation for + windows. +TODO-Multiscreen + Outstanding and fixed issues with multiscreen. Likely to be removed + when multiscreen is considered ready for production. +TODOLIST + Traditional todo list. +Core-CacheAnnotate + Valgrind cache annotation of core. Might be a bit out of date. +callgraph.png + Call graph of Beryl. diff --git a/Documentation/Core-CacheAnnotate b/Documentation/Core-CacheAnnotate new file mode 100644 index 0000000..62e9be6 --- /dev/null +++ b/Documentation/Core-CacheAnnotate @@ -0,0 +1,14973 @@ +-------------------------------------------------------------------------------- +I1 cache: 32768 B, 64 B, 8-way associative +D1 cache: 32768 B, 64 B, 8-way associative +L2 cache: 2097152 B, 64 B, 8-way associative +Command: beryl +Data file: cachegrind.out.24477 +Events recorded: Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw +Events shown: Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw +Event sort order: Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw +Thresholds: 99 0 0 0 0 0 0 0 0 +Include dirs: +User annotated: display_options.c + activation.c + screen_options.c + plugin.c + action.c + main.c + display.c + ipcs.c + settings-dump.c + window.c + event.c + session.c + paint.c + type_mask.c + privates.c + texture.c + option.c + screen.c +Auto-annotation: off + +-------------------------------------------------------------------------------- + Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw +-------------------------------------------------------------------------------- +1,262,389,353 676,420 19,052 292,552,419 4,800,217 522,895 121,364,450 1,368,842 794,412 PROGRAM TOTALS + +-------------------------------------------------------------------------------- + Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw file:function +-------------------------------------------------------------------------------- +515,559,348 199,286 6,093 98,882,374 1,248,544 58,820 27,109,639 127,252 26,053 ???:??? +123,256,516 18 12 20,545,296 0 0 4,113,332 174 0 png.c:premultiplyData +106,448,359 84 84 26,894,515 212,257 2 15,957,850 9,315 235 ???:inflate_fast + 52,894,371 62 37 16,435,215 0 0 0 0 0 ???:adler32 + 38,287,322 373 15 4,007,184 111,864 1,311 0 0 0 ???:strlen + 33,183,121 630 4 10,948,381 94,208 824 0 0 0 ???:strcmp + 33,179,159 2,230 7 12,307,226 286,207 241,968 12,011,776 790,442 503,356 ???:memcpy + 24,606,810 5 1 2,994,380 8,601 1 0 0 0 gstring.c:g_str_hash + 16,894,490 1,486 19 4,827,357 17,492 113 1,448,382 10 2 ???:free + 16,484,832 44 34 16,443,188 256,067 208,828 16,410,608 256,423 249,753 texture.c:imageToTexture + 16,271,777 1,385 19 5,277,192 3,721 21 1,759,064 358 3 ???:malloc + 15,650,373 396 5 1,332,914 0 0 1,827,186 199 0 ???:stpcpy + 13,340,419 560 1 3,149,001 10,732 0 1,099,204 0 0 gkeyfile.c:g_key_file_lookup_group_node + 13,328,418 434 298 3,050,171 10,673 22 1,479,107 3,323 56 ???:inflate + 12,484,865 640 7 1,241,814 0 0 2,379,108 0 0 gkeyfile.c:g_key_file_parse_string_as_value + 11,837,682 418 5 2,633,253 12,431 0 34,698 83 0 gkeyfile.c:g_key_file_parse_data + 11,624,392 32,162 228 3,564,484 3,043 30 2,854,036 3,317 109 ???:vfprintf + 11,109,042 0 0 4,937,352 0 0 3,703,014 229 2 gstring.h:g_key_file_parse_data + 10,249,261 270 16 1,951,956 159 2 1,645,744 1,099 51 ???:_IO_default_xsputn + 10,232,045 2,868 5 1,671,703 0 0 2,900,532 130 0 gstrfuncs.c:g_strconcat + 7,916,789 312 10 1,294,389 4 2 1,255,514 557 91 ???:strncpy + 6,931,442 130 5 1,732,860 154 3 1,039,717 23 1 gmem.c:g_malloc + 6,175,981 82 44 2,038,316 38,527 708 462 0 0 ???:crc32 + 6,120,399 616 9 2,005,638 6,411 22 242,089 14 2 ???:getenv + 5,312,388 354 4 767,511 0 0 142,170 0 0 gstrfuncs.c:g_strrstr + 5,175,137 58 3 1,411,401 163 0 470,467 0 0 gmem.c:g_free + 5,077,983 141 15 807,644 88 18 56,832 0 0 ???:strstr + 4,984,071 1,109 17 1,231,070 1,478 3 495,757 76 0 gslice.c:g_slice_free1 + 4,499,750 3,295 84 862,101 4,065 65 300,563 0 0 ???:sin + 4,163,087 15,811 30 1,042,010 899 0 525,105 838 8 ???:calloc + 4,146,788 3,353 8 2,166,986 747,603 0 210,405 1,159 0 paint.c:paintTransformedScreen + 4,098,867 1,287 16 1,047,759 1,841 14 652,914 83 0 gkeyfile.c:g_key_file_flush_parse_buffer + 4,093,780 2,237 0 1,085,855 138,079 173 934,412 103 0 ini.c:write_setting + 3,686,614 7,556 10 1,986,614 628,344 86 313,418 712 0 screen.c:moveScreenViewport + 3,584,678 1,537 24 1,201,167 36,281 26 547,829 789 0 gslice.c:g_slice_alloc + 3,352,062 41 4 582,972 0 0 874,449 6 0 gstrfuncs.c:g_strdup + 3,339,258 63 9 1,054,502 7,373 10 175,752 0 0 ???:pthread_getspecific + 3,198,302 941 21 729,474 375 1 808,488 200 0 ???:vasprintf + 2,957,006 168 2 1,142,269 34,535 0 433,934 0 0 ghash.c:g_hash_table_lookup + 2,904,354 202 132 575,587 337 16 361,891 1,405 212 ???:inflate_table + 2,522,681 628 19 127,981 13 2 0 0 0 ???:index + 2,114,833 41 1 0 0 0 0 0 0 gstrfuncs.c:g_stpcpy + 2,105,460 20 6 350,910 0 0 350,910 1,957 1 ???:__glXGetCurrentContext + 2,037,726 490 0 407,798 688 0 218,356 0 0 ini.c:mods_to_string + 1,806,204 3,843 10 1,019,350 10,960 121 958,774 16,561 375 ???:mempcpy + 1,747,965 414 6 511,797 153 0 262,707 0 0 ghash.c:g_hash_table_replace + 1,688,969 4,045 74 764,119 1,856 11 336,940 2,764 31 splash.c:splashPaintScreen + 1,661,310 744 13 414,585 1 0 304,885 333 9 gstring.c:g_string_insert_len + 1,473,005 479 9 208,172 0 0 300,605 0 0 gkeyfile.c:g_key_file_remove_key + 1,380,076 713 2 483,026 0 0 69,004 0 0 ???:pthread_rwlock_unlock + 1,351,296 176 2 235,008 0 0 352,512 68 0 gstrfuncs.c:g_strndup + 1,290,123 166 3 334,053 11,880 0 272,913 0 0 ghash.c:g_hash_nodes_destroy + 1,279,600 204 6 575,820 70 2 383,880 0 0 ???:glTexCoord2f + 1,247,532 336 8 283,530 191 0 453,648 0 0 gkeyfile.c:g_key_file_add_key + 1,213,168 13,197 7 193,004 6,221 0 275,720 0 0 gkeyfile.c:g_key_file_set_value + 1,201,326 655 4 286,030 70 0 171,618 0 0 gmem.c:g_malloc0 + 1,198,720 137 3 539,424 67 1 359,616 0 0 ???:glVertex2f + 1,173,034 195 2 414,012 510 2 0 0 0 ???:pthread_rwlock_rdlock + 1,077,131 6,228 16 314,274 0 0 269,297 11 6 ???:_IO_setb + 954,466 605 6 247,376 53 9 0 0 0 ???:strncmp + 935,649 166 3 283,530 18,717 0 255,177 0 0 gkeyfile.c:g_key_file_remove_key_value_pair_node + 914,851 167 2 130,693 0 0 130,693 0 0 gstring.c:g_str_equal + 903,567 213 4 172,108 0 0 215,135 0 0 gprintf.c:g_vasprintf + 899,221 38 14 112,520 174 71 35,724 0 0 ???:memchr + 857,879 1,446 28 191,956 681 9 116,997 17 0 ???:realloc + 829,376 2,984 7 255,192 1,112 2 127,600 1 0 gdataset.c:g_quark_from_static_string + 828,902 173 16 259,865 1,722 138 3,164 0 0 ???:XKeysymToKeycode + 807,308 8,204 77 215,674 2,088 3 110,838 2,695 0 ???:__printf_fp + 804,784 1,818 18 419,176 128,427 634 41,861 162 0 paint.c:paintScreen + 796,355 319 6 91,012 0 0 136,518 0 0 gkeyfile.c:g_key_file_set_string + 789,906 167 2 151,905 47 0 121,524 57 0 gstring.c:g_string_erase + 753,714 11,608 49 376,433 2,576 2 130,346 3,324 29 paint.c:addWindowGeometry + 737,178 168 4 198,471 82 0 198,471 0 0 gutf8.c:g_utf8_strchr + 733,454 208 5 212,682 29,889 245 111,712 11 0 gslist.c:g_slist_foreach + 716,480 68 21 230,292 1,015 0 102,352 2 0 ???:fread + 703,148 27 10 351,550 2,353 7 16 0 0 ???:pthread_once + 641,556 2,855 21 10,234 0 0 200,206 8,170 4,035 ???:memset + 622,398 257 6 29,638 0 0 266,742 0 0 gstring.c:g_string_append_printf + 619,320 2,687 8 254,588 13,002 175 0 0 0 ???:strcasecmp + 617,762 2,578 6 64,771 1 0 101,544 0 0 gerror.c:g_set_error + 612,728 155 19 266,941 81 6 127,391 21 2 event.c:handleWindowDamageRect + 603,936 167 2 120,072 49 0 211,467 0 0 glist.c:g_list_prepend + 587,094 1,224 23 144,038 4 0 134,789 42 1 ???:_XRead + 583,789 6,347 72 155,370 510 51 91,699 57 0 ???:_XReply + 552,016 621 2 172,505 231 2 103,503 0 0 ???:tfind + 540,060 84 1 113,781 0 0 60,897 0 0 gkeyfile.c:g_key_file_lookup_group + 538,707 252 3 85,059 0 0 85,059 0 0 gstrfuncs.c:g_strstr_len + 533,273 976 4 302,406 222,308 5 76,739 40,014 221 fade.c:fadePreparePaintScreen + 516,117 164 2 121,860 0 0 89,607 20,433 0 glist.c:g_list_remove_link + 502,968 1,236 2 251,484 10,358 11 0 0 0 main.c:check_type + 491,881 1,515 169 257,102 583 28 64,370 394 7 event.c:handleEvent + 491,658 1,175 46 266,970 949 4 115,246 2,329 0 animation.c:animAddWindowGeometry + 457,650 380 4 178,524 7,073 0 57,834 0 0 ghash.c:g_hash_table_resize + 440,562 166 2 208,113 4,062 0 85,776 0 0 ghash.c:g_hash_table_remove_all + 414,932 46 2 118,552 0 0 118,552 0 0 gstring.c:g_string_append_printf_internal + 408,111 380 19 148,814 532 8 65,824 80 0 decoration.c:decorHandleEvent + 408,045 245 4 147,244 6,614 231 57,885 1 0 main.c:find_setting + 405,357 15 5 111,619 1 0 58,744 0 0 ???:fgets + 396,956 84 1 85,062 0 0 170,124 0 0 ghash.c:g_hash_node_new + 396,942 168 2 28,353 0 0 28,353 0 0 gutf8.c:g_unichar_to_utf8 + 392,850 1,755 4 226,980 0 0 104,760 3,020 0 wobbly.c:wobblyAddWindowGeometry + 388,261 11,274 47 150,410 0 0 68,851 963 0 cube.c:paintReversed + 378,568 4,661 0 47,321 80 0 0 0 0 main.c:write_setting + 377,464 404 9 123,442 17,525 0 32,173 0 0 gkeyfile.c:g_key_file_to_data + 365,849 474 5 94,405 4,427 20 40,132 0 0 ???:XKeysymToString + 361,511 26 12 82,790 0 0 70,955 5 2 ???:_IO_getline_info + 352,066 5 1 133,872 34 1 0 0 0 ???:strncasecmp + 344,260 224 18 89,997 679 7 27,789 218 201 ???:_XrmInternalStringToQuark + 339,318 1,518 46 66,103 3,915 12 69,041 2,030 13 ???:_XSend + 326,117 169 4 29,647 0 0 29,647 0 0 gstring.c:g_string_append_len + 322,533 90 60 107,546 11,275 0 66,069 357 0 ???:png_read_row + 318,987 2,560 2 63,796 205 1 31,901 0 0 gutils.c:_glib_gettext + 316,674 688 19 112,661 311 0 72,293 129 0 scale.c:scaleHandleEvent + 315,208 9,370 68 162,245 5,451 18 75,975 1,766 5 display.c:eventLoop + 311,883 80 0 85,059 1 0 85,059 0 0 gkeyfile.c:g_key_file_key_value_pair_free + 306,221 3,041 10 135,627 12,816 18 63,625 3,378 1 decoration.c:decorDrawWindow + 295,839 413 8 58,425 2,996 0 53,613 0 0 gkeyfile.c:g_key_file_remove_group_node + 289,932 492 44 106,158 475 19 72,295 219 1 animation.c:animHandleEvent + 289,772 11,692 1 82,792 4 0 0 0 0 main.c:check_s_type + 284,606 578 29 93,863 521 12 59,239 231 0 wobbly.c:wobblyHandleEvent + 273,369 142 16 180,782 12,291 0 31,520 33 0 screen.c:insertWindowIntoScreen + 272,910 59 2 12,405 0 0 124,050 0 0 gstrfuncs.c:g_strdup_printf + 270,073 72 8 128,898 166 0 55,242 10 1 scale.c:scaleDamageWindowRect + 268,636 26 13 70,250 37 15 17,422 2 0 ???:XGetVisualInfo + 264,779 224 4 123,775 0 0 32,173 0 0 gstring.c:g_string_maybe_expand + 263,952 87 12 141,184 206 4 49,106 17 1 wobbly.c:wobblyDamageWindowRect + 259,584 249 2 123,708 0 0 32,448 0 0 ghash.c:g_hash_table_unref + 257,443 221 10 96,102 42 0 24,823 0 0 ???:XUnionRegion + 251,680 79 9 128,907 56 1 61,381 1 0 animation.c:animDamageWindowRect + 246,480 1,172 3 113,760 1,213 0 85,320 551 0 ???:glTranslatef + 245,631 105 20 135,082 145 6 67,525 38 2 place.c:placeDamageWindowRect + 245,523 71 7 135,037 147 3 49,104 20 1 neg.c:NEGDamageWindowRect + 241,211 630 14 70,602 3,038 157 65,630 3,156 741 ???:_XEnq + 238,999 582 18 92,639 316 8 65,840 136 0 resize.c:resizeHandleEvent + 233,244 57 7 122,760 100 2 49,104 23 1 switcher.c:switchDamageWindowRect + 232,905 18 8 60 13 4 98,343 6,073 2,976 cube.c:cubeUpdateSkyDomeTexture + 228,619 696 18 87,923 229 1 66,122 120 0 rotate.c:rotateHandleEvent + 227,109 60 6 116,623 70 1 49,105 0 0 decoration.c:decorDamageWindowRect + 224,226 228 4 73,924 1,014 25 36,929 0 0 main.c:find_plugin + 220,801 878 52 78,237 2,032 45 102,114 1,642 11 event.c:handleActionEvent + 208,279 303 50 71,926 36 0 58,580 50 1 ???:XGetWindowProperty + 206,980 237 2 41,396 0 0 51,745 0 0 main.c:beryl_setting_get_can_set_edgemask + 206,980 157 1 41,396 0 0 51,745 64 0 main.c:beryl_setting_get_can_set_key + 206,980 79 1 41,396 0 0 51,745 0 0 main.c:beryl_setting_get_can_set_button + 206,980 79 1 41,396 0 0 51,745 0 0 main.c:beryl_setting_get_can_set_bell + 203,541 324 5 72,280 200 1 52,592 107 0 water.c:waterHandleEvent + 197,454 20 10 33,464 2 0 20,507 0 0 gkeyfile.c:g_key_file_parse_value_as_string + 195,119 818 21 95,255 2,387 383 26,898 1,441 0 ipcs.c:IPCS_GetAtom + 194,038 489 12 80,275 530 9 59,300 161 0 move.c:moveHandleEvent + 190,240 311 6 52,480 0 0 32,800 0 0 ???:XNextEvent + 189,760 904 4 88,950 0 0 71,160 0 0 ???:glRotatef + 183,646 112 23 65,769 3,397 6 38,823 2,587 4 ???:__glXFlushRenderBuffer + 182,997 13,598 89 51,545 7,643 6 23,467 1,114 2 cube.c:cubePaintTransformedScreen + 181,747 378 7 47,979 5 0 5,527 0 0 ???:read + 180,594 1,343 1 40,132 0 0 40,132 0 0 main.c:beryl_setting_value_get_keysym + 180,594 553 1 40,132 0 0 40,132 0 0 main.c:beryl_setting_value_get_keymods + 180,594 214 1 40,132 2,449 2 40,132 0 0 main.c:beryl_setting_value_get_key_enabled + 178,271 165 8 64,518 148 0 32,399 938 805 gslice.c:slab_allocator_alloc_chunk + 177,750 341 1 39,500 158 0 39,500 0 0 main.c:beryl_setting_value_get_button_enabled + +-------------------------------------------------------------------------------- +-- User-annotated source: activation.c +-------------------------------------------------------------------------------- + No information has been collected for activation.c + +-------------------------------------------------------------------------------- +-- User-annotated source: display_options.c +-------------------------------------------------------------------------------- + Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw + +-- line 162 ---------------------------------------- + . . . . . . . . . free(display->opt[COMP_DISPLAY_OPTION_SCREENSHOT].value.s); + . . . . . . . . . free(display->opt[COMP_DISPLAY_OPTION_WINDOW_SCREENSHOT].value.s); + . . . . . . . . . #if 0 + . . . . . . . . . free(display->opt[COMP_DISPLAY_OPTION_FOCUS_STEALING_LEVEL].value.s); + . . . . . . . . . #endif + . . . . . . . . . } + . . . . . . . . . + . . . . . . . . . void compDisplayInitOptions(CompDisplay * display, char **plugin, int nPlugin) + 18 4 2 0 0 0 12 0 0 { + . . . . . . . . . CompOption *o; + . . . . . . . . . int i; + . . . . . . . . . char *str; + . . . . . . . . . + 6 0 0 3 0 0 0 0 0 if (nPlugin == 0) + . . . . . . . . . { + 6 0 0 3 2 1 3 0 0 nPlugin = nDefPlugin; + 3 0 0 0 0 0 3 0 0 plugin = def_plugin; + . . . . . . . . . } + . . . . . . . . . + 6 0 0 3 0 0 3 3 3 display->dirtyPluginList = TRUE; + . . . . . . . . . + 12 2 1 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_TEXTURE_FILTER]; + 6 0 0 3 0 0 3 3 3 o->advanced = False; + 6 0 0 3 0 0 3 3 3 o->name = "texture_filter"; + 6 0 0 3 0 0 3 1 1 o->group = N_("Main"); + 6 0 0 3 0 0 3 1 1 o->subGroup = N_(""); + 6 2 1 3 0 0 3 0 0 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Texture Filter"); + 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Texture filtering"); + 6 0 0 3 0 0 3 1 1 o->type = CompOptionTypeString; + 15 0 0 3 0 0 6 0 0 o->value.s = strdup("Good"); + 6 2 1 3 0 0 3 0 0 o->rest.s.string = textureFilter; + 6 0 0 3 0 0 3 0 0 o->rest.s.nString = NUM_TEXTURE_FILTER; + . . . . . . . . . + 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_CLICK_TO_FOCUS]; + 6 0 0 3 0 0 3 3 3 o->advanced = False; + 6 2 1 3 0 0 3 0 0 o->name = "click_to_focus"; + 6 0 0 3 0 0 3 2 2 o->group = N_("Main"); + 6 0 0 3 0 0 3 0 0 o->subGroup = N_(""); + 6 0 0 3 0 0 3 1 1 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Click To Focus"); + 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Click on window moves input focus to it"); + 6 3 1 3 0 0 3 0 0 o->type = CompOptionTypeBool; + 6 0 0 3 0 0 3 0 0 o->value.b = CLICK_TO_FOCUS_DEFAULT; + . . . . . . . . . + 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_AUTORAISE]; + 6 0 0 3 0 0 3 3 3 o->advanced = False; + 6 2 1 3 0 0 3 1 1 o->name = "autoraise"; + 6 0 0 3 0 0 3 1 1 o->group = N_("Main"); + 6 0 0 3 0 0 3 1 1 o->subGroup = N_(""); + 6 0 0 3 0 0 3 0 0 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Auto-Raise"); + 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Raise selected windows after interval"); + 6 2 1 3 0 0 3 0 0 o->type = CompOptionTypeBool; + 6 0 0 3 0 0 3 0 0 o->value.b = AUTORAISE_DEFAULT; + . . . . . . . . . + 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_AUTORAISE_DELAY]; + 6 0 0 3 0 0 3 3 3 o->advanced = False; + 6 2 1 3 0 0 3 0 0 o->name = "autoraise_delay"; + 6 0 0 3 0 0 3 2 2 o->group = N_("Main"); + 6 0 0 3 0 0 3 0 0 o->subGroup = N_(""); + 6 0 0 3 0 0 3 0 0 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Auto-Raise Delay"); + 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Interval before raising selected windows"); + 6 2 1 3 0 0 3 0 0 o->type = CompOptionTypeInt; + 6 0 0 3 0 0 3 1 1 o->value.i = AUTORAISE_DELAY_DEFAULT; + 6 0 0 3 0 0 3 0 0 o->rest.i.min = AUTORAISE_DELAY_MIN; + 6 0 0 3 0 0 3 0 0 o->rest.i.max = AUTORAISE_DELAY_MAX; + . . . . . . . . . + 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_CLOSE_WINDOW]; + 6 3 1 3 0 0 3 3 3 o->advanced = False; + 6 0 0 3 0 0 3 1 1 o->name = "close_window"; + 6 0 0 3 0 0 3 1 1 o->group = N_("Bindings"); + 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Close Window"); + 6 0 0 3 0 0 3 0 0 o->displayHints = ""; + 6 2 1 3 0 0 3 0 0 o->shortDesc = N_("Close Window"); + 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Close active window"); + 6 0 0 3 0 0 3 1 1 o->type = CompOptionTypeAction; + 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE; + 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0; + 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey; + 18 2 1 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton; + 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeKey; + 6 0 0 3 0 0 3 0 0 o->value.action.key.modifiers = CLOSE_WINDOW_MODIFIERS_DEFAULT; + 15 0 0 3 0 0 6 0 0 o->value.action.key.keysym = XStringToKeysym(CLOSE_WINDOW_KEY_DEFAULT); + . . . . . . . . . + 12 2 1 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_MAIN_MENU]; + 6 0 0 3 0 0 3 3 3 o->advanced = False; + 6 0 0 3 0 0 3 0 0 o->name = "main_menu"; + 6 0 0 3 0 0 3 1 1 o->group = N_("Bindings"); + 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Show Main Menu"); + 6 2 1 3 0 0 3 1 1 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Show Main Menu"); + 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Show the main menu"); + 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeAction; + 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE; + 6 2 1 3 0 0 3 0 0 o->value.action.edgeMask = 0; + 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey; + 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton; + 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeKey; + 6 0 0 3 0 0 3 0 0 o->value.action.key.modifiers = MAIN_MENU_MODIFIERS_DEFAULT; + 15 2 1 3 0 0 6 0 0 o->value.action.key.keysym = XStringToKeysym(MAIN_MENU_KEY_DEFAULT); + . . . . . . . . . + 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_RUN_DIALOG]; + 6 0 0 3 0 0 3 3 3 o->advanced = False; + 6 0 0 3 0 0 3 1 1 o->name = "run"; + 6 3 1 3 0 0 3 0 0 o->group = N_("Bindings"); + 6 0 0 3 0 0 3 1 1 o->subGroup = N_("Run Dialog"); + 6 0 0 3 0 0 3 0 0 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Run Dialog"); + 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Show Run Application dialog"); + 6 0 0 3 0 0 3 1 1 o->type = CompOptionTypeAction; + 6 3 1 3 0 0 3 1 1 o->value.action.bell = FALSE; + 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0; + 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey; + 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton; + 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeKey; + 6 2 1 3 0 0 3 0 0 o->value.action.key.modifiers = RUN_DIALOG_MODIFIERS_DEFAULT; + 15 0 0 3 0 0 6 0 0 o->value.action.key.keysym = XStringToKeysym(RUN_DIALOG_KEY_DEFAULT); + . . . . . . . . . + 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_UNMAXIMIZE_WINDOW]; + 6 0 0 3 0 0 3 3 3 o->advanced = False; + 6 2 1 3 0 0 3 3 3 o->name = "unmaximize_window"; + 6 0 0 3 0 0 3 2 2 o->group = N_("Bindings"); + 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Unmaximize Window"); + 6 0 0 3 0 0 3 1 1 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Unmaximize Window"); + 6 2 1 3 0 0 3 0 0 o->longDesc = N_("Unmaximize active window"); + 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeAction; + 6 0 0 3 0 0 3 0 0 o->value.action.bell = FALSE; + 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0; + 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey; + 18 2 1 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton; + 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeNone; + . . . . . . . . . + 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_MINIMIZE_WINDOW]; + 6 0 0 3 0 0 3 3 3 o->advanced = False; + 6 0 0 3 0 0 3 1 1 o->name = "minimize_window"; + 6 2 1 3 0 0 3 1 1 o->group = N_("Bindings"); + 6 0 0 3 0 0 3 1 1 o->subGroup = N_("Minimize Window"); + 6 0 0 3 0 0 3 0 0 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Minimize Window"); + 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Minimize active window"); + 6 2 1 3 0 0 3 0 0 o->type = CompOptionTypeAction; + 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE; + 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0; + 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey; + 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton; + 6 3 1 3 0 0 3 0 0 o->value.action.type = CompBindingTypeKey; + 6 3 0 3 0 0 3 0 0 o->value.action.key.modifiers = MINIMIZE_WINDOW_MODIFIERS_DEFAULT; + 15 0 0 3 0 0 6 0 0 o->value.action.key.keysym = XStringToKeysym(MINIMIZE_WINDOW_KEY_DEFAULT); + . . . . . . . . . + 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW]; + 6 2 1 3 0 0 3 3 3 o->advanced = False; + 6 0 0 3 0 0 3 0 0 o->name = "maximize_window"; + 6 0 0 3 0 0 3 2 2 o->group = N_("Bindings"); + 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Maximize Window"); + 6 0 0 3 0 0 3 0 0 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Maximize Window"); + 6 2 1 3 0 0 3 0 0 o->longDesc = N_("Maximize active window"); + 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeAction; + 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE; + 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0; + 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey; + 18 2 1 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton; + 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeKey; + 6 0 0 3 0 0 3 0 0 o->value.action.key.modifiers = MAXIMIZE_WINDOW_MODIFIERS_DEFAULT; + 15 0 0 3 0 0 6 0 0 o->value.action.key.keysym = XStringToKeysym(MAXIMIZE_WINDOW_KEY_DEFAULT); + . . . . . . . . . + 12 2 1 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW_HORZ]; + 6 0 0 3 0 0 3 3 3 o->advanced = False; + 6 0 0 3 0 0 3 1 1 o->name = "maximize_window_horizontally"; + 6 0 0 3 0 0 3 1 1 o->group = N_("Bindings"); + 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Maximize Window Horizontally"); + 6 2 1 3 0 0 3 0 0 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Maximize Window Horizontally"); + 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Maximize active window horizontally"); + 6 0 0 3 0 0 3 1 1 o->type = CompOptionTypeAction; + 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE; + 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0; + 6 2 1 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey; + 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton; + 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeNone; + . . . . . . . . . + 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW_VERT]; + 6 2 1 3 0 0 3 3 3 o->advanced = False; + 6 0 0 3 0 0 3 0 0 o->name = "maximize_window_vertically"; + 6 0 0 3 0 0 3 1 1 o->group = N_("Bindings"); + 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Maximize Window Vertically"); + 6 0 0 3 0 0 3 1 1 o->displayHints = ""; + 6 2 1 3 0 0 3 0 0 o->shortDesc = N_("Maximize Window Vertically"); + 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Maximize active window vertically"); + 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeAction; + 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE; + 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0; + 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey; + 18 2 1 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton; + 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeNone; + . . . . . . . . . + 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_SHOW_DESKTOP]; + 6 0 0 3 0 0 3 3 3 o->advanced = False; + 6 3 1 3 0 0 3 3 3 o->name = "show_desktop"; + 6 0 0 3 0 0 3 2 2 o->group = N_("Bindings"); + 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Hide all windows and focus desktop"); + 6 0 0 3 0 0 3 1 1 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Hide all windows and focus desktop"); + 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Hide all windows and focus desktop"); + 6 2 1 3 0 0 3 0 0 o->type = CompOptionTypeAction; + 6 0 0 3 0 0 3 0 0 o->value.action.bell = FALSE; + 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0; + 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey; + 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitEdge; + 18 2 1 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton; + 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeKey; + 6 0 0 3 0 0 3 0 0 o->value.action.key.modifiers = SHOW_DESKTOP_MODIFIERS_DEFAULT; + 15 0 0 3 0 0 6 0 0 o->value.action.key.keysym = XStringToKeysym(SHOW_DESKTOP_KEY_DEFAULT); + . . . . . . . . . + . . . . . . . . . #define COMMAND_OPTION_SHORT N_("Command line %d") + . . . . . . . . . #define COMMAND_OPTION_LONG N_("Command line to be executed in shell when " \ + . . . . . . . . . "run_command%d is invoked") + . . . . . . . . . #define RUN_OPTION_SHORT N_("Run command %d") + . . . . . . . . . #define RUN_OPTION_LONG N_("A keybinding that when invoked, will run " \ + . . . . . . . . . "the shell command identified by command%d") + . . . . . . . . . +-- line 385 ---------------------------------------- +-- line 413 ---------------------------------------- + . . . . . . . . . o->longDesc = str; \ + . . . . . . . . . o->type = CompOptionTypeAction; \ + . . . . . . . . . o->value.action.bell = FALSE; \ + . . . . . . . . . o->value.action.edgeMask = 0; \ + . . . . . . . . . o->value.action.state = CompActionStateInitKey; \ + . . . . . . . . . o->value.action.state |= CompActionStateInitButton; \ + . . . . . . . . . o->value.action.type = CompBindingTypeNone + . . . . . . . . . +297 18 8 102 0 0 99 16 15 COMMAND_OPTION(0, "command0", "run_command0"); +297 16 8 102 0 0 99 13 13 COMMAND_OPTION(1, "command1", "run_command1"); +297 14 7 102 0 0 99 12 12 COMMAND_OPTION(2, "command2", "run_command2"); +297 16 8 102 0 0 99 14 14 COMMAND_OPTION(3, "command3", "run_command3"); +297 16 7 102 0 0 99 12 12 COMMAND_OPTION(4, "command4", "run_command4"); +297 18 8 102 0 0 99 13 13 COMMAND_OPTION(5, "command5", "run_command5"); +297 15 7 102 0 0 99 12 12 COMMAND_OPTION(6, "command6", "run_command6"); +297 16 8 102 0 0 99 14 14 COMMAND_OPTION(7, "command7", "run_command7"); +297 16 7 102 0 0 99 12 12 COMMAND_OPTION(8, "command8", "run_command8"); +297 17 8 102 0 0 99 13 13 COMMAND_OPTION(9, "command9", "run_command9"); +297 14 7 102 0 0 99 12 12 COMMAND_OPTION(10, "command10", "run_command10"); +297 16 8 102 0 0 99 11 11 COMMAND_OPTION(11, "command11", "run_command11"); + . . . . . . . . . + 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_SLOW_ANIMATIONS]; + 6 2 1 3 0 0 3 3 3 o->advanced = False; + 6 0 0 3 0 0 3 0 0 o->name = "slow_animations"; + 6 0 0 3 0 0 3 1 1 o->group = N_("Bindings"); + 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Slow Animations"); + 6 0 0 3 0 0 3 1 1 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Slow Animations"); + 6 2 1 3 0 0 3 0 0 o->longDesc = N_("Toggle use of slow animations"); + 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeAction; + 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE; + 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0; + 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey; + 18 2 1 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton; + 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeKey; + 6 0 0 3 0 0 3 0 0 o->value.action.key.modifiers = SLOW_ANIMATIONS_MODIFIERS_DEFAULT; + 15 0 0 3 0 0 6 0 0 o->value.action.key.keysym = XStringToKeysym(SLOW_ANIMATIONS_KEY_DEFAULT); + . . . . . . . . . + 12 2 1 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_LOWER_WINDOW]; + 6 0 0 3 0 0 3 0 0 o->advanced = False; + 6 0 0 3 0 0 3 0 0 o->name = "lower_window"; + 6 0 0 3 0 0 3 1 1 o->group = N_("Bindings"); + 6 0 0 3 0 0 3 1 1 o->subGroup = N_("Lower Window"); + 6 3 1 3 0 0 3 0 0 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Lower Window"); + 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Lower window beneath other windows"); + 6 0 0 3 0 0 3 1 1 o->type = CompOptionTypeAction; + 6 0 0 3 0 0 3 0 0 o->value.action.bell = FALSE; + 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0; + 6 2 1 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey; + 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton; + 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeButton; + 6 0 0 3 0 0 3 0 0 o->value.action.button.modifiers = LOWER_WINDOW_MODIFIERS_DEFAULT; + 6 0 0 3 0 0 3 0 0 o->value.action.button.button = LOWER_WINDOW_BUTTON_DEFAULT; + . . . . . . . . . + 12 2 1 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_RAISE_WINDOW]; + 6 0 0 3 0 0 3 3 3 o->advanced = False; + 6 0 0 3 0 0 3 3 3 o->name = "raise_window"; + 6 0 0 3 0 0 3 2 2 o->group = N_("Bindings"); + 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Raise Window"); + 6 2 1 3 0 0 3 1 1 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Raise Window"); + 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Raise window above other windows"); + 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeAction; + 6 0 0 3 0 0 3 0 0 o->value.action.bell = FALSE; + 6 2 1 3 0 0 3 0 0 o->value.action.edgeMask = 0; + 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey; + 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton; + 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeButton; + 6 0 0 3 0 0 3 0 0 o->value.action.button.modifiers = RAISE_WINDOW_MODIFIERS_DEFAULT; + 6 3 1 3 0 0 3 0 0 o->value.action.button.button = RAISE_WINDOW_BUTTON_DEFAULT; + . . . . . . . . . + 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_OPACITY_INCREASE]; + 6 0 0 3 0 0 3 3 3 o->advanced = False; + 6 0 0 3 0 0 3 1 1 o->name = "opacity_increase"; + 6 0 0 3 0 0 3 0 0 o->group = N_("Bindings"); + 6 2 1 3 0 0 3 1 1 o->subGroup = N_("Increase Opacity"); + 6 0 0 3 0 0 3 0 0 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Increase Opacity"); + 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Increase window opacity"); + 6 0 0 3 0 0 3 1 1 o->type = CompOptionTypeAction; + 6 2 1 3 0 0 3 1 1 o->value.action.bell = FALSE; + 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0; + 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey; + 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton; + 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeButton; + 6 0 0 3 0 0 3 0 0 o->value.action.button.modifiers = OPACITY_INCREASE_MODIFIERS_DEFAULT; + 6 2 1 3 0 0 3 0 0 o->value.action.button.button = OPACITY_INCREASE_BUTTON_DEFAULT; + . . . . . . . . . + 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_OPACITY_DECREASE]; + 6 0 0 3 0 0 3 3 3 o->advanced = False; + 6 0 0 3 0 0 3 0 0 o->name = "opacity_decrease"; + 6 2 1 3 0 0 3 1 1 o->group = N_("Bindings"); + 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Decrease Opacity"); + 6 0 0 3 0 0 3 1 1 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Decrease Opacity"); + 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Decrease window opacity"); + 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeAction; + 6 2 1 3 0 0 3 1 1 o->value.action.bell = FALSE; + 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0; + 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey; + 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton; + 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeButton; + 6 2 1 3 0 0 3 0 0 o->value.action.button.modifiers = OPACITY_DECREASE_MODIFIERS_DEFAULT; + 6 0 0 3 0 0 3 0 0 o->value.action.button.button = OPACITY_DECREASE_BUTTON_DEFAULT; + . . . . . . . . . + 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_SATURATION_INCREASE]; + 6 0 0 3 0 0 3 3 3 o->advanced = False; + 6 3 1 3 0 0 3 0 0 o->name = "saturation_increase"; + 6 0 0 3 0 0 3 1 1 o->group = N_("Bindings"); + 6 0 0 3 0 0 3 1 1 o->subGroup = N_("Increase Saturation"); + 6 0 0 3 0 0 3 0 0 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Increase Saturation"); + 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Increase Saturation"); + 6 3 1 3 0 0 3 1 1 o->type = CompOptionTypeAction; + 6 0 0 3 0 0 3 0 0 o->value.action.bell = FALSE; + 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0; + 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey; + 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton; + 6 2 1 3 0 0 3 0 0 o->value.action.type = CompBindingTypeButton; + 6 0 0 3 0 0 3 0 0 o->value.action.button.modifiers = SATURATION_INCREASE_MODIFIERS_DEFAULT; + 6 0 0 3 0 0 3 0 0 o->value.action.button.button = SATURATION_INCREASE_BUTTON_DEFAULT; + . . . . . . . . . + 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_SATURATION_DECREASE]; + 6 0 0 3 0 0 3 3 3 o->advanced = False; + 6 2 1 3 0 0 3 0 0 o->name = "saturation_decrease"; + 6 0 0 3 0 0 3 2 2 o->group = N_("Bindings"); + 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Decrease Saturation"); + 6 0 0 3 0 0 3 1 1 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Decrease Saturation"); + 6 2 1 3 0 0 3 0 0 o->longDesc = N_("Decrease Saturation"); + 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeAction; + 6 0 0 3 0 0 3 0 0 o->value.action.bell = FALSE; + 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0; + 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey; + 18 2 1 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton; + 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeButton; + 6 0 0 3 0 0 3 0 0 o->value.action.button.modifiers = SATURATION_DECREASE_MODIFIERS_DEFAULT; + 6 0 0 3 0 0 3 0 0 o->value.action.button.button = SATURATION_DECREASE_BUTTON_DEFAULT; + . . . . . . . . . + 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_BRIGHTNESS_INCREASE]; + 6 2 1 3 0 0 3 3 3 o->advanced = False; + 6 0 0 3 0 0 3 1 1 o->name = "brightness_increase"; + 6 0 0 3 0 0 3 1 1 o->group = N_("Bindings"); + 6 0 0 3 0 0 3 1 1 o->subGroup = N_("Increase Brightness"); + 6 0 0 3 0 0 3 0 0 o->displayHints = ""; + 6 2 1 3 0 0 3 0 0 o->shortDesc = N_("Increase Brightness"); + 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Increase Brightness"); + 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeAction; + 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE; + 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0; + 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey; + 18 3 1 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton; + 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeButton; + 6 0 0 3 0 0 3 0 0 o->value.action.button.modifiers = BRIGHTNESS_INCREASE_MODIFIERS_DEFAULT; + 6 0 0 3 0 0 3 0 0 o->value.action.button.button = BRIGHTNESS_INCREASE_BUTTON_DEFAULT; + . . . . . . . . . + 12 2 1 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_BRIGHTNESS_DECREASE]; + 6 0 0 3 0 0 3 3 3 o->advanced = False; + 6 0 0 3 0 0 3 0 0 o->name = "brightness_decrease"; + 6 0 0 3 0 0 3 2 2 o->group = N_("Bindings"); + 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Decrease Brightness"); + 6 0 0 3 0 0 3 0 0 o->displayHints = ""; + 6 2 1 3 0 0 3 0 0 o->shortDesc = N_("Decrease Brightness"); + 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Decrease Brightness"); + 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeAction; + 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE; + 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0; + 6 2 1 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey; + 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton; + 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeButton; + 6 0 0 3 0 0 3 0 0 o->value.action.button.modifiers = BRIGHTNESS_DECREASE_MODIFIERS_DEFAULT; + 6 0 0 3 0 0 3 0 0 o->value.action.button.button = BRIGHTNESS_DECREASE_BUTTON_DEFAULT; + . . . . . . . . . + 12 2 1 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_RUN_SCREENSHOT]; + 6 0 0 3 0 0 3 3 3 o->advanced = False; + 6 0 0 3 0 0 3 3 3 o->name = "run_command_screenshot"; + 6 0 0 3 0 0 3 1 1 o->group = N_("Bindings"); + 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Take a screenshot"); + 6 2 1 3 0 0 3 1 1 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Take a screenshot"); + 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Take a screenshot"); + 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeAction; + 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE; + 6 2 1 3 0 0 3 0 0 o->value.action.edgeMask = 0; + 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey; + 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton; + 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeKey; + 6 0 0 3 0 0 3 0 0 o->value.action.key.modifiers = RUN_SCREENSHOT_MODIFIERS_DEFAULT; + 15 2 1 3 0 0 6 0 0 o->value.action.key.keysym = XStringToKeysym(RUN_SCREENSHOT_KEY_DEFAULT); + . . . . . . . . . + 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_SCREENSHOT]; + 6 0 0 3 0 0 3 0 0 o->advanced = False; + 6 0 0 3 0 0 3 1 1 o->name = "command_screenshot"; + 6 2 1 3 0 0 3 1 1 o->group = N_("Main"); + 6 0 0 3 0 0 3 0 0 o->subGroup = N_(""); + 6 0 0 3 0 0 3 0 0 o->displayHints = "command;"; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Screenshot command line"); + 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Screenshot command line"); + 6 0 0 3 0 0 3 1 1 o->type = CompOptionTypeString; + 15 2 1 3 0 0 6 0 0 o->value.s = strdup(SCREENSHOT_DEFAULT); + 6 0 0 3 0 0 3 1 1 o->rest.s.string = NULL; + 6 0 0 3 0 0 3 0 0 o->rest.s.nString = 0; + . . . . . . . . . + 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_RUN_WINDOW_SCREENSHOT]; + 6 3 1 3 0 0 3 3 3 o->advanced = False; + 6 0 0 3 0 0 3 3 3 o->name = "run_command_window_screenshot"; + 6 0 0 3 0 0 3 1 1 o->group = N_("Bindings"); + 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Take a screenshot of a window"); + 6 0 0 3 0 0 3 1 1 o->displayHints = ""; + 6 2 1 3 0 0 3 0 0 o->shortDesc = N_("Take a screenshot of a window"); + 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Take a screenshot of a window"); + 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeAction; + 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE; + 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0; + 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey; + 18 2 1 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton; + 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeKey; + 6 0 0 3 0 0 3 0 0 o->value.action.key.modifiers = RUN_WINDOW_SCREENSHOT_MODIFIERS_DEFAULT; + 15 0 0 3 0 0 6 0 0 o->value.action.key.keysym = + . . . . . . . . . XStringToKeysym(RUN_WINDOW_SCREENSHOT_KEY_DEFAULT); + . . . . . . . . . + 12 2 1 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_WINDOW_SCREENSHOT]; + 6 0 0 3 0 0 3 0 0 o->advanced = False; + 6 0 0 3 0 0 3 1 1 o->name = "command_window_screenshot"; + 6 0 0 3 0 0 3 0 0 o->group = N_("Main"); + 6 0 0 3 0 0 3 1 1 o->subGroup = N_(""); + 6 2 1 3 0 0 3 0 0 o->displayHints = "command;"; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Window screenshot command line"); + 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Window screenshot command line"); + 6 0 0 3 0 0 3 1 1 o->type = CompOptionTypeString; + 15 3 1 3 0 0 6 0 0 o->value.s = strdup(WINDOW_SCREENSHOT_DEFAULT); + 6 0 0 3 0 0 3 1 1 o->rest.s.string = NULL; + 6 0 0 3 0 0 3 0 0 o->rest.s.nString = 0; + . . . . . . . . . + 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_WINDOW_MENU]; + 6 0 0 3 0 0 3 0 0 o->advanced = False; + 6 2 1 3 0 0 3 0 0 o->name = "window_menu"; + 6 0 0 3 0 0 3 1 1 o->group = N_("Bindings"); + 6 0 0 3 0 0 3 1 1 o->subGroup = N_("Window Menu"); + 6 0 0 3 0 0 3 0 0 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Window Menu"); + 6 2 1 3 0 0 3 0 0 o->longDesc = N_("Open window menu"); + 6 0 0 3 0 0 3 1 1 o->type = CompOptionTypeAction; + 6 0 0 3 0 0 3 0 0 o->value.action.bell = FALSE; + 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0; + 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey; + 18 3 1 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton; + 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeButton; + 6 0 0 3 0 0 3 0 0 o->value.action.button.modifiers = WINDOW_MENU_MODIFIERS_DEFAULT; + 6 0 0 3 0 0 3 0 0 o->value.action.button.button = WINDOW_MENU_BUTTON_DEFAULT; + 18 0 0 9 0 0 3 0 0 o->value.action.type |= CompBindingTypeKey; + 6 2 1 3 0 0 3 0 0 o->value.action.key.modifiers = WINDOW_MENU_MODIFIERS_DEFAULT; + 15 0 0 3 0 0 6 0 0 o->value.action.key.keysym = XStringToKeysym(WINDOW_MENU_KEY_DEFAULT); + . . . . . . . . . + 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_RAISE_ON_CLICK]; + 6 0 0 3 0 0 3 3 3 o->advanced = False; + 6 2 1 3 0 0 3 2 1 o->name = "raise_on_click"; + 6 0 0 3 0 0 3 1 1 o->group = N_("Main"); + 6 0 0 3 0 0 3 1 1 o->subGroup = N_(""); + 6 0 0 3 0 0 3 0 0 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Raise On Click"); + 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Raise windows when clicked"); + 6 2 1 3 0 0 3 0 0 o->type = CompOptionTypeBool; + 6 0 0 3 0 0 3 0 0 o->value.b = RAISE_ON_CLICK_DEFAULT; + . . . . . . . . . + 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_AUDIBLE_BELL]; + 6 0 0 3 0 0 3 3 3 o->advanced = False; + 6 0 0 3 0 0 3 0 0 o->name = "audible_bell"; + 6 2 1 3 0 0 3 2 2 o->group = N_("Main"); + 6 0 0 3 0 0 3 0 0 o->subGroup = N_(""); + 6 0 0 3 0 0 3 0 0 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Audible Bell"); + 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Audible system beep"); + 6 2 1 3 0 0 3 0 0 o->type = CompOptionTypeBool; + 6 0 0 3 0 0 3 1 1 o->value.b = AUDIBLE_BELL_DEFAULT; + . . . . . . . . . + 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED]; + 6 0 0 3 0 0 3 3 3 o->advanced = False; + 6 0 0 3 0 0 3 1 1 o->name = "toggle_window_maximized"; + 6 2 1 3 0 0 3 1 1 o->group = N_("Bindings"); + 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Toggle Window Maximized"); + 6 0 0 3 0 0 3 0 0 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Toggle Window Maximized"); + 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Toggle active window maximized"); + 6 2 1 3 0 0 3 1 1 o->type = CompOptionTypeAction; + 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE; + 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0; + 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey; + 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton; + 6 2 1 3 0 0 3 0 0 o->value.action.type = CompBindingTypeKey; + 6 0 0 3 0 0 3 0 0 o->value.action.key.modifiers = TOGGLE_WINDOW_MAXIMIZED_MODIFIERS_DEFAULT; + 15 0 0 3 0 0 6 0 0 o->value.action.key.keysym = + . . . . . . . . . XStringToKeysym(TOGGLE_WINDOW_MAXIMIZED_KEY_DEFAULT); + . . . . . . . . . + 9 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_FULLSCREEN]; + 6 0 0 3 0 0 3 1 0 o->advanced = False; + 6 2 1 3 0 0 3 3 3 o->name = "toggle_window_fullscreen"; + 6 0 0 3 0 0 3 1 1 o->group = N_("Bindings"); + 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Toggle Window Fullscreen"); + 6 0 0 3 0 0 3 1 1 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Toggle Window Fullscreen"); + 6 2 1 3 0 0 3 0 0 o->longDesc = N_("Toggle active window fullscreen, kiosk mode"); + 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeAction; + 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE; + 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0; + 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey; + 18 2 1 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton; + 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeKey; + 6 0 0 3 0 0 3 0 0 o->value.action.key.modifiers = + . . . . . . . . . TOGGLE_WINDOW_FULLSCREEN_MODIFIERS_DEFAULT; + 15 0 0 3 0 0 6 0 0 o->value.action.key.keysym = + . . . . . . . . . XStringToKeysym(TOGGLE_WINDOW_FULLSCREEN_KEY_DEFAULT); + . . . . . . . . . + 12 2 1 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED_HORZ]; + 6 0 0 3 0 0 3 3 3 o->advanced = False; + 6 0 0 3 0 0 3 0 0 o->name = "toggle_window_maximized_horizontally"; + 6 0 0 3 0 0 3 1 1 o->group = N_("Bindings"); + 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Toggle Window Maximized Horizontally"); + 6 0 0 3 0 0 3 1 1 o->displayHints = ""; + 6 2 1 3 0 0 3 0 0 o->shortDesc = N_("Toggle Window Maximized Horizontally"); + 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Toggle active window maximized horizontally"); + 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeAction; + 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE; + 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0; + 6 2 1 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey; + 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton; + 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeKey; + 6 0 0 3 0 0 3 0 0 o->value.action.key.modifiers = + . . . . . . . . . TOGGLE_WINDOW_MAXIMIZED_HORZ_MODIFIERS_DEFAULT; + 15 0 0 3 0 0 6 0 0 o->value.action.key.keysym = + . . . . . . . . . XStringToKeysym(TOGGLE_WINDOW_MAXIMIZED_HORZ_KEY_DEFAULT); + . . . . . . . . . + 12 2 1 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED_VERT]; + 6 0 0 3 0 0 3 3 3 o->advanced = False; + 6 0 0 3 0 0 3 1 1 o->name = "toggle_window_maximized_vertically"; + 6 0 0 3 0 0 3 0 0 o->group = N_("Bindings"); + 6 2 1 3 0 0 3 1 1 o->subGroup = N_("Toggle Window Maximized Vertically"); + 6 0 0 3 0 0 3 0 0 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Toggle Window Maximized Vertically"); + 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Toggle active window maximized vertically"); + 6 0 0 3 0 0 3 1 1 o->type = CompOptionTypeAction; + 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE; + 6 2 1 3 0 0 3 0 0 o->value.action.edgeMask = 0; + 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey; + 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton; + 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeKey; + 6 0 0 3 0 0 3 0 0 o->value.action.key.modifiers = + . . . . . . . . . TOGGLE_WINDOW_MAXIMIZED_VERT_MODIFIERS_DEFAULT; + 15 2 1 3 0 0 6 0 0 o->value.action.key.keysym = + . . . . . . . . . XStringToKeysym(TOGGLE_WINDOW_MAXIMIZED_VERT_KEY_DEFAULT); + . . . . . . . . . + 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_HIDE_SKIP_TASKBAR_WINDOWS]; + 6 0 0 3 0 0 3 3 3 o->advanced = False; + 6 0 0 3 0 0 3 0 0 o->name = "hide_skip_taskbar_windows"; + 6 2 1 3 0 0 3 1 1 o->group = N_("Main"); + 6 0 0 3 0 0 3 0 0 o->subGroup = N_(""); + 6 0 0 3 0 0 3 1 1 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Hide Skip Taskbar Windows"); + 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Hide windows not in taskbar when entering show " + . . . . . . . . . "desktop mode"); + 6 2 1 3 0 0 3 0 0 o->type = CompOptionTypeBool; + 6 0 0 3 0 0 3 1 1 o->value.b = HIDE_SKIP_TASKBAR_WINDOWS_DEFAULT; + . . . . . . . . . + 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_SHADED]; + 6 0 0 3 0 0 3 0 0 o->advanced = False; + 6 0 0 3 0 0 3 0 0 o->name = "toggle_window_shaded"; + 6 2 1 3 0 0 3 1 1 o->group = N_("Bindings"); + 6 0 0 3 0 0 3 1 1 o->subGroup = N_("Toggle Window Shaded"); + 6 0 0 3 0 0 3 0 0 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Toggle Window Shaded"); + 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Toggle active window shaded"); + 6 2 1 3 0 0 3 1 1 o->type = CompOptionTypeAction; + 6 0 0 3 0 0 3 0 0 o->value.action.bell = FALSE; + 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0; + 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey; + 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton; + 6 2 1 3 0 0 3 0 0 o->value.action.type = CompBindingTypeKey; + 6 0 0 3 0 0 3 0 0 o->value.action.key.modifiers = TOGGLE_WINDOW_SHADING_MODIFIERS_DEFAULT; + 15 0 0 3 0 0 6 0 0 o->value.action.key.keysym = + . . . . . . . . . XStringToKeysym(TOGGLE_WINDOW_SHADING_KEY_DEFAULT); + . . . . . . . . . + 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_DIM_DEAD]; + 6 2 1 3 0 0 3 3 3 o->advanced = False; + 6 0 0 3 0 0 3 1 1 o->name = "dim_dead"; + 6 0 0 3 0 0 3 1 1 o->group = N_("Main"); + 6 0 0 3 0 0 3 1 1 o->subGroup = N_(""); + 6 0 0 3 0 0 3 0 0 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Dim Unresponsive Windows"); + 6 2 1 3 0 0 3 0 0 o->longDesc = N_("Desaturate and dim windows that are unresponsive"); + 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeBool; + 6 0 0 3 0 0 3 0 0 o->value.b = DIM_DEAD_DEFAULT; + . . . . . . . . . + 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_IGNORE_HINTS_WHEN_MAXIMIZED]; + 6 3 1 3 0 0 3 3 3 o->advanced = False; + 6 0 0 3 0 0 3 0 0 o->name = "ignore_hints_when_maximized"; + 6 0 0 3 0 0 3 2 2 o->group = N_("Main"); + 6 0 0 3 0 0 3 0 0 o->subGroup = N_(""); + 6 0 0 3 0 0 3 0 0 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Ignore Hints When Maximized"); + 6 2 1 3 0 0 3 0 0 o->longDesc = + . . . . . . . . . N_("Ignore size increment and aspect hints when window is " + . . . . . . . . . "maximized"); + 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeBool; + 6 0 0 3 0 0 3 1 1 o->value.b = IGNORE_HINTS_WHEN_MAXIMIZED_DEFAULT; + . . . . . . . . . + 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_EDGE_TRIGGERING_DELAY]; + 6 0 0 3 0 0 3 3 2 o->advanced = False; + 6 2 1 3 0 0 3 1 1 o->name = "edge_triggering_delay"; + 6 0 0 3 0 0 3 1 1 o->group = N_("Main"); + 6 0 0 3 0 0 3 0 0 o->subGroup = N_(""); + 6 0 0 3 0 0 3 0 0 o->displayHints = ""; + 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Edge Triggering Delay"); + 6 2 1 3 0 0 3 0 0 o->longDesc = N_("Interval before triggering actions on edges"); + 6 0 0 3 0 0 3 1 1 o->type = CompOptionTypeInt; + 6 0 0 3 0 0 3 0 0 o->value.i = EDGE_TRIGGERING_DELAY_DEFAULT; + 6 0 0 3 0 0 3 1 1 o->rest.i.min = EDGE_TRIGGERING_DELAY_MIN; + 6 0 0 3 0 0 3 0 0 o->rest.i.max = EDGE_TRIGGERING_DELAY_MAX; + . . . . . . . . . + . . . . . . . . . #if 0 + . . . . . . . . . o = &display->opt[COMP_DISPLAY_OPTION_FOCUS_STEALING_LEVEL]; + . . . . . . . . . o->advanced = False; + . . . . . . . . . o->name = "focus_stealing_prevention_level"; + . . . . . . . . . o->group = N_("Main"); + . . . . . . . . . o->subGroup = N_(""); + . . . . . . . . . o->displayHints = ""; +-- line 838 ---------------------------------------- +-- line 839 ---------------------------------------- + . . . . . . . . . o->shortDesc = N_("Level of FSP"); + . . . . . . . . . o->longDesc = + . . . . . . . . . N_("How aggressive the focus-stealing-prevention should be"); + . . . . . . . . . o->type = CompOptionTypeString; + . . . . . . . . . o->value.s = strdup(DEFAULT_FSP); + . . . . . . . . . o->rest.s.string = fspTypes; + . . . . . . . . . o->rest.s.nString = FSP_COUNT; + . . . . . . . . . #endif + 6 0 0 6 0 0 0 0 0 } + . . . . . . . . . + . . . . . . . . . CompOption *compGetDisplayOptions(CompDisplay * display, int *count) +365 73 5 0 0 0 219 0 0 { +146 0 0 73 0 0 0 0 0 if (display) + . . . . . . . . . { +144 0 0 72 0 0 72 0 0 *count = NUM_OPTIONS(display); +288 0 0 72 0 0 72 17 1 return display->opt; + . . . . . . . . . } + . . . . . . . . . else + . . . . . . . . . { + 3 0 0 0 0 0 2 0 0 CompDisplay *d = malloc(sizeof(CompDisplay)); + . . . . . . . . . + 4 1 1 1 0 0 1 0 0 compDisplayInitOptions(d, NULL, 0); + 2 0 0 1 0 0 1 0 0 *count = NUM_OPTIONS(d); + 76 36 2 74 0 0 1 0 0 return d->opt; + . . . . . . . . . } +146 0 0 146 0 0 0 0 0 } + +-------------------------------------------------------------------------------- +-- User-annotated source: screen_options.c +-------------------------------------------------------------------------------- +Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw + +-- line 49 ---------------------------------------- + . . . . . . . . . + . . . . . . . . . void compScreenInitOptions(CompScreen * screen); + . . . . . . . . . + . . . . . . . . . void compFreeScreenOptions(CompScreen * screen) + . . . . . . . . . { + . . . . . . . . . } + . . . . . . . . . + . . . . . . . . . void compScreenInitOptions(CompScreen * screen) + 8 2 2 0 0 0 4 0 0 { + . . . . . . . . . CompOption *o; + . . . . . . . . . + 6 0 0 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_DETECT_REFRESH_RATE]; + 4 0 0 2 0 0 2 2 1 o->advanced = False; + 4 0 0 2 0 0 2 2 1 o->name = "detect_refresh_rate"; + 4 2 2 2 0 0 2 1 0 o->group = N_("Main"); + 4 0 0 2 0 0 2 0 0 o->subGroup = N_(""); + 4 0 0 2 0 0 2 1 1 o->displayHints = ""; + 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Detect Refresh Rate"); + 4 0 0 2 0 0 2 0 0 o->longDesc = N_("Automatic detection of refresh rate"); + 4 2 2 2 0 0 2 0 0 o->type = CompOptionTypeBool; + 4 2 0 2 0 0 2 0 0 o->value.b = DETECT_REFRESH_RATE_DEFAULT; + . . . . . . . . . + 8 0 0 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_LEGACY_MAXIMIZE_FIX]; + 4 0 0 2 0 0 2 2 1 o->advanced = False; + 4 0 0 2 0 0 2 2 1 o->name = "legacy_maximize_fix"; + 4 2 2 2 0 0 2 1 0 o->group = N_("Main"); + 4 0 0 2 0 0 2 0 0 o->subGroup = N_(""); + 4 0 0 2 0 0 2 0 0 o->displayHints = ""; + 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Enable workarounds for certain Wine and legacy" + . . . . . . . . . " windows"); + 4 0 0 2 0 0 2 0 0 o->longDesc = N_("This will mask certain windows as maximized based " + . . . . . . . . . "on their inital size settings. This helps on certain" + . . . . . . . . . " Wine and legacy windows, but can create unwanted " + . . . . . . . . . "behavior in other things, such as OpenOffice and " + . . . . . . . . . "similar. "); + 4 2 2 2 0 0 2 1 1 o->type = CompOptionTypeBool; + 4 0 0 2 0 0 2 0 0 o->advanced = True; + 4 0 0 2 0 0 2 0 0 o->value.b = LEGACY_MAXIMIZE_DEFAULT; + . . . . . . . . . + 8 0 0 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_LIGHTING]; + 4 0 0 2 0 0 2 2 1 o->advanced = False; + 4 2 2 2 0 0 2 1 0 o->name = "lighting"; + 4 0 0 2 0 0 2 0 0 o->group = N_("Main"); + 4 0 0 2 0 0 2 1 1 o->subGroup = N_(""); + 4 0 0 2 0 0 2 0 0 o->displayHints = ""; + 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Lighting"); + 4 2 2 2 0 0 2 0 0 o->longDesc = N_("Use diffuse light when screen is transformed"); + 4 0 0 2 0 0 2 0 0 o->type = CompOptionTypeBool; + 4 0 0 2 0 0 2 0 0 o->value.b = LIGHTING_DEFAULT; + . . . . . . . . . + 8 0 0 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_REFRESH_RATE]; + 4 0 0 2 0 0 2 2 1 o->advanced = False; + 4 2 2 2 0 0 2 0 0 o->name = "refresh_rate"; + 4 0 0 2 0 0 2 1 1 o->group = N_("Main"); + 4 0 0 2 0 0 2 0 0 o->subGroup = N_(""); + 4 0 0 2 0 0 2 0 0 o->displayHints = ""; + 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Refresh Rate"); + 4 2 2 2 0 0 2 0 0 o->longDesc = + . . . . . . . . . N_("The rate at which the screen is redrawn (times/second)"); + 4 0 0 2 0 0 2 0 0 o->type = CompOptionTypeInt; + 4 0 0 2 0 0 2 1 0 o->value.i = DEFAULT_REFRESH_RATE; + 4 0 0 2 0 0 2 0 0 o->rest.i.min = 1; + 4 0 0 2 0 0 2 0 0 o->rest.i.max = 200; + . . . . . . . . . + 8 2 2 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_SIZE]; + 4 0 0 2 0 0 2 2 1 o->advanced = False; + 4 0 0 2 0 0 2 0 0 o->name = "size"; + 4 0 0 2 0 0 2 1 1 o->group = N_("Main"); + 4 0 0 2 0 0 2 0 0 o->subGroup = N_(""); + 4 2 2 2 0 0 2 0 0 o->displayHints = ""; + 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Horizontal Virtual Size"); + 4 0 0 2 0 0 2 0 0 o->longDesc = N_("Screen size multiplier for virtual size"); + 4 0 0 2 0 0 2 1 0 o->type = CompOptionTypeInt; + 4 0 0 2 0 0 2 0 0 o->value.i = SCREEN_SIZE_DEFAULT; + 4 0 0 2 0 0 2 0 0 o->rest.i.min = SCREEN_SIZE_MIN; + 4 2 2 2 0 0 2 0 0 o->rest.i.max = SCREEN_SIZE_MAX; + . . . . . . . . . + 8 0 0 2 0 0 2 0 0 o = &(screen->opt[COMP_SCREEN_OPTION_VSIZE]); + 4 0 0 2 0 0 2 2 1 o->advanced = False; + 4 0 0 2 0 0 2 2 1 o->name = "vsize"; + 4 0 0 2 0 0 2 1 1 o->group = N_("Main"); + 4 2 2 2 0 0 2 0 0 o->subGroup = N_(""); + 4 0 0 2 0 0 2 0 0 o->displayHints = ""; + 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Vertical Virtual Size"); + 4 0 0 2 0 0 2 0 0 o->longDesc = N_("Screen size multiplier for vertical virtual size"); + 4 0 0 2 0 0 2 0 0 o->type = CompOptionTypeInt; + 4 2 2 2 0 0 2 1 0 o->value.i = SCREEN_VSIZE_DEFAULT; + 4 0 0 2 0 0 2 0 0 o->rest.i.min = SCREEN_VSIZE_MIN; + 4 0 0 2 0 0 2 0 0 o->rest.i.max = SCREEN_VSIZE_MAX; + . . . . . . . . . + 8 0 0 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_OPACITY_STEP]; + 4 0 0 2 0 0 2 2 1 o->advanced = False; + 4 2 2 2 0 0 2 0 0 o->name = "opacity_step"; + 4 0 0 2 0 0 2 1 1 o->group = N_("Main"); + 4 0 0 2 0 0 2 0 0 o->subGroup = N_(""); + 4 0 0 2 0 0 2 1 0 o->displayHints = ""; + 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Opacity Step"); + 4 2 2 2 0 0 2 0 0 o->longDesc = N_("Opacity change step"); + 4 0 0 2 0 0 2 0 0 o->type = CompOptionTypeInt; + 4 0 0 2 0 0 2 0 0 o->value.i = OPACITY_STEP_DEFAULT; + 4 0 0 2 0 0 2 0 0 o->rest.i.min = OPACITY_STEP_MIN; + 4 0 0 2 0 0 2 0 0 o->rest.i.max = OPACITY_STEP_MAX; + . . . . . . . . . + 8 2 2 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_SATURATION_STEP]; + 4 0 0 2 0 0 2 2 1 o->advanced = False; + 4 0 0 2 0 0 2 1 1 o->name = "saturation_step"; + 4 0 0 2 0 0 2 0 0 o->group = N_("Main"); + 4 0 0 2 0 0 2 1 0 o->subGroup = N_(""); + 4 0 0 2 0 0 2 0 0 o->displayHints = ""; + 4 2 2 2 0 0 2 0 0 o->shortDesc = N_("Saturation Step"); + 4 0 0 2 0 0 2 0 0 o->longDesc = N_("Saturation change step"); + 4 0 0 2 0 0 2 0 0 o->type = CompOptionTypeInt; + 4 0 0 2 0 0 2 0 0 o->value.i = SATURATION_STEP_DEFAULT; + 4 0 0 2 0 0 2 1 1 o->rest.i.min = SATURATION_STEP_MIN; + 4 2 2 2 0 0 2 0 0 o->rest.i.max = SATURATION_STEP_MAX; + . . . . . . . . . + 8 0 0 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_BRIGHTNESS_STEP]; + 4 0 0 2 0 0 2 2 1 o->advanced = False; + 4 0 0 2 0 0 2 0 0 o->name = "brightness_step"; + 4 0 0 2 0 0 2 1 0 o->group = N_("Main"); + 4 2 2 2 0 0 2 0 0 o->subGroup = N_(""); + 4 0 0 2 0 0 2 0 0 o->displayHints = ""; + 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Brightness Step"); + 4 0 0 2 0 0 2 0 0 o->longDesc = N_("Brightness change step"); + 4 0 0 2 0 0 2 0 0 o->type = CompOptionTypeInt; + 4 2 2 2 0 0 2 1 1 o->value.i = BRIGHTNESS_STEP_DEFAULT; + 4 0 0 2 0 0 2 0 0 o->rest.i.min = BRIGHTNESS_STEP_MIN; + 4 0 0 2 0 0 2 0 0 o->rest.i.max = BRIGHTNESS_STEP_MAX; + . . . . . . . . . + 8 0 0 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_UNREDIRECT_FS]; + 4 0 0 2 0 0 2 2 1 o->advanced = False; + 4 2 2 2 0 0 2 0 0 o->name = "unredirect_fullscreen_windows"; + 4 0 0 2 0 0 2 1 0 o->group = N_("Main"); + 4 0 0 2 0 0 2 0 0 o->subGroup = N_(""); + 4 0 0 2 0 0 2 0 0 o->displayHints = ""; + 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Unredirect Fullscreen Windows"); + 4 2 2 2 0 0 2 0 0 o->longDesc = + . . . . . . . . . N_("Allow drawing of fullscreen windows to not be redirected " + . . . . . . . . . "to offscreen pixmaps"); + 4 0 0 2 0 0 2 1 1 o->type = CompOptionTypeBool; + 4 0 0 2 0 0 2 0 0 o->value.b = UNREDIRECT_FS_DEFAULT; + . . . . . . . . . + 8 0 0 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_DEFAULT_ICON]; + 4 0 0 2 0 0 2 2 1 o->advanced = False; + 4 2 2 2 0 0 2 0 0 o->name = "default_icon"; + 4 0 0 2 0 0 2 1 0 o->group = N_("Main"); + 4 0 0 2 0 0 2 0 0 o->subGroup = N_(""); + 4 0 0 2 0 0 2 1 1 o->displayHints = "file;image;"; + 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Default Icon"); + 4 2 2 2 0 0 2 0 0 o->longDesc = N_("Default window icon image"); + 4 0 0 2 0 0 2 0 0 o->type = CompOptionTypeString; +10 0 0 2 0 0 4 0 0 o->value.s = strdup(DEFAULT_ICON_DEFAULT); + 4 0 0 2 0 0 2 0 0 o->rest.s.string = 0; + 4 0 0 2 0 0 2 0 0 o->rest.s.nString = 0; + . . . . . . . . . + . . . . . . . . . /* o = &screen->opt[COMP_SCREEN_OPTION_SLOWNESS_FIX]; + . . . . . . . . . o->advanced=False; + . . . . . . . . . o->name = "slowness_fix"; + . . . . . . . . . o->group=N_(""); + . . . . . . . . . o->subGroup=N_(""); + . . . . . . . . . o->displayHints=""; + . . . . . . . . . o->shortDesc = N_("Slowness Fix"); + . . . . . . . . . o->longDesc = N_("Toggle this option if beryl is slow or choppy. " + . . . . . . . . . "On some cards, enabling it makes beryl smoother, and on " + . . . . . . . . . "others, disabling makes beryl smoother."); + . . . . . . . . . o->type = CompOptionTypeBool; + . . . . . . . . . o->value.b = TRUE;*/ + . . . . . . . . . + 8 2 2 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_SYNC_TO_VBLANK]; + 4 0 0 2 0 0 2 0 0 o->advanced = False; + 4 0 0 2 0 0 2 1 0 o->name = "sync_to_vblank"; + 4 0 0 2 0 0 2 0 0 o->group = N_("Main"); + 4 0 0 2 0 0 2 1 1 o->subGroup = N_(""); + 4 2 2 2 0 0 2 0 0 o->displayHints = ""; + 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Sync To VBlank"); + 4 0 0 2 0 0 2 0 0 o->longDesc = N_("Only perform screen updates during vertical " + . . . . . . . . . "blanking period"); + 4 0 0 2 0 0 2 0 0 o->type = CompOptionTypeBool; + 4 0 0 2 0 0 2 0 0 o->value.b = SYNC_TO_VBLANK_DEFAULT; + . . . . . . . . . + 8 2 2 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_NUMBER_OF_DESKTOPS]; + 4 0 0 2 0 0 2 2 1 o->advanced = False; + 4 0 0 2 0 0 2 0 0 o->name = "number_of_desktops"; + 4 0 0 2 0 0 2 1 1 o->group = N_("Main"); + 4 0 0 2 0 0 2 0 0 o->subGroup = N_(""); + 4 2 2 2 0 0 2 0 0 o->displayHints = ""; + 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Number of Desktops"); + 4 0 0 2 0 0 2 0 0 o->longDesc = N_("Number of virtual desktops"); + 4 0 0 2 0 0 2 1 0 o->type = CompOptionTypeInt; + 4 0 0 2 0 0 2 0 0 o->value.i = SCREEN_NUMBER_OF_DESKTOPS_DEFAULT; + 4 2 2 2 0 0 2 0 0 o->rest.i.min = SCREEN_NUMBER_OF_DESKTOPS_MIN; + 4 0 0 2 0 0 2 0 0 o->rest.i.max = SCREEN_NUMBER_OF_DESKTOPS_MAX; + . . . . . . . . . + 8 0 0 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_CUSTOM_OUTPUT_GRID]; + 4 0 0 2 0 0 2 2 1 o->advanced = False; + 4 0 0 2 0 0 2 0 0 o->name = "custom_output_grid"; + 4 2 2 2 0 0 2 1 1 o->group = N_("Main"); + 4 0 0 2 0 0 2 0 0 o->subGroup = N_(""); + 4 0 0 2 0 0 2 1 0 o->displayHints = ""; + 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Custom Output Grid"); + 4 0 0 2 0 0 2 0 0 o->longDesc = N_("Use custom output grid instead of Xinerama info."); + 4 0 0 2 0 0 2 0 0 o->type = CompOptionTypeBool; + 4 2 2 2 0 0 2 0 0 o->value.b = FALSE; + . . . . . . . . . + 8 0 0 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_OUTPUT_GRID_ROWS]; + 4 0 0 2 0 0 2 2 1 o->advanced = False; + 4 0 0 2 0 0 2 1 1 o->name = "output_grid_rows"; + 4 2 2 2 0 0 2 0 0 o->group = N_("Main"); + 4 0 0 2 0 0 2 1 0 o->subGroup = N_(""); + 4 0 0 2 0 0 2 0 0 o->displayHints = ""; + 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Output grid rows"); + 4 0 0 2 0 0 2 0 0 o->longDesc = N_("Number of rows in the custom output grid."); + 4 0 0 2 0 0 2 0 0 o->type = CompOptionTypeInt; + 4 2 2 2 0 0 2 0 0 o->value.i = 1; + 4 0 0 2 0 0 2 1 1 o->rest.i.min = 1; + 4 0 0 2 0 0 2 0 0 o->rest.i.max = 99; + . . . . . . . . . + 8 0 0 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_OUTPUT_GRID_COLS]; + 4 2 2 2 0 0 2 0 0 o->advanced = False; + 4 0 0 2 0 0 2 0 0 o->name = "output_grid_cols"; + 4 0 0 2 0 0 2 1 0 o->group = N_("Main"); + 4 0 0 2 0 0 2 0 0 o->subGroup = N_(""); + 4 0 0 2 0 0 2 0 0 o->displayHints = ""; + 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Output grid columns"); + 4 2 2 2 0 0 2 0 0 o->longDesc = N_("Number of columns in the custom output grid."); + 4 0 0 2 0 0 2 0 0 o->type = CompOptionTypeInt; + 4 0 0 2 0 0 2 1 1 o->value.i = 2; + 4 0 0 2 0 0 2 0 0 o->rest.i.min = 1; + 4 0 0 2 0 0 2 0 0 o->rest.i.max = 99; + 4 0 0 4 0 0 0 0 0 } + . . . . . . . . . + . . . . . . . . . CompOption *compGetScreenOptions(CompScreen * screen, int *count) + 8 2 1 0 0 0 6 0 0 { + 4 0 0 2 0 0 2 1 0 *count = NUM_OPTIONS(screen); + 4 0 0 2 0 0 0 0 0 return screen->opt; + 4 0 0 4 0 0 0 0 0 } + . . . . . . . . . + . . . . . . . . . CompOption *compGetOptions(int *count) + 4 1 1 0 0 0 2 0 0 { + . . . . . . . . . static CompScreen screen; + . . . . . . . . . + 2 0 0 0 0 0 1 0 0 compScreenInitOptions(&screen); + 3 0 0 1 0 0 1 0 0 return compGetScreenOptions(&screen, count); + 2 0 0 2 0 0 0 0 0 } + +-------------------------------------------------------------------------------- +-- User-annotated source: action.c +-------------------------------------------------------------------------------- + No information has been collected for action.c + +-------------------------------------------------------------------------------- +-- User-annotated source: plugin.c +-------------------------------------------------------------------------------- + Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw + +-- line 44 ---------------------------------------- + . . . . . . . . . + . . . . . . . . . #if 0 + . . . . . . . . . #define pr_debug_verbose(a, b...) do { fprintf(stderr, a, ##b); } while(0) + . . . . . . . . . #else + . . . . . . . . . #define pr_debug_verbose(a, b...) do { } while(0) + . . . . . . . . . #endif + . . . . . . . . . + . . . . . . . . . static Bool dlloaderLoadPlugin(CompPlugin * p, char *path, char *name) + 204 2 1 0 0 0 136 0 0 { + . . . . . . . . . char *file; + . . . . . . . . . void *dlhand; + . . . . . . . . . + 1,909 23 2 1,229 18 0 170 0 0 file = malloc((path ? strlen(path) : 0) + strlen(name) + 8); + 68 0 0 34 0 0 0 0 0 if (!file) + . . . . . . . . . return FALSE; + . . . . . . . . . + 68 17 1 34 0 0 0 0 0 if (path) + 238 0 0 102 0 0 34 0 0 sprintf(file, "%s/lib%s.so", path, name); + . . . . . . . . . else + . . . . . . . . . sprintf(file, "lib%s.so", name); + . . . . . . . . . + 136 35 1 34 0 0 68 32 0 dlhand = dlopen(file, RTLD_LAZY); + 68 0 0 34 0 0 0 0 0 if (dlhand) + . . . . . . . . . { + . . . . . . . . . PluginGetInfoProc getInfo; + . . . . . . . . . char *error; + . . . . . . . . . + 17 0 0 0 0 0 17 0 0 dlerror(); + . . . . . . . . . + 68 0 0 17 0 0 34 0 0 getInfo = (PluginGetInfoProc) dlsym(dlhand, "getCompPluginInfo"); + . . . . . . . . . + 34 0 0 0 0 0 34 0 0 error = dlerror(); + 34 0 0 17 0 0 0 0 0 if (error) + . . . . . . . . . { + . . . . . . . . . fprintf(stderr, "%s: dlsym: %s\n", programName, error |