summaryrefslogtreecommitdiff
path: root/Core-CacheAnnotate
diff options
context:
space:
mode:
Diffstat (limited to 'Core-CacheAnnotate')
-rw-r--r--Core-CacheAnnotate14973
1 files changed, 0 insertions, 14973 deletions
diff --git a/Core-CacheAnnotate b/Core-CacheAnnotate
deleted file mode 100644
index 62e9be6..0000000
--- a/Core-CacheAnnotate
+++ /dev/null
@@ -1,14973 +0,0 @@
---------------------------------------------------------------------------------
-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);
- . . . . . . . . .
- . . . . . . . . . getInfo = 0;
- . . . . . . . . . }
- . . . . . . . . .
- 34 1 1 17 0 0 0 0 0 if (getInfo)
- . . . . . . . . . {
- 85 0 0 34 17 0 34 17 0 p->vTable = (*getInfo) ();
- 68 17 1 34 0 0 0 0 0 if (!p->vTable)
- . . . . . . . . . {
- . . . . . . . . . fprintf(stderr,
- . . . . . . . . . _
- . . . . . . . . . ("%s: Couldn't get vtable from '%s' plugin\n"),
- . . . . . . . . . programName, file);
- . . . . . . . . .
- . . . . . . . . . dlclose(dlhand);
- . . . . . . . . . free(file);
- . . . . . . . . .
- . . . . . . . . . return FALSE;
- . . . . . . . . . }
- 595 51 3 357 16 0 0 0 0 if (p->vTable->version != BERYL_VERSION ||
- . . . . . . . . . p->vTable->struct_plugin_size !=
- . . . . . . . . . sizeof(CompPlugin)
- . . . . . . . . . || p->vTable->struct_display_size !=
- . . . . . . . . . sizeof(CompDisplay)
- . . . . . . . . . || p->vTable->struct_screen_size !=
- . . . . . . . . . sizeof(CompScreen)
- . . . . . . . . . || p->vTable->struct_window_size !=
- . . . . . . . . . sizeof(CompWindow)
--- line 106 ----------------------------------------
--- line 145 ----------------------------------------
- . . . . . . . . . dlclose(dlhand);
- . . . . . . . . . free(file);
- . . . . . . . . .
- . . . . . . . . . return FALSE;
- . . . . . . . . . }
- . . . . . . . . . }
- . . . . . . . . . else
- . . . . . . . . . {
- 34 1 1 17 0 0 17 0 0 free(file);
- . . . . . . . . .
- 51 4 1 34 0 0 17 16 0 return FALSE;
- . . . . . . . . . }
- . . . . . . . . .
- 34 3 1 17 0 0 17 0 0 free(file);
- . . . . . . . . .
- 51 0 0 34 0 0 17 5 0 p->devPrivate.ptr = dlhand;
- 34 0 0 17 0 0 17 0 0 p->devType = "dlloader";
- . . . . . . . . .
- 34 0 0 0 0 0 17 0 0 return TRUE;
- 68 0 0 68 0 0 0 0 0 }
- . . . . . . . . .
- . . . . . . . . . static void dlloaderUnloadPlugin(CompPlugin * p)
- . . . . . . . . . {
- . . . . . . . . . dlclose(p->devPrivate.ptr);
- . . . . . . . . . }
- . . . . . . . . .
- . . . . . . . . . LoadPluginProc loaderLoadPlugin = dlloaderLoadPlugin;
- . . . . . . . . . UnloadPluginProc loaderUnloadPlugin = dlloaderUnloadPlugin;
- . . . . . . . . .
- . . . . . . . . . Bool initPluginForDisplay(CompPlugin * p, CompDisplay * d)
- 85 7 1 0 0 0 51 0 0 {
- 51 0 0 34 3 0 17 0 0 CompScreen *s, *failedScreen = d->screens;
- 17 6 2 0 0 0 17 0 0 Bool status = TRUE;
- . . . . . . . . .
- 136 2 0 85 10 2 17 0 0 if (!(*p->vTable->initDisplay) (p, d))
- . . . . . . . . . return FALSE;
- . . . . . . . . .
- 187 7 2 102 24 1 34 7 0 for (s = d->screens; s; s = s->next)
- . . . . . . . . . {
- 119 8 2 68 16 2 17 0 0 if (!(*s->initPluginForScreen) (p, s))
- . . . . . . . . . {
- . . . . . . . . . fprintf(stderr,
- . . . . . . . . . _("%s: Plugin '%s':initScreen failed\n"),
- . . . . . . . . . programName, p->vTable->name);
- . . . . . . . . . failedScreen = s;
- . . . . . . . . . status = FALSE;
- . . . . . . . . . break;
- . . . . . . . . . }
- . . . . . . . . . }
- . . . . . . . . .
- 119 9 2 68 19 1 17 0 0 for (s = d->screens; s != failedScreen; s = s->next)
- . . . . . . . . . (*s->finiPluginForScreen) (p, s);
- . . . . . . . . .
- 85 0 0 51 1 0 0 0 0 if (p->vTable->getDisplayOptions)
- . . . . . . . . . {
- . . . . . . . . . CompOption *option;
- . . . . . . . . . CompOptionValue value;
- . . . . . . . . . int nOption;
- . . . . . . . . .
- 84 9 2 48 0 0 24 0 0 option=(*p->vTable->getDisplayOptions) (d, &nOption);
- 720 18 4 236 0 0 118 0 0 while (nOption--)
- . . . . . . . . . {
- 1,802 8 2 848 139 6 742 0 0 memcpy(&value,&option->value,sizeof(CompOptionValue));
- 1,378 0 0 742 41 2 106 0 0 if (beryl_settings_context_comp_get_option_value(d->context,p->vTable->name,option->name,FALSE,&value))
- . . . . . . . . . {
- 530 0 0 318 0 0 0 0 0 if (p->vTable->setDisplayOption)
- 848 0 0 636 0 0 106 0 0 p->vTable->setDisplayOption(d,option->name,&value);
- . . . . . . . . . }
- 106 0 0 106 1 0 0 0 0 option++;
- . . . . . . . . . }
- . . . . . . . . . }
- 51 3 0 34 0 0 17 0 0 return status;
- 34 0 0 34 0 0 0 0 0 }
- . . . . . . . . .
- . . . . . . . . . void finiPluginForDisplay(CompPlugin * p, CompDisplay * d)
- . . . . . . . . . {
- . . . . . . . . . CompScreen *s;
- . . . . . . . . .
- . . . . . . . . . for (s = d->screens; s; s = s->next)
- . . . . . . . . . (*s->finiPluginForScreen) (p, s);
- . . . . . . . . .
- . . . . . . . . . (*p->vTable->finiDisplay) (p, d);
- . . . . . . . . . }
- . . . . . . . . .
- . . . . . . . . . Bool initPluginForScreen(CompPlugin * p, CompScreen * s)
- 85 9 2 0 0 0 51 0 0 {
- 17 5 1 0 0 0 17 0 0 Bool status = TRUE;
- 51 0 0 34 0 0 17 0 0 CompDisplay *d = s->display;
- 85 0 0 51 17 0 0 0 0 if (p->vTable->initScreen)
- . . . . . . . . . {
- 120 4 1 75 0 0 15 0 0 if (!(*p->vTable->initScreen) (p, s))
- . . . . . . . . . return FALSE;
- . . . . . . . . . }
- . . . . . . . . .
- 85 8 2 51 22 2 0 0 0 if (p->vTable->initWindow)
- . . . . . . . . . {
- 18 0 0 12 3 0 6 6 0 CompWindow *w, *failedWindow = s->windows;
- . . . . . . . . .
- 6,636 4 2 3,978 1 0 1,326 0 0 for (w = s->windows; w; w = w->next)
- . . . . . . . . . {
-10,560 4 2 6,600 0 0 1,320 0 0 if (!(*p->vTable->initWindow) (p, w))
- . . . . . . . . . {
- . . . . . . . . . fprintf(stderr,
- . . . . . . . . . _("%s: Plugin '%s':initWindow "
- . . . . . . . . . "failed\n"), programName, p->vTable->name);
- . . . . . . . . . failedWindow = w;
- . . . . . . . . . status = FALSE;
- . . . . . . . . . break;
- . . . . . . . . . }
- . . . . . . . . . }
- . . . . . . . . .
- 30 0 0 18 0 0 0 0 0 if (p->vTable->finiWindow)
- . . . . . . . . . {
- 42 2 1 24 0 0 6 0 0 for (w = s->windows; w != failedWindow; w = w->next)
- . . . . . . . . . (*p->vTable->finiWindow) (p, w);
- . . . . . . . . . }
- . . . . . . . . . }
- . . . . . . . . .
- 85 4 1 51 10 0 0 0 0 if (p->vTable->getScreenOptions)
- . . . . . . . . . {
- . . . . . . . . . CompOption *option;
- . . . . . . . . . CompOptionValue value;
- . . . . . . . . . int nOption;
- 10 8 2 0 0 0 10 1 1 nOption=0;
- 70 0 0 40 0 0 20 0 0 option=(*p->vTable->getScreenOptions) (s, &nOption);
- 1,132 3 1 374 0 0 187 0 0 while (nOption--)
- . . . . . . . . . {
- 3,009 14 2 1,416 259 46 1,239 10 1 memcpy(&value,&option->value,sizeof(CompOptionValue));
- 2,301 12 2 1,239 62 11 177 0 0 if (beryl_settings_context_comp_get_option_value(d->context,p->vTable->name,option->name,TRUE,&value))
- . . . . . . . . . {
- 885 0 0 531 25 0 0 0 0 if (p->vTable->setScreenOption)
- 1,416 0 0 1,062 2 0 177 0 0 p->vTable->setScreenOption(s,option->name,&value);
- . . . . . . . . . }
- 177 4 0 177 4 0 0 0 0 option++;
- . . . . . . . . . }
- . . . . . . . . . }
- . . . . . . . . .
- 51 6 1 34 1 0 17 0 0 return status;
- 34 0 0 34 0 0 0 0 0 }
- . . . . . . . . .
- . . . . . . . . . void finiPluginForScreen(CompPlugin * p, CompScreen * s)
- . . . . . . . . . {
- . . . . . . . . . if (p->vTable->finiWindow)
- . . . . . . . . . {
- . . . . . . . . . CompWindow *w = s->windows;
- . . . . . . . . .
- . . . . . . . . . for (w = s->windows; w; w = w->next)
--- line 291 ----------------------------------------
--- line 292 ----------------------------------------
- . . . . . . . . . (*p->vTable->finiWindow) (p, w);
- . . . . . . . . . }
- . . . . . . . . .
- . . . . . . . . . if (p->vTable->finiScreen)
- . . . . . . . . . (*p->vTable->finiScreen) (p, s);
- . . . . . . . . . }
- . . . . . . . . .
- . . . . . . . . . static Bool initPlugin(CompPlugin * p)
- 68 15 4 0 0 0 34 0 0 {
- 34 0 0 17 1 0 17 0 0 CompDisplay *d = compDisplays;
- . . . . . . . . .
- 119 0 0 68 11 1 17 0 0 if (!(*p->vTable->init) (p))
- . . . . . . . . . {
- . . . . . . . . . fprintf(stderr, _("%s: InitPlugin '%s' failed\n"),
- . . . . . . . . . programName, p->vTable->name);
- . . . . . . . . . return FALSE;
- . . . . . . . . . }
- . . . . . . . . .
- 34 1 1 17 0 0 0 0 0 if (d)
- . . . . . . . . . {
- 119 7 1 68 16 1 17 0 0 if (!(*d->initPluginForDisplay) (p, d))
- . . . . . . . . . {
- . . . . . . . . . fprintf(stderr,
- . . . . . . . . . _("%s: Plugin '%s':initDisplay failed\n"),
- . . . . . . . . . programName, p->vTable->name);
- . . . . . . . . .
- . . . . . . . . . (*p->vTable->fini) (p);
- . . . . . . . . .
- . . . . . . . . . return FALSE;
- . . . . . . . . . }
- . . . . . . . . . }
- . . . . . . . . .
- 34 11 2 17 0 0 17 15 1 return TRUE;
- 34 0 0 34 0 0 0 0 0 }
- . . . . . . . . .
- . . . . . . . . . static void finiPlugin(CompPlugin * p)
- . . . . . . . . . {
- . . . . . . . . . CompDisplay *d = compDisplays;
- . . . . . . . . .
- . . . . . . . . . if (d)
- . . . . . . . . . (*d->finiPluginForDisplay) (p, d);
- . . . . . . . . .
- . . . . . . . . . (*p->vTable->fini) (p);
- . . . . . . . . . }
- . . . . . . . . .
- . . . . . . . . . void screenInitPlugins(CompScreen * s)
- 4 1 1 0 0 0 2 0 0 {
- . . . . . . . . . CompPlugin *p;
- 1 0 0 0 0 0 1 0 0 int i, j = 0;
- . . . . . . . . .
- 5 1 1 2 1 1 1 0 0 for (p = plugins; p; p = p->next)
- . . . . . . . . . j++;
- . . . . . . . . .
- 4 1 1 2 0 0 0 0 0 while (j--)
- . . . . . . . . . {
- . . . . . . . . . i = 0;
- . . . . . . . . . for (p = plugins; i < j; p = p->next)
- . . . . . . . . . i++;
- . . . . . . . . .
- . . . . . . . . . if (p->vTable->initScreen)
- . . . . . . . . . (*s->initPluginForScreen) (p, s);
- . . . . . . . . . }
- 2 0 0 2 0 0 0 0 0 }
- . . . . . . . . .
- . . . . . . . . . void screenFiniPlugins(CompScreen * s)
- . . . . . . . . . {
- . . . . . . . . . CompPlugin *p;
- . . . . . . . . .
- . . . . . . . . . for (p = plugins; p; p = p->next)
- . . . . . . . . . {
- . . . . . . . . . if (p->vTable->finiScreen)
- . . . . . . . . . (*s->finiPluginForScreen) (p, s);
- . . . . . . . . . }
- . . . . . . . . . }
- . . . . . . . . .
- . . . . . . . . . void windowInitPlugins(CompWindow * w)
- 948 223 6 0 0 0 474 0 0 {
- . . . . . . . . . CompPlugin *p;
- . . . . . . . . .
- 2,630 229 3 1,341 184 3 526 0 0 for (p = plugins; p; p = p->next)
- . . . . . . . . . {
- 1,445 0 0 867 481 27 0 0 0 if (p->vTable->initWindow)
- 612 0 0 510 0 0 102 0 0 (*p->vTable->initWindow) (p, w);
- . . . . . . . . . }
- 474 0 0 474 0 0 0 0 0 }
- . . . . . . . . .
- . . . . . . . . . void windowFiniPlugins(CompWindow * w)
- 16 2 0 0 0 0 8 0 0 {
- . . . . . . . . . CompPlugin *p;
- . . . . . . . . .
- 360 2 0 212 23 0 72 0 0 for (p = plugins; p; p = p->next)
- . . . . . . . . . {
- 340 0 0 204 134 0 0 0 0 if (p->vTable->finiWindow)
- 144 0 0 120 0 0 24 0 0 (*p->vTable->finiWindow) (p, w);
- . . . . . . . . . }
- 8 0 0 8 0 0 0 0 0 }
- . . . . . . . . .
- . . . . . . . . . int findActivePluginIndex(char *name)
- 20 5 1 0 0 0 10 0 0 {
- . . . . . . . . . CompPlugin *p;
- 5 0 0 0 0 0 5 0 0 int i = 0;
- . . . . . . . . .
- 25 5 1 10 2 0 5 0 0 for (p = plugins; p; p = p->next)
- . . . . . . . . . {
- 35 5 1 20 7 1 5 0 0 if (!strcmp(p->vTable->name, name))
- 50 0 0 20 0 0 10 0 0 return (p->state == BerylPluginReady) ? i : -1;
- . . . . . . . . . i++;
- . . . . . . . . . }
- 5 0 0 5 0 0 0 0 0 return -1;
- 10 0 0 10 0 0 0 0 0 }
- . . . . . . . . .
- . . . . . . . . . CompPlugin *findActivePlugin(char *name)
- 8 2 2 0 0 0 4 0 0 {
- . . . . . . . . . CompPlugin *p;
- . . . . . . . . .
- 30 2 2 16 4 0 6 0 0 for (p = plugins; p; p = p->next)
- 42 0 0 24 9 0 6 0 0 if (!strcmp(p->vTable->name, name))
- 18 0 0 7 2 0 4 0 0 return (p->state == BerylPluginReady) ? p : 0;
- . . . . . . . . .
- 2 0 0 2 0 0 0 0 0 return 0;
- 4 0 0 4 0 0 0 0 0 }
- . . . . . . . . .
- . . . . . . . . . static CompPlugin *findActivePluginWithFeature(char *name,
- . . . . . . . . . CompPluginFeature ** feature)
- 60 8 2 0 0 0 36 0 0 {
- . . . . . . . . . CompPlugin *p;
- . . . . . . . . . int i;
- . . . . . . . . .
- 940 12 2 552 13 1 188 0 0 for (p = plugins; p; p = p->next)
- . . . . . . . . . {
- 708 0 0 354 67 0 0 0 0 if (p->state != BerylPluginReady)
- . . . . . . . . . continue;
- . . . . . . . . .
- 876 6 2 565 53 1 90 0 0 for (i = 0; i < p->vTable->nFeatures; i++)
- . . . . . . . . . {
- 504 0 0 252 17 1 42 0 0 if (!strcmp(p->vTable->features[i].name, name))
- . . . . . . . . . {
- 2 0 0 1 0 0 0 0 0 if (feature)
- 9 0 0 5 0 0 1 0 0 *feature = &p->vTable->features[i];
- . . . . . . . . .
- 3 0 0 1 0 0 1 0 0 return p;
- . . . . . . . . . }
- . . . . . . . . . }
- . . . . . . . . . }
- . . . . . . . . .
- 23 0 0 12 0 0 11 0 0 return 0;
- 24 0 0 24 0 0 0 0 0 }
- . . . . . . . . .
- . . . . . . . . . CompPluginFeature *findActiveFeature(char *name)
- 8 2 2 0 0 0 4 0 0 {
- . . . . . . . . . CompPluginFeature *feature;
- . . . . . . . . .
- 10 0 0 2 0 0 2 0 0 if (findActivePluginWithFeature(name, &feature))
- 3 1 1 1 0 0 1 0 0 return feature;
- 3 1 1 2 0 0 1 0 0 return 0;
- 4 0 0 4 0 0 0 0 0 }
- . . . . . . . . .
- . . . . . . . . . void unloadPlugin(CompPlugin * p, CompDisplay * d)
- . . . . . . . . . {
- . . . . . . . . . int i, index = -1;
- . . . . . . . . . CompOptionValue *value;
- . . . . . . . . .
- . . . . . . . . . for (i = 0; i < d->plugin.list.nValue; i++)
- . . . . . . . . . if (!strcmp(p->vTable->name, d->plugin.list.value[i].s))
--- line 455 ----------------------------------------
--- line 478 ----------------------------------------
- . . . . . . . . . /* Shrink list allocation if possible */
- . . . . . . . . . value = realloc(d->plugin.list.value, sizeof(CompOption) *
- . . . . . . . . . (d->plugin.list.nValue));
- . . . . . . . . . if (value)
- . . . . . . . . . d->plugin.list.value = value;
- . . . . . . . . . }
- . . . . . . . . .
- . . . . . . . . . CompPlugin *loadPlugin(char *name, CompDisplay * d)
- 102 19 2 0 0 0 68 0 0 {
- . . . . . . . . . CompPlugin *p;
- . . . . . . . . . char *home, *plugindir;
- . . . . . . . . . Bool status;
- . . . . . . . . . CompOptionValue *value;
- . . . . . . . . .
- 204 0 0 68 1 1 34 0 0 value = realloc(d->plugin.list.value, sizeof(CompOption) *
- . . . . . . . . . (d->plugin.list.nValue + 1));
- 34 2 1 17 0 0 0 0 0 if (!value)
- . . . . . . . . . return 0;
- . . . . . . . . .
- 187 3 1 68 0 0 34 5 0 value[d->plugin.list.nValue].s = strdup(name);
- 51 0 0 34 0 0 17 0 0 d->plugin.list.value = value;
- . . . . . . . . .
- . . . . . . . . . /* Don't increase count until loaded okay */
- . . . . . . . . .
- 51 0 0 0 0 0 34 0 0 p = malloc(sizeof(CompPlugin));
- 34 0 0 17 0 0 0 0 0 if (!p)
- . . . . . . . . . return 0;
- 34 0 0 17 0 0 17 0 0 p->next = 0;
- 34 2 1 17 0 0 17 0 0 p->devPrivate.uval = 0;
- 34 0 0 17 0 0 17 0 0 p->devType = NULL;
- 34 0 0 17 0 0 17 0 0 p->vTable = 0;
- 34 0 0 17 0 0 17 0 0 p->state = BerylPluginNeedsInit;
- . . . . . . . . .
- 51 0 0 0 0 0 34 0 0 home = getenv("HOME");
- 34 2 1 17 0 0 0 0 0 if (home)
- . . . . . . . . . {
- 391 0 0 221 0 0 51 0 0 plugindir = malloc(strlen(home) + strlen(HOME_PLUGINDIR) + 3);
- 34 0 0 17 0 0 0 0 0 if (plugindir)
- . . . . . . . . . {
- 102 11 1 34 0 0 17 0 0 sprintf(plugindir, "%s/%s", home, HOME_PLUGINDIR);
- 102 0 0 68 17 1 34 16 0 status = (*loaderLoadPlugin) (p, plugindir, name);
- 34 0 0 17 17 0 17 0 0 free(plugindir);
- . . . . . . . . .
- 34 0 0 17 0 0 0 0 0 if (status)
- . . . . . . . . . goto loaded;
- . . . . . . . . . }
- . . . . . . . . . }
- 102 1 1 51 15 0 34 17 0 status = (*loaderLoadPlugin) (p, PLUGINDIR, name);
- 34 0 0 17 0 0 0 0 0 if (status)
- . . . . . . . . . goto loaded;
- . . . . . . . . .
- . . . . . . . . . status = (*loaderLoadPlugin) (p, NULL, name);
- . . . . . . . . . if (status)
- . . . . . . . . . goto loaded;
- . . . . . . . . . fprintf(stderr, _("%s: Couldn't load plugin '%s'\n"), programName, name);
- . . . . . . . . . free(p);
- . . . . . . . . .
- . . . . . . . . . return 0;
- . . . . . . . . .
- . . . . . . . . . loaded:
- 85 34 2 51 34 0 17 0 0 d->plugin.list.nValue++;
- 51 0 0 34 0 0 17 0 0 return p;
- 68 0 0 51 0 0 0 0 0 }
- . . . . . . . . .
- . . . . . . . . . static int comparePluginDeps(CompPlugin * new, CompPlugin * existing)
- 525 0 0 0 0 0 315 0 0 {
- . . . . . . . . . CompPluginDep *deps;
- . . . . . . . . . int nDeps;
- . . . . . . . . .
- 420 0 0 315 16 0 105 0 0 deps = new->vTable->deps;
- 420 1 1 315 6 0 105 0 0 nDeps = new->vTable->nDeps;
- . . . . . . . . .
- 660 1 1 370 0 0 0 0 0 while (nDeps--)
- . . . . . . . . . {
- 479 0 0 282 12 0 85 0 0 switch (deps->rule)
- . . . . . . . . . {
- . . . . . . . . . case CompPluginRuleBefore:
- 96 0 0 60 6 0 12 0 0 if (!strcmp(deps->name, existing->vTable->name))
- . . . . . . . . . {
- . . . . . . . . . pr_debug_verbose(stderr,
- . . . . . . . . . _
- . . . . . . . . . ("%s: '%s' plugin must be loaded before '%s' "
- . . . . . . . . . "plugin\n"), programName,
- . . . . . . . . . new->vTable->name, deps->name);
- . . . . . . . . .
- . . . . . . . . . return -1;
- . . . . . . . . . }
- . . . . . . . . . break;
- . . . . . . . . . case CompPluginRuleAfterCategory:
- 48 1 1 30 4 0 6 0 0 if (!strcmp(deps->name, existing->vTable->category))
- . . . . . . . . . {
- . . . . . . . . . pr_debug_verbose(stderr,
- . . . . . . . . . _
- . . . . . . . . . ("%s: '%s' plugin must be loaded after category '%s'"
- . . . . . . . . . " which contains '%s' plugin"), programName,
- . . . . . . . . . new->vTable->name, deps->name,
- . . . . . . . . . existing->vTable->name);
- . . . . . . . . . return 1;
- . . . . . . . . . }
- . . . . . . . . . case CompPluginRuleAfter:
- 576 1 1 360 8 0 72 0 0 if (!strcmp(deps->name, existing->vTable->name))
- . . . . . . . . . {
- . . . . . . . . . pr_debug_verbose(stderr,
- . . . . . . . . . _
- . . . . . . . . . ("%s: '%s' plugin must be loaded after '%s' "
- . . . . . . . . . "plugin\n"), programName,
- . . . . . . . . . new->vTable->name, deps->name);
- . . . . . . . . .
- 8 0 0 0 0 0 4 0 0 return 1;
- . . . . . . . . . }
- . . . . . . . . . break;
- . . . . . . . . . case CompPluginRuleRequire:
- 5 0 0 2 0 0 1 0 0 if (!findActiveFeature(deps->name))
- . . . . . . . . . {
- . . . . . . . . . pr_debug_verbose(stderr,
- . . . . . . . . . "%s: '%s' plugin needs feature '%s' which "
- . . . . . . . . . "is currently not provided by any plugin\n",
- . . . . . . . . . programName, new->vTable->name, deps->name);
- . . . . . . . . .
- 2 0 0 0 0 0 1 0 0 return 1;
- . . . . . . . . . }
- . . . . . . . . . break;
- . . . . . . . . . }
- . . . . . . . . .
- 80 0 0 80 0 0 0 0 0 deps++;
- . . . . . . . . . }
- . . . . . . . . .
- 205 0 0 105 0 0 100 0 0 return 0;
- 210 0 0 210 0 0 0 0 0 }
- . . . . . . . . .
- . . . . . . . . . static Bool checkPluginDeps(CompPlugin * p)
- 68 6 1 0 0 0 34 0 0 {
- . . . . . . . . . CompPluginDep *deps;
- . . . . . . . . . int nDeps;
- . . . . . . . . .
- 68 7 2 51 7 0 17 0 0 deps = p->vTable->deps;
- 68 0 0 51 0 0 17 0 0 nDeps = p->vTable->nDeps;
- . . . . . . . . .
- 149 7 2 88 0 0 0 0 0 while (nDeps--)
- . . . . . . . . . {
- 134 0 0 54 10 3 0 0 0 switch (deps->rule)
- . . . . . . . . . {
- . . . . . . . . . case CompPluginRuleRequire:
- 5 0 0 2 0 0 1 0 0 if (!findActiveFeature(deps->name))
- . . . . . . . . . {
- . . . . . . . . . fprintf(stderr,
- . . . . . . . . . "%s: '%s' plugin needs feature '%s' which "
- . . . . . . . . . "is currently not provided by any plugin\n",
- . . . . . . . . . programName, p->vTable->name, deps->name);
- . . . . . . . . .
- . . . . . . . . . return FALSE;
- . . . . . . . . . }
- . . . . . . . . . break;
- . . . . . . . . . default:
- . . . . . . . . . break;
- . . . . . . . . . }
- . . . . . . . . .
- 27 0 0 27 0 0 0 0 0 deps++;
- . . . . . . . . . }
- . . . . . . . . .
- 34 1 1 17 0 0 17 0 0 return TRUE;
- 34 0 0 34 0 0 0 0 0 }
- . . . . . . . . .
- . . . . . . . . . static Bool splashWasActive = FALSE;
- . . . . . . . . .
- . . . . . . . . . static void splashActivate(CompPlugin * p)
- 68 6 1 0 0 0 34 0 0 {
- 34 0 0 17 17 1 17 0 0 CompDisplay *d = compDisplays;
- . . . . . . . . .
- 114 4 1 44 17 1 9 0 0 if (splashWasActive || strcmp(p->vTable->name, "splash") != 0)
- 8 0 0 0 0 0 0 0 0 return;
- 1 0 0 0 0 0 1 0 0 splashWasActive = TRUE;
- . . . . . . . . .
- 1 0 0 0 0 0 1 0 0 int i, nOpts = 0;
- 7 1 1 4 0 0 2 0 0 CompOption *o = p->vTable->getDisplayOptions(d, &nOpts);
- . . . . . . . . . CompScreen *s;
- . . . . . . . . .
- 11 0 0 6 0 0 2 0 0 for (s = d->screens; s; s = s->next)
- . . . . . . . . . {
- 37 0 0 26 0 0 1 0 0 for (i = 0; i < nOpts; i++)
- . . . . . . . . . {
- 96 1 1 24 0 0 8 0 0 if (strcmp(o[i].name, "initiate") == 0)
- . . . . . . . . . {
- . . . . . . . . . CompOption root;
- . . . . . . . . .
- 1 0 0 0 0 0 1 0 0 root.type = CompOptionTypeInt;
- 1 0 0 0 0 0 1 0 0 root.name = "root";
- 3 0 0 2 0 0 1 0 0 root.value.i = s->root;
- 2 0 0 0 0 0 1 0 0 printf("Initiating splash\n");
- 21 1 1 6 0 0 1 0 0 (*o[i].value.action.initiate) (d,
- . . . . . . . . . &(o[i].
- . . . . . . . . . value.action), 0, &root, 1);
- . . . . . . . . . }
- . . . . . . . . . }
- . . . . . . . . . }
- 34 8 1 34 0 0 0 0 0 }
- . . . . . . . . .
- . . . . . . . . . static Bool tryInitPlugin(CompPlugin * p)
- 68 10 3 0 0 0 34 0 0 {
- . . . . . . . . . CompPlugin *plugin;
- . . . . . . . . . int i;
- . . . . . . . . .
- 179 17 4 118 18 2 17 0 0 for (i = 0; i < p->vTable->nFeatures; i++)
- . . . . . . . . . {
- 110 5 1 50 7 0 20 0 0 plugin = findActivePluginWithFeature(p->vTable->features[i].name, 0);
- . . . . . . . . .
- 20 0 0 10 0 0 0 0 0 if (plugin)
- . . . . . . . . . {
- . . . . . . . . . fprintf(stderr,
- . . . . . . . . . "%s: Plugin '%s' can't be activated because "
- . . . . . . . . . "plugin '%s' is already providing feature '%s'\n",
- . . . . . . . . . programName, p->vTable->name,
- . . . . . . . . . plugin->vTable->name, p->vTable->features[i].name);
- . . . . . . . . . return FALSE;
- . . . . . . . . . }
- . . . . . . . . . }
- . . . . . . . . .
- 68 0 0 17 0 0 17 0 0 if (!checkPluginDeps(p))
- . . . . . . . . . {
- . . . . . . . . . fprintf(stderr,
- . . . . . . . . . _
- . . . . . . . . . ("%s: Can't activate '%s' plugin due to dependency "
- . . . . . . . . . "problems\n"), programName, p->vTable->name);
- . . . . . . . . .
- . . . . . . . . . return FALSE;
- . . . . . . . . . }
- . . . . . . . . .
- 68 11 2 17 0 0 17 0 0 if (!initPlugin(p))
- . . . . . . . . . {
- . . . . . . . . . fprintf(stderr, _("%s: Couldn't activate plugin '%s'\n"),
- . . . . . . . . . programName, p->vTable->name);
- . . . . . . . . .
- . . . . . . . . . return FALSE;
- . . . . . . . . . }
- . . . . . . . . .
- 34 12 1 17 0 0 17 0 0 splashActivate(p);
- . . . . . . . . .
- 34 0 0 17 0 0 17 3 1 p->state = BerylPluginReady;
- . . . . . . . . .
- 34 0 0 17 0 0 17 0 0 return TRUE;
- 34 0 0 34 14 1 0 0 0 }
- . . . . . . . . .
- . . . . . . . . . CompPlugin *getPlugins(void)
- 110 34 1 0 0 0 55 0 0 {
- 55 0 0 55 46 0 0 0 0 return plugins;
- 110 0 0 110 0 0 0 0 0 }
- . . . . . . . . .
- . . . . . . . . .
- . . . . . . . . . static void sort_plugin_list(void)
- 3 1 1 0 0 0 1 0 0 {
- 1 1 1 0 0 0 1 0 0 CompPlugin *new_list = NULL, *todo;
- . . . . . . . . .
- 3 0 0 1 0 0 0 0 0 if (!plugins)
- . . . . . . . . . {
- . . . . . . . . . pr_debug_verbose("No plugins loaded.\n");
- . . . . . . . . . return;
- . . . . . . . . . }
- . . . . . . . . .
- . . . . . . . . . /* Put first plugin in new list */
- 2 0 0 1 0 0 1 0 0 new_list = plugins;
- 3 0 0 2 0 0 1 0 0 plugins = plugins->next;
- 2 0 0 1 0 0 1 0 0 new_list->next = NULL;
- 2 1 1 1 0 0 1 0 0 todo = plugins;
- . . . . . . . . .
- . . . . . . . . . pr_debug_verbose("Put %s at head of list.\n", new_list->vTable->name);
- . . . . . . . . .
- 35 2 1 17 0 0 0 0 0 while (todo)
- . . . . . . . . . {
- 32 0 0 16 0 0 16 0 0 CompPlugin *insert_at = new_list, *prev =
- 80 0 0 48 0 0 32 0 0 new_list, *next_todo = todo->next;
- 16 0 0 0 0 0 16 0 0 int done = 0;
- . . . . . . . . .
- . . . . . . . . . pr_debug_verbose("Considering %s.\n", todo->vTable->name);
- . . . . . . . . .
- 476 0 0 230 0 0 0 0 0 while (insert_at && !done)
- . . . . . . . . . {
- 525 1 1 210 0 0 105 0 0 if (comparePluginDeps(todo, insert_at) == 1)
- . . . . . . . . . {
- . . . . . . . . . pr_debug_verbose(" %s must be after %s.\n",
- . . . . . . . . . todo->vTable->name, insert_at->vTable->name);
- 15 0 0 10 0 0 5 0 0 todo->next = insert_at;
- 15 0 0 10 0 0 0 0 0 if (insert_at == new_list)
- 6 0 0 2 0 0 2 0 0 new_list = todo;
- . . . . . . . . . else
- 9 0 0 6 0 0 3 0 0 prev->next = todo;
- 5 0 0 0 0 0 5 0 0 done = 1;
- . . . . . . . . . }
- 210 0 0 105 0 0 105 0 0 prev = insert_at;
- 315 0 0 210 0 0 105 0 0 insert_at = insert_at->next;
- . . . . . . . . . }
- . . . . . . . . .
- 32 0 0 16 0 0 0 0 0 if (!done)
- . . . . . . . . . {
- . . . . . . . . . pr_debug_verbose(" %s added to list tail.\n", todo->vTable->name);
- 33 0 0 22 0 0 11 0 0 prev->next = todo;
- 22 0 0 11 0 0 11 0 0 todo->next = NULL;
- . . . . . . . . . }
- 32 0 0 16 0 0 16 0 0 todo = next_todo;
- . . . . . . . . . }
- . . . . . . . . .
- 2 0 0 1 0 0 1 0 0 plugins = new_list;
- . . . . . . . . .
- . . . . . . . . . pr_debug("New list: ");
- 37 0 0 18 0 0 0 0 0 while (new_list)
- . . . . . . . . . {
- . . . . . . . . . pr_debug("%s ", new_list->vTable->name);
- 51 0 0 34 0 0 17 0 0 new_list = new_list->next;
- . . . . . . . . . }
- . . . . . . . . . pr_debug("\n");
- 2 0 0 2 0 0 0 0 0 }
- . . . . . . . . .
- . . . . . . . . . void updatePlugins(CompDisplay * d)
- 5 1 1 0 0 0 3 0 0 {
- . . . . . . . . . CompOption *o;
- 1 0 0 0 0 0 1 0 0 CompPlugin *p, *prev = NULL;
- 2 1 1 0 0 0 2 0 0 int i, j, old_num = 0, new_num = 0;
- 1 0 0 0 0 0 1 0 0 Bool settingsLoaded = FALSE;
- . . . . . . . . .
- 6 1 1 3 1 0 1 0 0 for (i = 0; i < d->nRequestFlags; i++)
- . . . . . . . . . {
- . . . . . . . . . for (j = 0; j < 8; j++)
- . . . . . . . . . {
- . . . . . . . . . d->requestFlags[i].data[j] = 0;
- . . . . . . . . . }
- . . . . . . . . . }
- . . . . . . . . .
- . . . . . . . . . /* Unload by default. */
- . . . . . . . . . pr_debug("Pop: ");
- 2 0 0 1 1 0 1 0 0 p = plugins;
- 3 1 1 1 0 0 0 0 0 while (p)
- . . . . . . . . . {
- . . . . . . . . . old_num++;
- . . . . . . . . . pr_debug("%s ", p->vTable->name);
- . . . . . . . . .
- . . . . . . . . .
- . . . . . . . . . finiPlugin(p);
- . . . . . . . . . p->state = BerylPluginNeedsUnload;
- . . . . . . . . .
--- line 815 ----------------------------------------
--- line 823 ----------------------------------------
- . . . . . . . . . * first startup to get the list of plugins to be
- . . . . . . . . . * activated
- . . . . . . . . . */
- . . . . . . . . .
- . . . . . . . . .
- . . . . . . . . . GSList * active_plugins;
- . . . . . . . . . GSList * iter;
- . . . . . . . . . //o = &d->opt[COMP_DISPLAY_OPTION_ACTIVE_PLUGINS];
- 4 0 0 2 0 0 2 1 0 active_plugins=beryl_settings_context_get_active_plugins(d->context);
- . . . . . . . . .
- . . . . . . . . . /*
- . . . . . . . . . * Now mark names still in the list as ok, and
- . . . . . . . . . * find how many plugins we'll have in the new
- . . . . . . . . . * list. Don't load new plugins yet though,
- . . . . . . . . . * because we want to make sure we can allocate
- . . . . . . . . . * the new list first.
- . . . . . . . . . */
- . . . . . . . . .
- 90 1 1 53 0 0 18 0 0 for (iter=active_plugins;iter;iter=iter->next)
- . . . . . . . . . {
- . . . . . . . . . pr_debug("Plugin %s ", beryl_settings_plugin_get_name(iter->data));
- 34 0 0 17 1 0 17 0 0 p = plugins;
- 51 0 0 17 0 0 0 0 0 while (p)
- . . . . . . . . . {
- . . . . . . . . . if (!strcmp(beryl_settings_plugin_get_name(iter->data), p->vTable->name))
- . . . . . . . . . {
- . . . . . . . . . pr_debug("matches an existing plugin name.\n");
- . . . . . . . . . if (p->state == BerylPluginNeedsUnload)
- . . . . . . . . . {
- . . . . . . . . . p->state = BerylPluginNeedsInit;
- . . . . . . . . . new_num++;
--- line 853 ----------------------------------------
--- line 866 ----------------------------------------
- . . . . . . . . .
- . . . . . . . . . pr_debug("New number of plugins is %d.\n", new_num);
- . . . . . . . . . pr_debug("Checking for new plugins.\n");
- . . . . . . . . .
- . . . . . . . . . /*
- . . . . . . . . . * Now mark names still in the list as ok, and
- . . . . . . . . . * seek to load plugins with new names.
- . . . . . . . . . */
- 90 1 1 53 17 0 18 0 0 for (iter = active_plugins; iter; iter=iter->next)
- . . . . . . . . . {
- 34 3 0 17 0 0 17 0 0 p = plugins;
- 323 3 1 153 0 0 0 0 0 while (p)
- . . . . . . . . . {
- 1,632 0 0 680 266 2 272 0 0 if (!strcmp(beryl_settings_plugin_get_name(iter->data), p->vTable->name))
- . . . . . . . . . {
- . . . . . . . . . break;
- . . . . . . . . . }
- 408 0 0 272 26 0 136 0 0 p = p->next;
- . . . . . . . . . }
- . . . . . . . . .
- . . . . . . . . . /* New plugin? */
- 34 1 1 17 0 0 0 0 0 if (!p)
- . . . . . . . . . {
- . . . . . . . . . pr_debug("Seeking to load %s.\n", beryl_settings_plugin_get_name(iter->data));
- 136 0 0 51 0 0 51 0 0 p = loadPlugin(beryl_settings_plugin_get_name(iter->data), d);
- 34 0 0 17 0 0 0 0 0 if (p)
- . . . . . . . . . {
- 51 0 0 34 17 0 17 0 0 p->next = plugins;
- 34 0 0 17 0 0 17 0 0 plugins = p;
- 17 0 0 17 17 0 0 0 0 new_num++;
- . . . . . . . . . }
- . . . . . . . . . }
- . . . . . . . . . }
- . . . . . . . . .
- . . . . . . . . . /* Unload old plugins before sorting! */
- 2 0 0 1 0 0 1 0 0 p = plugins;
- 37 1 1 18 0 0 0 0 0 while (p)
- . . . . . . . . . {
- 51 0 0 34 16 0 17 0 0 CompPlugin *next = p->next;
- . . . . . . . . .
- 68 1 1 34 6 0 0 0 0 if (p->state == BerylPluginNeedsUnload)
- . . . . . . . . . {
- . . . . . . . . . pr_debug("Unloading %s...", p->vTable->name);
- . . . . . . . . . if (p == plugins)
- . . . . . . . . . plugins = next;
- . . . . . . . . . else
- . . . . . . . . . prev->next = next;
- . . . . . . . . . unloadPlugin(p, d);
- . . . . . . . . . pr_debug("done.\n");
- . . . . . . . . . }
- . . . . . . . . . else
- 34 0 0 17 0 0 17 0 0 prev = p;
- 34 0 0 17 0 0 17 0 0 p = next;
- . . . . . . . . . }
- . . . . . . . . .
- . . . . . . . . . pr_debug_verbose("Seeking to arrange new plugin list.\n");
- . . . . . . . . .
- 1 0 0 0 0 0 1 0 0 sort_plugin_list();
- . . . . . . . . .
- . . . . . . . . . pr_debug_verbose("Initialising new plugins.\n");
- . . . . . . . . .
- . . . . . . . . . /*
- . . . . . . . . . * Ok. Now we know what needs initialising and in.
- . . . . . . . . . * what order.
- . . . . . . . . . *
- . . . . . . . . . * This could be done more efficiently (O(n^2/2) at the mo),
- . . . . . . . . . * but n will normally be small, it isn't run often,
- . . . . . . . . . * and I decided the extra complexity of a doubly linked list
- . . . . . . . . . * wasn't worth it. - NC
- . . . . . . . . . */
- . . . . . . . . .
- 2 0 0 1 0 0 1 0 0 i = new_num;
- 37 6 3 18 0 0 0 0 0 while (i)
- . . . . . . . . . {
- 17 9 1 0 0 0 17 0 0 CompPlugin *prev = NULL;
- . . . . . . . . .
- 34 0 0 17 0 0 17 0 0 p = plugins;
- 629 1 1 442 0 0 17 0 0 for (j = 1; j < i; j++)
- . . . . . . . . . {
- 272 0 0 136 0 0 136 0 0 prev = p;
- 408 0 0 272 106 1 136 0 0 p = p->next;
- . . . . . . . . . }
- . . . . . . . . . pr_debug("Trying to initialise %s... ", p->vTable->name);
- 68 0 0 34 15 2 0 0 0 if (p->state == BerylPluginNeedsInit)
- . . . . . . . . . {
- 68 11 1 17 0 0 17 0 0 if (!tryInitPlugin(p))
- . . . . . . . . . {
- . . . . . . . . . fprintf(stderr,
- . . . . . . . . . "Couldn't initialise %s. This should not happen!\n",
- . . . . . . . . . p->vTable->name);
- . . . . . . . . . if (prev)
- . . . . . . . . . prev->next = p->next;
- . . . . . . . . . else
- . . . . . . . . . plugins = p->next;
- . . . . . . . . . }
- . . . . . . . . . else
- . . . . . . . . . pr_debug("Done.\n");
- . . . . . . . . . }
- 17 7 1 17 15 1 0 0 0 i--;
- . . . . . . . . . }
- . . . . . . . . .
- . . . . . . . . . pr_debug_verbose("Initialisation done.\n");
- . . . . . . . . .
- . . . . . . . . . pr_debug("Indirect routine.\n");
- . . . . . . . . . //(*d->setDisplayOption) (d, o->name, &d->plugin);
- . . . . . . . . .
- 2 0 0 1 0 0 1 1 0 d->dirtyPluginList = FALSE;
- . . . . . . . . .
- . . . . . . . . . pr_debug("Leaving.\n");
- 4 0 0 3 1 1 0 0 0 }
- . . . . . . . . .
- . . . . . . . . . void finiPlugins(CompDisplay * d)
- . . . . . . . . . {
- . . . . . . . . . while (plugins)
- . . . . . . . . . {
- . . . . . . . . . CompPlugin *next = plugins->next;
- . . . . . . . . .
- . . . . . . . . . finiPlugin(plugins);
--- line 983 ----------------------------------------
-
---------------------------------------------------------------------------------
--- User-annotated source: main.c
---------------------------------------------------------------------------------
- Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw
-
--- line 42 ----------------------------------------
- . . . . . . . . .
- . . . . . . . . . char *programName;
- . . . . . . . . . char **programArgv;
- . . . . . . . . . int programArgc;
- . . . . . . . . . REGION infiniteRegion;
- . . . . . . . . . REGION emptyRegion;
- . . . . . . . . .
- . . . . . . . . . REGION *getInfiniteRegion(void)
- 4 2 1 0 0 0 2 0 0 {
- 2 2 1 0 0 0 0 0 0 return &infiniteRegion;
- 4 0 0 4 0 0 0 0 0 }
- . . . . . . . . .
- . . . . . . . . . REGION *getEmptyRegion(void)
- . . . . . . . . . {
- . . . . . . . . . return &emptyRegion;
- . . . . . . . . . }
- . . . . . . . . .
- . . . . . . . . . char *getProgramName(void)
- 6 3 2 0 0 0 3 0 0 {
- 3 0 0 3 3 1 0 0 0 return programName;
- 6 0 0 6 0 0 0 0 0 }
- . . . . . . . . .
- . . . . . . . . . char **getProgramArgv(void)
- . . . . . . . . . {
- . . . . . . . . . return programArgv;
- . . . . . . . . . }
- . . . . . . . . .
- . . . . . . . . . int getProgramArgc(void)
- . . . . . . . . . {
--- line 70 ----------------------------------------
--- line 108 ----------------------------------------
- . . . . . . . . . "[--version | -v] "
- . . . . . . . . . "[--help | -h] " "[PLUGIN ...]\n"), programName);
- . . . . . . . . . }
- . . . . . . . . .
- . . . . . . . . . static void signalHandler(int sig)
- . . . . . . . . . {
- . . . . . . . . . int status;
- . . . . . . . . .
- 12,240 286 2 0 0 0 8,160 0 0 switch (sig)
- . . . . . . . . . {
- 6,120 0 0 2,040 1,014 264 0 0 0 case SIGCHLD:
- 486 0 0 486 0 0 0 0 0 waitpid(-1, &status, WNOHANG | WUNTRACED);
- . . . . . . . . . break;
- 3,594 288 1 3,594 0 0 0 0 0 case SIGHUP:
- 2,040 0 0 0 0 0 2,040 0 0 restartSignal = TRUE;
- 4,080 5 0 2,040 0 0 2,040 0 0 default:
- 4,080 0 0 0 0 0 0 0 0 break;
- . . . . . . . . . }
- 3,840 386 2 0 0 0 0 0 0 }
- 12,240 0 0 6,120 0 0 6,120 488 120
- . . . . . . . . . static void detect_tfp(void)
- 1,173 44 3 390 16 6 781 0 0 {
- 2 0 0 0 0 0 2 0 0 pid_t p = fork();
- . . . . . . . . .
- 2 0 0 1 0 0 0 0 0 if (p)
- . . . . . . . . . {
- 120 0 0 0 0 0 120 0 0 int stat;
- 1,233 0 0 363 0 0 0 0 0
- 4 0 0 1 0 0 1 0 0 waitpid(p, &stat, 0);
- 3,408 18 1 2 0 0 1,702 0 0 if (!WIFEXITED(stat))
- 729 0 0 243 41 22 243 0 0 {
- 972 0 0 243 0 0 486 0 0 fprintf(stderr,
- . . . . . . . . . _
- . . . . . . . . . ("Something went wrong with texture_from_pixmap detection, giving up."));
- 12,240 3 0 10,200 0 0 0 0 0 exit(1);
- . . . . . . . . . }
- . . . . . . . . . else
- . . . . . . . . . {
- 5,398 35 2 2 0 0 1 0 0 if (WEXITSTATUS(stat))
- . . . . . . . . . {
- . . . . . . . . . indirectRendering = FALSE;
- . . . . . . . . . useCow = TRUE;
- . . . . . . . . . strictBinding = FALSE;
- . . . . . . . . . skipGlYield = TRUE;
- 5,094 32 1 0 0 0 2,830 0 0 printf(_("texture_from_pixmap absent, using Copy mode\n"));
- 3,553 34 1 0 0 0 0 0 0 }
- . . . . . . . . . else
- . . . . . . . . . {
- 137 12 1 68 4 0 69 0 0 indirectRendering = TRUE;
- 205 0 0 68 0 0 69 0 0 useCow = TRUE;
- 1 0 0 0 0 0 1 0 0 strictBinding = TRUE;
- 2 0 0 0 0 0 1 0 0 printf(_("texture_from_pixmap Present\n"));
- 285 3 0 95 6 0 95 0 0 }
- 285 11 0 95 0 0 95 0 0 }
- 380 0 0 95 0 0 95 0 0 }
- . . . . . . . . . else
- . . . . . . . . . {
- 363 17 1 137 4 0 0 0 0 execl("/bin/sh", "sh", "-c",
- . . . . . . . . . "glxinfo -i 2>/dev/null | grep -q -i GLX_EXT_texture_from_pixmap",
- . . . . . . . . . (char *)NULL);
- 2,328 0 0 522 0 0 0 0 0 exit(1);
- . . . . . . . . . }
- 3,654 15 1 1,566 44 1 1,566 0 0
- 3 0 0 2 0 0 0 0 0 }
- 5,742 10 1 1,566 0 0 2,088 0 0
- . . . . . . . . . static void detect_nvidia(void)
- 3 1 1 0 0 0 1 0 0 {
- 2 0 0 0 0 0 2 0 0 pid_t p = fork();
- . . . . . . . . .
- 2 0 0 1 0 0 0 0 0 if (p)
- . . . . . . . . . {
- 537 0 0 179 11 0 179 0 0 int stat;
- . . . . . . . . .
- 720 0 0 180 0 0 180 0 0 waitpid(p, &stat, 0);
- 6 1 1 2 0 0 1 0 0 if (!WIFEXITED(stat))
- 716 0 0 179 0 0 179 0 0 {
- . . . . . . . . . fprintf(stderr,
- 895 0 0 179 0 0 179 0 0 _
- . . . . . . . . . ("Something went wrong with Nvidia detection, giving up."));
- . . . . . . . . . exit(1);
- . . . . . . . . . }
- . . . . . . . . . else
- . . . . . . . . . {
- 3,969 26 2 3,398 0 0 1 0 0 if (WEXITSTATUS(stat))
- . . . . . . . . . {
- 2 0 0 0 0 0 1 0 0 printf(_
- . . . . . . . . . ("Nvidia Absent, checking for texture_from_pixmap\n"));
- 1,216 0 0 0 0 0 608 0 0 detect_tfp();
- 4,249 31 1 607 33 1 0 0 0 }
- . . . . . . . . . else
- . . . . . . . . . {
- . . . . . . . . . indirectRendering = FALSE;
- . . . . . . . . . useCow = TRUE;
- . . . . . . . . . strictBinding = FALSE;
- 285 10 0 95 0 0 95 0 0 isNVTFP = TRUE;
- . . . . . . . . . nvidia = TRUE;
- . . . . . . . . . printf(_("Nvidia Present\n"));
- 384 6 0 192 4 0 192 0 0 }
- . . . . . . . . . }
- . . . . . . . . . }
- . . . . . . . . . else
- . . . . . . . . . {
- . . . . . . . . . execl("/bin/sh", "sh", "-c",
- 88 2 0 44 1 0 44 0 0 "xdpyinfo | grep -q -i NV-GLX", (char *)NULL);
- . . . . . . . . . exit(1);
- . . . . . . . . . }
- . . . . . . . . .
- 392 15 1 132 22 0 260 0 0 }
- . . . . . . . . .
- . . . . . . . . . static void detect_xgl(Bool onlyShm)
- 541 1 1 179 0 0 181 0 0 {
- 2 0 0 0 0 0 2 0 0 pid_t p = fork();
- 716 0 0 179 0 0 179 0 0
- 2 0 0 1 0 0 0 0 0 if (p)
- 358 24 1 179 0 0 179 0 0 {
- 358 0 0 179 0 0 179 0 0 int stat;
- 358 0 0 179 0 0 179 0 0
- 362 0 0 180 0 0 180 0 0 waitpid(p, &stat, 0);
- 364 1 1 181 0 0 180 0 0 if (!WIFEXITED(stat))
- 358 0 0 179 0 0 179 0 0 {
- . . . . . . . . . fprintf(stderr,
- . . . . . . . . . _("Something went wrong with Xgl detection, giving up."));
- . . . . . . . . . exit(1);
- . . . . . . . . . }
- 1,214 0 0 1,214 0 0 0 0 0 else
- . . . . . . . . . {
- 7 0 0 2 0 0 1 0 0 if (WEXITSTATUS(stat))
- . . . . . . . . . {
- 5,064 40 0 714 61 1 0 0 0 //no XGL
- 2 1 1 0 0 0 1 0 0 printf(_("XGL Absent, checking for NVIDIA\n"));
- 2 0 0 1 0 0 0 0 0 if (!onlyShm)
- 287 9 0 95 0 0 1 0 0 detect_nvidia();
- . . . . . . . . . }
- 178 12 1 89 0 0 0 0 0 else
- . . . . . . . . . {
- 22 2 0 11 0 0 0 0 0 noShm = TRUE;
- . . . . . . . . . useCow = FALSE;
- 248 0 0 124 0 0 0 0 0 if (!onlyShm)
- . . . . . . . . . {
- 179 0 0 0 0 0 0 0 0 indirectRendering = FALSE;
- . . . . . . . . . useCow = FALSE;
- . . . . . . . . . strictBinding = FALSE;
- . . . . . . . . . printf(_("XGL Present\n"));
- . . . . . . . . . }
- . . . . . . . . . }
- . . . . . . . . . }
- . . . . . . . . . }
- . . . . . . . . . else
- 179 0 0 179 0 0 0 0 0 {
- . . . . . . . . . execl("/bin/sh", "sh", "-c", "xvinfo | grep -q -i Xgl", (char *)NULL);
- . . . . . . . . . exit(1);
- 5,660 30 1 0 0 0 3,396 0 0 }
- 3,964 0 0 2 0 0 1,132 0 0 }
- 566 0 0 0 0 0 566 0 0
- 566 0 0 0 0 0 566 0 0 static inline void init_variables(void)
- 568 30 2 0 0 0 567 0 0 {
- 1,699 0 0 566 31 0 1,133 1 1 emptyRegion.rects = &emptyRegion.extents;
- 1,699 0 0 566 36 0 1 0 0 emptyRegion.numRects = 0;
- 1 0 0 0 0 0 1 0 0 emptyRegion.extents.x1 = 0;
- 1 0 0 0 0 0 1 0 0 emptyRegion.extents.y1 = 0;
- 3,963 4 1 1,132 31 0 1,699 0 0 emptyRegion.extents.x2 = 0;
- 1 1 1 0 0 0 1 0 0 emptyRegion.extents.y2 = 0;
- 3,963 0 0 1,132 21 0 1,699 0 0 emptyRegion.size = 0;
- 6,186 38 2 1,690 36 3 1,690 0 0
- 4,992 2 1 1,451 36 2 1,452 0 0 infiniteRegion.rects = &infiniteRegion.extents;
- 1,699 0 0 566 27 0 1,133 0 0 infiniteRegion.numRects = 1;
- 1,699 0 0 566 22 0 1,133 0 0 infiniteRegion.extents.x1 = MINSHORT;
- 2,265 14 1 566 166 0 567 0 0 infiniteRegion.extents.y1 = MINSHORT;
- 567 0 0 0 0 0 567 0 0 infiniteRegion.extents.x2 = MAXSHORT;
- 1,699 1 1 566 0 0 1 0 0 infiniteRegion.extents.y2 = MAXSHORT;
- 2 0 0 2 0 0 0 0 0 }
- 240 0 0 0 0 0 160 0 0
- 120 5 1 40 0 0 80 0 0 /* Keep them equal to their sopts version */
- 40 0 0 0 0 0 40 0 0 #define OPT_HELP 'h'
- 200 0 0 40 0 0 40 0 0 #define OPT_VERSION 'v'
- . . . . . . . . . #define OPT_DISPLAY 1
- . . . . . . . . . #define OPT_SCREEN 2
- 540 0 0 121 0 0 0 0 0 #define OPT_FORCE_NVIDIA 4
- . . . . . . . . . #define OPT_FORCE_XGL 5
- 1,134 6 1 0 0 0 567 0 0 #define OPT_FORCE_AIGLX 6
- 81 0 0 0 0 0 81 0 0 #define OPT_USE_COPY 7
- 81 0 0 0 0 0 81 0 0 #define OPT_SM_CLIENT_ID 8
- 486 0 0 243 0 0 81 0 0
- . . . . . . . . . int main(int argc, char **argv)
- 332 6 1 82 0 0 166 1 0 {
- 1 0 0 0 0 0 1 0 0 char *displayName = 0;
- . . . . . . . . . char *plugin[256];
- 1 0 0 0 0 0 1 0 0 int screenNum = -1;
- 1 1 1 0 0 0 1 0 0 int nPlugin = 0;
- 1 0 0 0 0 0 1 0 0 int result = 0;
- 2,105 0 0 526 0 0 527 0 0 Bool disableSm = FALSE;
- 2,631 0 0 1,052 0 0 527 0 0 char *clientId = NULL;
- 1 0 0 0 0 0 1 0 0 Bool forceNvidia = FALSE;
- 2,265 1 0 566 11 0 1,133 0 0 Bool forceXgl = FALSE;
- 1,133 0 0 0 0 0 1 0 0 Bool forceAiglx = FALSE;
- 3,963 0 0 3,396 1 0 1 0 0 Bool checkXglShm = FALSE;
- . . . . . . . . . int optch;
- 4 1 1 2 1 1 2 0 0 char sopts[] = "hv";
- 553 158 1 0 0 0 316 0 0 struct option lopts[] = {
- . . . . . . . . . {"help", 0, 0, OPT_HELP},
- 237 0 0 79 2 0 0 0 0 {"version", 0, 0, OPT_VERSION},
- . . . . . . . . . {"display", 1, 0, OPT_DISPLAY},
- . . . . . . . . . {"screen", 1, 0, OPT_SCREEN},
- 237 79 1 158 0 0 0 0 0 {"skip-gl-yield", 0, &skipGlYield, TRUE},
- 79 0 0 0 0 0 79 0 0 {"force-nvidia", 0, 0, OPT_FORCE_NVIDIA},
- 553 0 0 79 79 0 0 0 0 {"force-xgl", 0, 0, OPT_FORCE_XGL},
- . . . . . . . . . {"force-aiglx", 0, 0, OPT_FORCE_AIGLX},
- . . . . . . . . . {"use-tfp", 0, &copyTexture, FALSE},
- . . . . . . . . . {"use-copy", 0, 0, OPT_USE_COPY},
- . . . . . . . . . {"indirect-rendering", 0, &indirectRendering, TRUE},
- . . . . . . . . . {"xgl-rendering", 0, &indirectRendering, FALSE},
- . . . . . . . . . {"strict-binding", 0, &strictBinding, TRUE},
- . . . . . . . . . {"xgl-binding", 0, &strictBinding, FALSE},
- . . . . . . . . . {"use-cow", 0, &useCow, TRUE},
- 75 0 0 25 0 0 25 0 0 {"no-cow", 0, &useCow, FALSE},
- . . . . . . . . . {"no-replace", 0, &replaceCurrentWm, FALSE},
- . . . . . . . . . {"replace", 0, &replaceCurrentWm, TRUE},
- . . . . . . . . . {"sm-disable", 0, &disableSm, TRUE},
- . . . . . . . . . {"sm-client-id", 1, 0, OPT_SM_CLIENT_ID},
- . . . . . . . . . {0, 0, 0, 0}
- 85 14 13 0 0 0 84 3 2 };
- . . . . . . . . .
- 3 0 0 2 0 0 1 1 1 programName = argv[0];
- 2 1 1 1 0 0 1 1 1 programArgc = argc;
- 50 16 1 17 0 0 1 0 0 programArgv = argv;
- 16 0 0 0 0 0 16 0 0
- 65 0 0 16 0 0 33 1 0 init_variables();
- . . . . . . . . .
- . . . . . . . . . /* Process arguments */
- 124 2 2 41 0 0 40 0 0 while ((optch = getopt_long(argc, argv, sopts, lopts, NULL)) != EOF)
- . . . . . . . . . {
- 76 0 0 38 0 0 38 0 0 switch (optch)
- 76 38 0 38 0 0 38 0 0 {
- 152 0 0 38 0 0 38 0 0 case OPT_HELP:
- . . . . . . . . . usage();
- 76 0 0 38 0 0 38 0 0 return 0;
- 76 0 0 38 0 0 38 0 0 case OPT_VERSION:
- 76 0 0 38 0 0 38 0 0 printf(PACKAGE_STRING "\n");
- 76 0 0 38 0 0 38 0 0 return 0;
- . . . . . . . . . case OPT_DISPLAY:
- . . . . . . . . . if (optarg)
- . . . . . . . . . displayName = optarg;
- . . . . . . . . . break;
- . . . . . . . . . case OPT_SCREEN:
- . . . . . . . . . if (optarg)
- . . . . . . . . . screenNum = atoi(optarg);
- . . . . . . . . . break;
--- line 354 ----------------------------------------
--- line 355 ----------------------------------------
- . . . . . . . . . case OPT_FORCE_NVIDIA:
- . . . . . . . . . forceNvidia = TRUE;
- . . . . . . . . . indirectRendering = FALSE;
- . . . . . . . . . useCow = TRUE;
- . . . . . . . . . strictBinding = FALSE;
- . . . . . . . . . isNVTFP = TRUE;
- . . . . . . . . . break;
- . . . . . . . . . case OPT_FORCE_XGL:
- 474 41 1 395 0 0 0 0 0 forceXgl = TRUE;
- . . . . . . . . . indirectRendering = FALSE;
- . . . . . . . . . useCow = FALSE;
- 2,532 89 2 0 0 0 1,266 0 0 strictBinding = FALSE;
- . . . . . . . . . break;
- 1,266 0 0 422 422 213 0 0 0 case OPT_FORCE_AIGLX:
- 122 0 0 122 0 0 0 0 0 forceAiglx = TRUE;
- . . . . . . . . . indirectRendering = TRUE;
- 1,083 90 2 722 104 64 0 0 0 useCow = TRUE;
- 2,954 88 2 422 99 2 0 0 0 strictBinding = TRUE;
- . . . . . . . . . break;
- . . . . . . . . . case OPT_USE_COPY:
- . . . . . . . . . copyTexture = TRUE;
- . . . . . . . . . indirectRendering = FALSE;
- . . . . . . . . . useCow = TRUE;
- 219 2 0 73 15 8 73 0 0 strictBinding = FALSE;
- . . . . . . . . . skipGlYield = TRUE;
- . . . . . . . . . checkXglShm = TRUE;
- 351 0 0 117 31 20 117 0 0 break;
- 7 2 1 0 0 0 0 0 0 case OPT_SM_CLIENT_ID:
- . . . . . . . . . if (optarg)
- . . . . . . . . . clientId = optarg;
- . . . . . . . . . break;
- 63 0 0 0 0 0 0 0 0 case 0: /* Returned when auto-set stuff is in effect */
- 84 0 0 28 1 0 28 0 0 break;
- . . . . . . . . . default:
- . . . . . . . . . /* Not recognised option or with missing argument.
- . . . . . . . . . * getopt_long() prints an error message for us.
- . . . . . . . . . */
- . . . . . . . . . return 1;
- 404 23 1 101 20 7 202 0 0
- . . . . . . . . . }
- . . . . . . . . . }
- 104 0 0 0 0 0 104 0 0
- 312 0 0 104 23 10 0 0 0 /* Any remaing args are assumed to be plugins */
- 48 1 1 2 0 0 40 0 0 while (argc - optind > 0)
- 208 0 0 104 0 0 104 0 0 if (nPlugin < 256)
- 208 0 0 104 0 0 104 0 0 plugin[nPlugin++] = argv[optind++];
- 312 40 0 104 0 0 0 0 0
- 27 1 1 22 1 1 0 0 0 if (!skipTests && !forceNvidia && !forceXgl && !forceAiglx)
- 210 0 0 105 0 0 105 0 0 detect_xgl(checkXglShm);
- 208 0 0 104 0 0 104 0 0
- 208 0 0 104 0 0 104 0 0
- 211 0 0 105 0 0 104 0 0 if (isNVTFP && !skipGlYield)
- . . . . . . . . . {
- . . . . . . . . . char *newargs[argc + 2];
- . . . . . . . . . int i;
- 40 0 0 20 7 2 20 0 0
- 20 0 0 0 0 0 20 0 0 printf(_("Relaunching %s with __GL_YIELD=\"NOTHING\"\n"), argv[0]);
- 40 0 0 0 0 0 0 0 0 setenv("__GL_YIELD", "NOTHING", 1);
- . . . . . . . . . for (i = 0; i < argc; i++)
- 136 7 2 0 0 0 34 0 0 newargs[i] = argv[i];
- 51 0 0 0 0 0 17 0 0 newargs[argc] = "--skip-gl-yield";
- . . . . . . . . . newargs[argc + 1] = NULL;
- . . . . . . . . . execvp(argv[0], newargs);
- . . . . . . . . . }
- 329 0 0 78 0 0 0 0 0
- 3 2 2 0 0 0 1 0 0 signal(SIGHUP, signalHandler);
- 247 0 0 122 0 0 62 0 0 signal(SIGCHLD, signalHandler);
- . . . . . . . . .
- 3 0 0 1 0 0 0 0 0 if (!disableSm)
- 2 0 0 1 0 0 1 0 0 initSession(clientId);
- . . . . . . . . .
- 7 1 1 3 0 0 1 0 0 if (!addDisplay(displayName, screenNum, plugin, nPlugin))
- . . . . . . . . . return 1;
- . . . . . . . . .
- 1 1 1 0 0 0 1 0 0 result = eventLoop();
- 2,110 47 2 1,688 0 0 0 0 0
- . . . . . . . . . releaseDisplay();
- . . . . . . . . .
- . . . . . . . . . if (!disableSm)
- . . . . . . . . . closeSession();
- . . . . . . . . .
- . . . . . . . . . exit(result);
- . . . . . . . . . }
- 7,545 0 0 0 0 0 3,018 0 0 <bogus line 440>
- 4,527 0 0 1,509 0 0 0 0 0 <bogus line 441>
- 6,880 30 1 2,752 0 0 1,376 0 0 <bogus line 442>
- 359 0 0 0 0 0 359 0 0 <bogus line 444>
- 718 0 0 0 0 0 359 0 0 <bogus line 445>
- 6,036 0 0 4,527 0 0 0 0 0 <bogus line 447>
- 599 0 0 0 0 0 599 0 0 <bogus line 452>
- 1,198 0 0 599 141 0 599 0 0 <bogus line 453>
- 2,396 0 0 599 0 0 599 0 0 <bogus line 454>
- 1,797 0 0 599 0 0 0 0 0 <bogus line 455>
- 1,440 17 1 0 0 0 960 0 0 <bogus line 457>
- 960 0 0 240 0 0 480 0 0 <bogus line 458>
- 720 0 0 240 0 0 480 0 0 <bogus line 459>
- 240 0 0 0 0 0 240 0 0 <bogus line 460>
- 2,995 0 0 1,198 0 0 1,198 0 0 <bogus line 462>
- 8,320 8 1 0 0 0 3,328 0 0 <bogus line 473>
- 4,992 0 0 1,664 0 0 0 0 0 <bogus line 474>
- 6,975 0 0 2,790 0 0 1,395 0 0 <bogus line 475>
- 476 5 1 0 0 0 476 0 0 <bogus line 477>
- 952 0 0 0 0 0 476 0 0 <bogus line 478>
- 6,656 0 0 4,992 0 0 0 0 0 <bogus line 480>
- 3,594 21 1 0 0 0 1,797 0 0 <bogus line 483>
- 599 0 0 0 0 0 599 3 0 <bogus line 485>
- 1,198 0 0 599 458 0 599 0 0 <bogus line 486>
- 2,396 0 0 599 0 0 599 0 0 <bogus line 487>
- 1,797 0 0 599 0 0 0 0 0 <bogus line 488>
- 738 34 1 0 0 0 492 0 0 <bogus line 490>
- 492 34 1 123 0 0 246 0 0 <bogus line 491>
- 369 0 0 123 0 0 246 0 0 <bogus line 492>
- 246 0 0 0 0 0 123 0 0 <bogus line 493>
- 599 17 1 599 0 0 0 0 0 <bogus line 495>
- 2,995 0 0 2,396 0 0 0 0 0 <bogus line 496>
- 34 22 1 0 0 0 0 0 0 <bogus line 499>
- 136 32 1 34 8 0 0 0 0 <bogus line 500>
- 136 1 1 0 0 0 68 0 0 <bogus line 504>
- 68 0 0 0 0 0 34 0 0 <bogus line 505>
- 136 0 0 34 0 0 68 0 0 <bogus line 506>
- 136 0 0 102 0 0 0 0 0 <bogus line 507>
- 4 1 1 1 1 0 1 0 0 <bogus line 512>
- 144 0 0 0 0 0 36 0 0 <bogus line 521>
- 72 3 0 0 0 0 0 0 0 <bogus line 522>
- 36 4 1 0 0 0 36 0 0 <bogus line 529>
- 144 0 0 0 0 0 36 0 0 <bogus line 530>
- 108 0 0 0 0 0 36 0 0 <bogus line 531>
- 72 1 1 0 0 0 36 0 0 <bogus line 537>
- 378 36 1 138 39 0 0 0 0 <bogus line 538>
- 18 0 0 6 6 2 3 0 0 <bogus line 546>
- 9 0 0 0 0 0 3 0 0 <bogus line 547>
- 165 66 1 66 31 0 33 0 0 <bogus line 551>
- 231 0 0 0 0 0 99 0 0 <bogus line 556>
- 99 33 1 66 0 0 33 0 0 <bogus line 557>
- 132 0 0 66 0 0 66 0 0 <bogus line 558>
- 165 0 0 66 0 0 66 0 0 <bogus line 559>
- 231 33 1 66 0 0 99 0 0 <bogus line 560>
- 297 0 0 132 0 0 99 0 0 <bogus line 561>
- 132 33 1 66 0 0 66 0 0 <bogus line 562>
- 272 0 0 97 0 0 15 15 0 <bogus line 564>
- 179 15 1 96 14 0 0 0 0 <bogus line 566>
- 9 1 0 4 0 0 3 0 0 <bogus line 569>
- 225 10 1 100 0 0 75 0 0 <bogus line 573>
- 8 0 0 4 0 0 3 0 0 <bogus line 577>
- 175 41 1 69 0 0 8 0 0 <bogus line 584>
- 108 0 0 60 0 0 36 0 0 <bogus line 586>
- 99 25 1 33 26 0 0 0 0 <bogus line 589>
- 100 0 0 0 0 0 25 0 0 <bogus line 593>
- 1,135 0 0 237 0 0 212 0 0 <bogus line 594>
- 848 0 0 212 0 0 212 0 0 <bogus line 596>
- 212 25 0 0 0 0 0 0 0 <bogus line 597>
- 99 8 1 33 11 0 0 0 0 <bogus line 600>
- 80 0 0 0 0 0 20 0 0 <bogus line 604>
- 1,440 0 0 296 0 0 276 0 0 <bogus line 605>
- 1,104 20 1 276 0 0 276 0 0 <bogus line 607>
- 276 0 0 0 0 0 0 0 0 <bogus line 608>
- 66 13 0 33 20 0 0 0 0 <bogus line 611>
- 198 33 1 33 0 0 33 0 0 <bogus line 635>
- 231 66 2 0 0 0 66 0 0 <bogus line 637>
- 66 0 0 33 0 0 33 0 0 <bogus line 638>
- 33 0 0 0 0 0 33 0 0 <bogus line 639>
- 33 0 0 0 0 0 33 0 0 <bogus line 640>
- 99 0 0 0 0 0 66 0 0 <bogus line 641>
- 99 33 1 0 0 0 66 0 0 <bogus line 642>
- 99 0 0 0 0 0 66 0 0 <bogus line 643>
- 99 0 0 0 0 0 66 0 0 <bogus line 644>
- 99 0 0 0 0 0 66 0 0 <bogus line 645>
- 33 0 0 0 0 0 33 0 0 <bogus line 646>
- 33 33 1 0 0 0 33 0 0 <bogus line 647>
- 33 0 0 0 0 0 33 0 0 <bogus line 648>
- 66 0 0 33 0 0 33 0 0 <bogus line 649>
- 66 0 0 0 0 0 33 0 0 <bogus line 650>
- 231 0 0 99 0 0 66 0 0 <bogus line 651>
- 66 0 0 0 0 0 33 0 0 <bogus line 657>
- 66 0 0 33 0 0 33 0 0 <bogus line 658>
- 231 0 0 132 32 0 66 0 0 <bogus line 659>
- 18 1 1 0 0 0 14 0 0 <bogus line 666>
- 10 1 1 0 0 0 2 0 0 <bogus line 669>
- 6 0 0 0 0 0 0 0 0 <bogus line 670>
- 545 4 0 0 0 0 109 0 0 <bogus line 672>
- 715 1 1 0 0 0 143 0 0 <bogus line 674>
- 252 0 0 0 0 0 36 0 0 <bogus line 677>
- 108 4 0 0 0 0 36 0 0 <bogus line 680>
- 4 0 0 0 0 0 2 0 0 <bogus line 683>
- 16 0 0 14 4 1 0 0 0 <bogus line 684>
- 7 1 1 0 0 0 2 0 0 <bogus line 688>
- 3 0 0 0 0 0 2 0 0 <bogus line 689>
- 1 0 0 0 0 0 1 0 0 <bogus line 690>
- 5 0 0 1 1 0 2 1 0 <bogus line 693>
- 3 0 0 0 0 0 1 0 0 <bogus line 694>
- 3 1 1 0 0 0 2 1 0 <bogus line 695>
- 5 0 0 0 0 0 1 0 0 <bogus line 696>
- 313 1 1 63 0 0 62 0 0 <bogus line 697>
- 248 0 0 0 0 0 62 0 0 <bogus line 699>
- 62 0 0 0 0 0 0 0 0 <bogus line 700>
- 3 0 0 0 0 0 1 0 0 <bogus line 702>
- 83 0 0 17 0 0 16 0 0 <bogus line 703>
- 64 0 0 0 0 0 16 0 0 <bogus line 705>
- 16 0 0 0 0 0 0 0 0 <bogus line 706>
- 2 1 1 0 0 0 1 0 0 <bogus line 732>
- 4 0 0 1 1 0 2 0 0 <bogus line 733>
- 2,754 154 1 0 0 0 1,377 0 0 <bogus line 737>
- 4,131 0 0 1,377 1,336 410 0 0 0 <bogus line 739>
- 358 0 0 358 0 0 0 0 0 <bogus line 740>
- 2,396 201 1 2,396 1,451 326 0 0 0 <bogus line 742>
- 4,954 0 0 0 0 0 0 0 0 <bogus line 743>
- 320 10 1 80 40 17 80 0 0 <bogus line 746>
- 240 0 0 80 0 0 0 0 0 <bogus line 748>
- 144 0 0 0 0 0 48 0 0 <bogus line 749>
- 831 0 0 277 110 47 0 0 0 <bogus line 752>
- 277 0 0 0 0 0 277 0 0 <bogus line 753>
- 4,131 0 0 1,377 0 0 0 0 0 <bogus line 757>
- 358 0 0 0 0 0 0 0 0 <bogus line 758>
- 2,575 0 0 2,575 0 0 0 0 0 <bogus line 759>
- 77,605 122 2 0 0 0 31,042 0 0 <bogus line 835>
- 31,042 0 0 15,521 0 0 0 0 0 <bogus line 836>
- 18,545 106 2 6,077 79 0 0 0 0 <bogus line 838>
- 33,630 0 0 5,763 935 25 5,447 0 0 <bogus line 843>
- 1,320 0 0 0 0 0 440 0 0 <bogus line 844>
- 62,084 0 0 46,563 0 0 0 0 0 <bogus line 845>
-120,545 123 2 0 0 0 48,218 0 0 <bogus line 855>
- 48,218 121 2 24,109 0 0 0 0 0 <bogus line 856>
-114,318 0 0 50,808 6,614 231 0 0 0 <bogus line 858>
- 27,582 1 0 0 0 0 9,194 1 0 <bogus line 861>
- 946 0 0 0 0 0 473 0 0 <bogus line 862>
- 96,436 0 0 72,327 0 0 0 0 0 <bogus line 863>
- 5,990 3 1 0 0 0 2,396 0 0 <bogus line 865>
- 1,198 0 0 0 0 0 1,198 0 0 <bogus line 866>
- 3,594 3 2 1,198 3 0 0 0 0 <bogus line 867>
- 4,792 0 0 0 0 0 0 0 0 <bogus line 868>
- 3,594 0 0 2,396 1 0 0 0 0 <bogus line 869>
- 47,321 0 0 0 0 0 0 0 0 <bogus line 871>
-141,963 4,661 0 47,321 80 0 0 0 0 <bogus line 872>
-189,284 0 0 0 0 0 0 0 0 <bogus line 873>
- 272 3 1 68 68 1 0 0 0 <bogus line 878>
- 10,744 78 0 2,686 2,686 2 0 0 0 <bogus line 884>
-124,188 11,692 1 41,396 4 0 0 0 0 <bogus line 906>
-124,188 0 0 0 0 0 0 0 0 <bogus line 909>
- 41,396 0 0 41,396 0 0 0 0 0 <bogus line 910>
- 82,792 288 0 41,396 0 0 0 0 0 <bogus line 914>
- 41,396 0 0 0 0 0 0 0 0 <bogus line 917>
- 41,396 0 0 41,396 0 0 0 0 0 <bogus line 918>
-188,613 29 1 62,871 7,511 8 0 0 0 <bogus line 922>
-251,484 1,207 1 125,742 2,847 3 0 0 0 <bogus line 925>
- 62,871 0 0 62,871 0 0 0 0 0 <bogus line 926>
- 4,794 0 0 1,598 0 0 0 0 0 <bogus line 930>
- 3,196 0 0 1,598 0 0 0 0 0 <bogus line 933>
- 1,598 0 0 1,598 0 0 0 0 0 <bogus line 934>
- 7 0 0 0 0 0 2 0 0 <bogus line 940>
- 2 0 0 0 0 0 1 0 0 <bogus line 941>
- 5 0 0 0 0 0 1 0 0 <bogus line 942>
- 2 2 1 0 0 0 1 0 0 <bogus line 943>
- 6 0 0 0 0 0 1 0 0 <bogus line 944>
- 2 0 0 0 0 0 0 0 0 <bogus line 945>
- 5 1 0 0 0 0 1 0 0 <bogus line 949>
- 2 0 0 0 0 0 1 0 0 <bogus line 951>
- 6 1 1 0 0 0 1 0 0 <bogus line 953>
- 3 0 0 0 0 0 1 0 0 <bogus line 954>
- 2 1 0 0 0 0 0 0 0 <bogus line 955>
- 2 0 0 0 0 0 1 0 0 <bogus line 957>
- 16 4 2 0 0 0 10 0 0 <bogus line 961>
- 14 0 0 0 0 0 4 0 0 <bogus line 964>
- 6 0 0 0 0 0 2 0 0 <bogus line 965>
- 4 1 1 0 0 0 2 0 0 <bogus line 966>
- 14 0 0 0 0 0 4 0 0 <bogus line 967>
- 4 0 0 0 0 0 2 0 0 <bogus line 968>
- 10 0 0 0 0 0 2 0 0 <bogus line 969>
- 6 0 0 0 0 0 0 0 0 <bogus line 970>
- 6 1 1 1 0 0 1 0 0 <bogus line 973>
- 3 0 0 1 0 0 0 0 0 <bogus line 976>
- 5 1 1 0 0 0 1 0 0 <bogus line 977>
- 10 1 1 0 0 0 2 0 0 <bogus line 983>
- 10 0 0 0 0 0 2 0 0 <bogus line 984>
- 4 0 0 0 0 0 2 0 0 <bogus line 985>
- 4 0 0 0 0 0 2 0 0 <bogus line 986>
- 4 0 0 0 0 0 0 0 0 <bogus line 987>
- 12 0 0 10 0 0 0 0 0 <bogus line 988>
- 7 2 2 0 0 0 5 0 0 <bogus line 991>
- 9 0 0 0 0 0 2 0 0 <bogus line 995>
- 2 0 0 0 0 0 1 0 0 <bogus line 998>
- 1 1 1 0 0 0 1 0 0 <bogus line 999>
- 4 0 0 0 0 0 1 0 0 <bogus line 1000>
- 2 0 0 0 0 0 1 0 0 <bogus line 1001>
- 4 0 0 0 0 0 0 0 0 <bogus line 1002>
- 2 1 1 0 0 0 1 0 0 <bogus line 1005>
- 8 0 0 0 0 0 1 0 0 <bogus line 1006>
- 4 0 0 0 0 0 1 0 0 <bogus line 1007>
- 2 1 1 0 0 0 1 0 0 <bogus line 1008>
- 4 1 1 0 0 0 0 0 0 <bogus line 1010>
- 2 0 0 0 0 0 0 0 0 <bogus line 1018>
- 2 0 0 0 0 0 1 0 0 <bogus line 1020>
- 3 0 0 0 0 0 1 0 0 <bogus line 1023>
- 8 0 0 6 0 0 0 0 0 <bogus line 1027>
- 6 1 1 0 0 0 5 0 0 <bogus line 1190>
- 7 1 0 0 0 0 2 0 0 <bogus line 1191>
- 7 1 1 0 0 0 2 0 0 <bogus line 1192>
- 4 0 0 0 0 0 2 0 0 <bogus line 1193>
- 3 0 0 0 0 0 1 0 0 <bogus line 1194>
- 3 0 0 0 0 0 1 0 0 <bogus line 1196>
- 3 1 0 0 0 0 1 0 0 <bogus line 1197>
- 2 1 1 0 0 0 1 0 0 <bogus line 1199>
- 1 1 1 0 0 0 1 0 0 <bogus line 1203>
- 8 0 0 6 1 1 0 0 0 <bogus line 1205>
- 5 1 1 0 0 0 2 0 0 <bogus line 1209>
- 2 1 1 1 1 1 0 0 0 <bogus line 1210>
- 3 1 1 0 0 0 2 1 0 <bogus line 1226>
- 2 1 1 0 0 0 0 0 0 <bogus line 1227>
- 3 0 0 0 0 0 2 0 0 <bogus line 1230>
- 6 0 0 1 0 0 2 1 1 <bogus line 1235>
- 6 1 1 1 0 0 2 0 0 <bogus line 1236>
- 6 0 0 1 0 0 2 0 0 <bogus line 1237>
- 6 1 1 1 0 0 2 0 0 <bogus line 1238>
- 6 0 0 1 0 0 2 0 0 <bogus line 1239>
- 6 2 1 1 0 0 2 0 0 <bogus line 1240>
- 6 0 0 1 0 0 2 0 0 <bogus line 1241>
- 6 1 1 1 0 0 2 0 0 <bogus line 1242>
- 6 0 0 1 0 0 2 0 0 <bogus line 1243>
- 6 1 1 1 0 0 2 0 0 <bogus line 1244>
- 6 0 0 1 0 0 2 0 0 <bogus line 1245>
- 3 0 0 0 0 0 1 0 0 <bogus line 1247>
- 2 1 0 1 1 0 1 0 0 <bogus line 1249>
- 5 1 1 3 1 0 0 0 0 <bogus line 1251>
- 473 122 2 0 0 0 0 0 0 <bogus line 1359>
- 473 121 2 0 0 0 473 0 0 <bogus line 1361>
- 473 0 0 0 0 0 473 3 0 <bogus line 1362>
- 2,365 0 0 946 130 2 473 0 0 <bogus line 1363>
- 946 0 0 473 0 0 0 0 0 <bogus line 1365>
- 507 124 2 0 0 0 0 0 0 <bogus line 1369>
- 507 0 0 0 0 0 507 0 0 <bogus line 1371>
- 507 0 0 0 0 0 507 0 0 <bogus line 1372>
- 507 0 0 0 0 0 507 0 0 <bogus line 1373>
- 2,535 0 0 1,014 135 2 507 0 0 <bogus line 1374>
- 1,014 120 2 507 0 0 0 0 0 <bogus line 1376>
- 4 2 1 0 0 0 2 0 0 <bogus line 1379>
- 6 0 0 2 2 0 0 0 0 <bogus line 1380>
- 6 2 0 0 0 0 2 0 0 <bogus line 1381>
- 8 0 0 2 0 0 2 0 0 <bogus line 1382>
- 6 2 0 2 0 0 0 0 0 <bogus line 1383>
- 6 2 0 0 0 0 0 0 0 <bogus line 1384>
- 2 0 0 2 0 0 0 0 0 <bogus line 1385>
- 158 79 0 0 0 0 79 0 0 <bogus line 1388>
- 237 0 0 79 79 0 0 0 0 <bogus line 1389>
- 237 0 0 0 0 0 79 0 0 <bogus line 1390>
- 316 0 0 79 0 0 79 0 0 <bogus line 1391>
- 237 0 0 79 0 0 0 0 0 <bogus line 1392>
- 237 79 0 0 0 0 0 0 0 <bogus line 1393>
- 79 0 0 79 16 0 0 0 0 <bogus line 1394>
- 2,527 85 2 0 0 0 1,083 0 0 <bogus line 1410>
- 1,083 0 0 0 0 0 361 0 0 <bogus line 1413>
- 2,166 0 0 0 0 0 361 0 0 <bogus line 1417>
- 1,444 87 2 0 0 0 361 0 0 <bogus line 1421>
- 1,805 0 0 1,444 0 0 0 0 0 <bogus line 1423>
- 553 79 1 0 0 0 237 0 0 <bogus line 1427>
- 237 79 1 0 0 0 79 0 0 <bogus line 1430>
- 474 0 0 0 0 0 79 0 0 <bogus line 1432>
- 79 0 0 0 0 0 79 46 0 <bogus line 1434>
- 316 0 0 0 0 0 79 0 0 <bogus line 1435>
- 395 79 0 316 0 0 0 0 0 <bogus line 1437>
- 2,396 3 1 0 0 0 1,198 0 0 <bogus line 1487>
- 2,396 0 0 0 0 0 1,198 0 0 <bogus line 1489>
- 2,396 0 0 0 0 0 1,198 0 0 <bogus line 1490>
- 1,198 0 0 0 0 0 1,198 0 0 <bogus line 1491>
- 2,396 0 0 2,396 0 0 0 0 0 <bogus line 1492>
- 12 2 1 0 0 0 6 0 0 <bogus line 1495>
- 12 0 0 6 0 0 0 0 0 <bogus line 1496>
- 6 0 0 0 0 0 6 0 0 <bogus line 1498>
- 24 0 0 6 0 0 6 0 0 <bogus line 1499>
- 18 0 0 6 0 0 0 0 0 <bogus line 1501>
- 6 0 0 0 0 0 6 0 0 <bogus line 1502>
- 6 2 1 0 0 0 6 0 0 <bogus line 1503>
- 12 0 0 12 0 0 0 0 0 <bogus line 1504>
- 72 2 1 0 0 0 36 0 0 <bogus line 1507>
- 54 0 0 18 0 0 0 0 0 <bogus line 1508>
- 18 0 0 0 0 0 18 0 0 <bogus line 1510>
- 252 2 1 0 0 0 126 0 0 <bogus line 1511>
- 18 0 0 0 0 0 18 0 0 <bogus line 1512>
- 18 0 0 0 0 0 18 0 0 <bogus line 1513>
- 90 0 0 18 0 0 36 0 0 <bogus line 1514>
- 90 0 0 54 0 0 0 0 0 <bogus line 1516>
- 50,165 1,343 1 0 0 0 20,066 0 0 <bogus line 1640>
- 50,165 0 0 0 0 0 10,033 0 0 <bogus line 1641>
- 30,099 0 0 10,033 0 0 10,033 0 0 <bogus line 1643>
- 50,165 0 0 30,099 0 0 0 0 0 <bogus line 1645>
- 50,165 553 1 0 0 0 20,066 0 0 <bogus line 1648>
- 50,165 0 0 0 0 0 10,033 0 0 <bogus line 1649>
- 30,099 0 0 10,033 0 0 10,033 0 0 <bogus line 1651>
- 50,165 0 0 30,099 0 0 0 0 0 <bogus line 1653>
- 49,375 79 1 0 0 0 19,750 0 0 <bogus line 1656>
- 49,375 0 0 0 0 0 9,875 0 0 <bogus line 1657>
- 29,625 0 0 9,875 0 0 9,875 0 0 <bogus line 1659>
- 49,375 0 0 29,625 0 0 0 0 0 <bogus line 1661>
- 49,375 79 1 0 0 0 19,750 0 0 <bogus line 1664>
- 49,375 0 0 0 0 0 9,875 0 0 <bogus line 1665>
- 29,625 0 0 9,875 0 0 9,875 0 0 <bogus line 1667>
- 49,375 0 0 29,625 0 0 0 0 0 <bogus line 1669>
- 6,320 79 1 0 0 0 2,528 0 0 <bogus line 1672>
- 6,320 0 0 0 0 0 1,264 0 0 <bogus line 1673>
- 3,792 0 0 1,264 0 0 1,264 0 0 <bogus line 1675>
- 6,320 0 0 3,792 0 0 0 0 0 <bogus line 1677>
- 1,185 79 1 0 0 0 474 0 0 <bogus line 1680>
- 1,185 0 0 0 0 0 237 0 0 <bogus line 1681>
- 711 0 0 237 0 0 237 0 0 <bogus line 1683>
- 1,185 0 0 711 0 0 0 0 0 <bogus line 1685>
- 50,165 214 1 0 0 0 20,066 0 0 <bogus line 1688>
- 50,165 0 0 0 0 0 10,033 0 0 <bogus line 1689>
- 30,099 0 0 10,033 2,449 2 10,033 0 0 <bogus line 1691>
- 50,165 0 0 30,099 0 0 0 0 0 <bogus line 1693>
- 49,375 341 1 0 0 0 19,750 0 0 <bogus line 1696>
- 49,375 0 0 0 0 0 9,875 0 0 <bogus line 1697>
- 29,625 0 0 9,875 158 0 9,875 0 0 <bogus line 1699>
- 49,375 0 0 29,625 0 0 0 0 0 <bogus line 1701>
- 150 3 1 0 0 0 60 0 0 <bogus line 1720>
- 120 0 0 0 0 0 30 0 0 <bogus line 1721>
- 60 0 0 0 0 0 30 0 0 <bogus line 1723>
- 150 3 1 90 0 0 0 0 0 <bogus line 1724>
- 60 0 0 30 0 0 30 0 0 <bogus line 1726>
- 120 0 0 30 0 0 30 0 0 <bogus line 1727>
- 120 0 0 90 0 0 0 0 0 <bogus line 1729>
- 90 0 0 0 0 0 36 0 0 <bogus line 1732>
- 72 6 1 0 0 0 18 0 0 <bogus line 1733>
- 36 0 0 0 0 0 18 0 0 <bogus line 1735>
- 108 0 0 54 0 0 0 0 0 <bogus line 1736>
- 36 0 0 18 0 0 18 0 0 <bogus line 1738>
- 72 1 0 18 0 0 18 0 0 <bogus line 1739>
- 72 0 0 54 0 0 0 0 0 <bogus line 1741>
- 240 4 1 0 0 0 96 0 0 <bogus line 1744>
- 240 0 0 0 0 0 48 0 0 <bogus line 1745>
- 96 0 0 48 0 0 48 0 0 <bogus line 1747>
- 144 0 0 48 0 0 48 0 0 <bogus line 1748>
- 240 0 0 144 0 0 0 0 0 <bogus line 1750>
- 1,270 3 1 0 0 0 508 0 0 <bogus line 1787>
- 1,016 3 1 0 0 0 254 0 0 <bogus line 1788>
- 1,270 0 0 254 0 0 254 0 0 <bogus line 1790>
- 508 0 0 254 0 0 254 0 0 <bogus line 1792>
- 1,016 0 0 254 0 0 254 0 0 <bogus line 1793>
- 1,016 0 0 762 0 0 0 0 0 <bogus line 1795>
- 1,270 163 1 0 0 0 508 0 0 <bogus line 1798>
- 1,016 0 0 0 0 0 254 0 0 <bogus line 1799>
- 1,270 9 1 254 0 0 254 0 0 <bogus line 1801>
- 508 0 0 254 0 0 254 0 0 <bogus line 1803>
- 1,016 0 0 254 0 0 254 0 0 <bogus line 1804>
- 1,016 0 0 762 0 0 0 0 0 <bogus line 1806>
- 1,250 0 0 0 0 0 500 0 0 <bogus line 1809>
- 1,000 13 1 0 0 0 250 0 0 <bogus line 1810>
- 1,250 0 0 250 0 0 250 0 0 <bogus line 1812>
- 500 0 0 250 0 0 250 0 0 <bogus line 1814>
- 1,000 0 0 250 0 0 250 0 0 <bogus line 1815>
- 1,000 0 0 750 0 0 0 0 0 <bogus line 1817>
- 1,250 11 2 0 0 0 500 0 0 <bogus line 1820>
- 1,000 0 0 0 0 0 250 0 0 <bogus line 1821>
- 1,250 3 1 250 0 0 250 0 0 <bogus line 1823>
- 500 0 0 250 0 0 250 0 0 <bogus line 1825>
- 1,000 0 0 250 0 0 250 0 0 <bogus line 1826>
- 1,000 0 0 750 0 0 0 0 0 <bogus line 1828>
- 160 0 0 0 0 0 64 0 0 <bogus line 1831>
- 128 2 1 0 0 0 32 0 0 <bogus line 1832>
- 160 0 0 32 0 0 32 0 0 <bogus line 1834>
- 64 0 0 32 0 0 32 0 0 <bogus line 1836>
- 128 0 0 32 0 0 32 0 0 <bogus line 1837>
- 128 0 0 96 0 0 0 0 0 <bogus line 1839>
- 30 2 1 0 0 0 12 0 0 <bogus line 1842>
- 24 0 0 0 0 0 6 0 0 <bogus line 1843>
- 30 0 0 6 0 0 6 0 0 <bogus line 1845>
- 12 0 0 6 0 0 6 0 0 <bogus line 1847>
- 24 0 0 6 0 0 6 0 0 <bogus line 1848>
- 24 0 0 18 0 0 0 0 0 <bogus line 1850>
- 1,270 3 1 0 0 0 508 0 0 <bogus line 1853>
- 1,016 3 1 0 0 0 254 0 0 <bogus line 1854>
- 1,270 0 0 254 0 0 254 0 0 <bogus line 1856>
- 508 0 0 254 0 0 254 0 0 <bogus line 1858>
- 1,016 0 0 254 0 0 254 0 0 <bogus line 1859>
- 1,016 0 0 762 0 0 0 0 0 <bogus line 1861>
- 1,250 3 1 0 0 0 500 0 0 <bogus line 1864>
- 1,000 0 0 0 0 0 250 0 0 <bogus line 1865>
- 1,250 3 1 250 0 0 250 0 0 <bogus line 1867>
- 500 0 0 250 0 0 250 0 0 <bogus line 1869>
- 1,000 0 0 250 0 0 250 0 0 <bogus line 1870>
- 1,000 0 0 750 0 0 0 0 0 <bogus line 1872>
- 51,745 78 0 0 0 0 20,698 0 0 <bogus line 1884>
- 51,745 79 1 0 0 0 10,349 0 0 <bogus line 1885>
- 51,745 0 0 10,349 0 0 20,698 64 0 <bogus line 1887>
- 51,745 0 0 31,047 0 0 0 0 0 <bogus line 1889>
- 51,745 79 1 0 0 0 20,698 0 0 <bogus line 1892>
- 51,745 0 0 0 0 0 10,349 0 0 <bogus line 1893>
- 51,745 0 0 10,349 0 0 20,698 0 0 <bogus line 1895>
- 51,745 0 0 31,047 0 0 0 0 0 <bogus line 1897>
- 51,745 157 1 0 0 0 20,698 0 0 <bogus line 1900>
- 51,745 0 0 0 0 0 10,349 0 0 <bogus line 1901>
- 51,745 0 0 10,349 0 0 20,698 0 0 <bogus line 1903>
- 51,745 80 1 31,047 0 0 0 0 0 <bogus line 1905>
- 51,745 0 0 0 0 0 20,698 0 0 <bogus line 1908>
- 51,745 0 0 0 0 0 10,349 0 0 <bogus line 1909>
- 51,745 79 1 10,349 0 0 20,698 0 0 <bogus line 1911>
- 51,745 0 0 31,047 0 0 0 0 0 <bogus line 1913>
- 153 17 1 153 17 2 0 0 0 <bogus line 2020>
- 153 0 0 153 0 0 0 0 0 <bogus line 2022>
- 272 0 0 0 0 0 204 0 0 <bogus line 2075>
- 160 0 0 0 0 0 0 0 0 <bogus line 2077>
- 854 1 1 216 72 8 114 0 0 <bogus line 2079>
- 240 0 0 0 0 0 0 0 0 <bogus line 2080>
- 34 1 1 34 0 0 0 0 0 <bogus line 2084>
- 306 0 0 238 0 0 0 0 0 <bogus line 2088>
- 5 1 1 0 0 0 2 0 0 <bogus line 2111>
- 3 0 0 1 0 0 0 0 0 <bogus line 2112>
- 2 0 0 0 0 0 0 0 0 <bogus line 2114>
- 2 1 0 0 0 0 1 0 0 <bogus line 2117>
- 3 0 0 0 0 0 0 0 0 <bogus line 2118>
- 3 0 0 2 0 0 0 0 0 <bogus line 2119>
- 160 3 1 160 159 0 0 0 0 <bogus line 2122>
- 160 0 0 160 0 0 0 0 0 <bogus line 2124>
- 3 1 1 0 0 0 2 0 0 <bogus line 2335>
- 106 0 0 35 1 0 0 0 0 <bogus line 2338>
- 136 1 1 34 34 0 34 0 0 <bogus line 2340>
- 68 0 0 0 0 0 0 0 0 <bogus line 2341>
- 99 0 0 33 23 0 0 0 0 <bogus line 2343>
- 68 0 0 17 0 0 17 0 0 <bogus line 2344>
- 5 0 0 3 1 0 0 0 0 <bogus line 2348>
-
-@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-@@ WARNING @@ WARNING @@ WARNING @@ WARNING @@ WARNING @@ WARNING @@ WARNING @@
-@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-@@
-@@ Information recorded about lines past the end of 'main.c'.
-@@
-@@ Probable cause and solution:
-@@ cause: not sure, sorry
-@@
-@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-
---------------------------------------------------------------------------------
--- User-annotated source: display.c
---------------------------------------------------------------------------------
- Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw
-
--- line 113 ----------------------------------------
- . . . . . . . . . GLfloat y;
- . . . . . . . . . GLfloat a;
- . . . . . . . . . GLfloat b;
- . . . . . . . . . GLfloat c;
- . . . . . . . . . GLfloat d;
- . . . . . . . . . } multiPerspective[64];
- . . . . . . . . .
- . . . . . . . . . static int reallocDisplayPrivate(int size, void *closure)
- 85 9 1 0 0 0 51 0 0 {
- 34 12 2 17 0 0 17 0 0 CompDisplay *d = compDisplays;
- . . . . . . . . . void *privates;
- . . . . . . . . .
- 34 0 0 17 0 0 0 0 0 if (d)
- . . . . . . . . . {
- 119 0 0 51 3 1 34 0 0 privates = realloc(d->privates, size * sizeof(CompPrivate));
- 34 0 0 17 0 0 0 0 0 if (!privates)
- . . . . . . . . . return FALSE;
- . . . . . . . . .
- 51 0 0 34 0 0 17 0 0 d->privates = (CompPrivate *) privates;
- . . . . . . . . . }
- . . . . . . . . .
- 34 0 0 17 0 0 17 0 0 return TRUE;
- 34 0 0 34 0 0 0 0 0 }
- . . . . . . . . .
- . . . . . . . . . int allocateDisplayPrivateIndex(void)
- 34 10 2 0 0 0 17 0 0 {
- 85 0 0 0 0 0 17 0 0 return allocatePrivateIndex(&displayPrivateLen,
- . . . . . . . . . &displayPrivateIndices,
- . . . . . . . . . reallocDisplayPrivate, 0);
- 34 0 0 34 0 0 0 0 0 }
- . . . . . . . . .
- . . . . . . . . . void freeDisplayPrivateIndex(int index)
- . . . . . . . . . {
- . . . . . . . . . freePrivateIndex(displayPrivateLen, displayPrivateIndices, index);
- . . . . . . . . . }
- . . . . . . . . .
- . . . . . . . . . static Bool
- . . . . . . . . . closeWin(CompDisplay * d,
--- line 150 ----------------------------------------
--- line 748 ----------------------------------------
- . . . . . . . . . {
- . . . . . . . . . w->state ^= CompWindowStateShadedMask;
- . . . . . . . . . updateWindowAttributes(w, FALSE);
- . . . . . . . . . }
- . . . . . . . . .
- . . . . . . . . . return TRUE;
- . . . . . . . . . }
- . . . . . . . . . static void setAudibleBell(CompDisplay * display, Bool audible)
- 5 2 2 0 0 0 3 0 0 {
- 4 0 0 2 1 0 0 0 0 if (display->xkbExtension)
- 9 1 1 4 0 0 2 0 0 XkbChangeEnabledControls(display->display,
- . . . . . . . . . XkbUseCoreKbd,
- . . . . . . . . . XkbAudibleBellMask,
- . . . . . . . . . audible ? XkbAudibleBellMask : 0);
- 2 0 0 2 0 0 0 0 0 }
- . . . . . . . . .
- . . . . . . . . . static Bool
- . . . . . . . . . setDisplayOption(CompDisplay * display, char *name, CompOptionValue * value)
- 372 61 0 0 0 0 248 0 0 {
- . . . . . . . . . CompOption *o;
- . . . . . . . . . int index;
- . . . . . . . . .
- 434 0 0 124 0 0 124 0 0 o = compFindOption(display->opt, NUM_OPTIONS(display), name, &index);
- 124 62 1 62 0 0 0 0 0 if (!o)
- . . . . . . . . . return FALSE;
- 496 0 0 248 0 0 62 0 0 beryl_settings_context_comp_set_option_value(display->context,NULL,name,FALSE,value);
- 186 1 1 124 17 0 62 0 0 beryl_settings_context_write(display->context);
- 434 62 0 248 124 9 62 62 0 switch (index)
- . . . . . . . . . {
- . . . . . . . . . #if 0
- . . . . . . . . . case COMP_DISPLAY_OPTION_FOCUS_STEALING_LEVEL:
- . . . . . . . . . if (compSetStringOption(o, value))
- . . . . . . . . . {
- . . . . . . . . . int i;
- . . . . . . . . .
- . . . . . . . . . for (i = 0; i < FSP_COUNT; i++)
--- line 783 ----------------------------------------
--- line 797 ----------------------------------------
- . . . . . . . . . if (compSetOptionList(o, value))
- . . . . . . . . . {
- . . . . . . . . . display->dirtyPluginList = TRUE;
- . . . . . . . . . return TRUE;
- . . . . . . . . . }
- . . . . . . . . . break;
- . . . . . . . . . #endif
- . . . . . . . . . case COMP_DISPLAY_OPTION_TEXTURE_FILTER:
- 5 0 0 2 0 0 1 0 0 if (compSetStringOption(o, value))
- . . . . . . . . . {
- . . . . . . . . . CompScreen *s;
- . . . . . . . . .
- . . . . . . . . . for (s = display->screens; s; s = s->next)
- . . . . . . . . . damageScreen(s);
- . . . . . . . . .
- . . . . . . . . . if (strcmp(o->value.s, "Fast") == 0)
- . . . . . . . . . display->textureFilter = GL_NEAREST;
--- line 813 ----------------------------------------
--- line 817 ----------------------------------------
- . . . . . . . . . return TRUE;
- . . . . . . . . . }
- . . . . . . . . . break;
- . . . . . . . . . case COMP_DISPLAY_OPTION_CLICK_TO_FOCUS:
- . . . . . . . . . case COMP_DISPLAY_OPTION_AUTORAISE:
- . . . . . . . . . case COMP_DISPLAY_OPTION_RAISE_ON_CLICK:
- . . . . . . . . . case COMP_DISPLAY_OPTION_HIDE_SKIP_TASKBAR_WINDOWS:
- . . . . . . . . . case COMP_DISPLAY_OPTION_IGNORE_HINTS_WHEN_MAXIMIZED:
- 25 5 1 10 0 0 5 0 0 if (compSetBoolOption(o, value))
- . . . . . . . . . return TRUE;
- . . . . . . . . . break;
- . . . . . . . . . case COMP_DISPLAY_OPTION_AUTORAISE_DELAY:
- . . . . . . . . . case COMP_DISPLAY_OPTION_EDGE_TRIGGERING_DELAY:
- 10 2 0 4 0 0 2 0 0 if (compSetIntOption(o, value))
- . . . . . . . . . return TRUE;
- . . . . . . . . . break;
- . . . . . . . . . case COMP_DISPLAY_OPTION_COMMAND0:
- . . . . . . . . . case COMP_DISPLAY_OPTION_COMMAND1:
- . . . . . . . . . case COMP_DISPLAY_OPTION_COMMAND2:
- . . . . . . . . . case COMP_DISPLAY_OPTION_COMMAND3:
- . . . . . . . . . case COMP_DISPLAY_OPTION_COMMAND4:
- . . . . . . . . . case COMP_DISPLAY_OPTION_COMMAND5:
--- line 838 ----------------------------------------
--- line 839 ----------------------------------------
- . . . . . . . . . case COMP_DISPLAY_OPTION_COMMAND6:
- . . . . . . . . . case COMP_DISPLAY_OPTION_COMMAND7:
- . . . . . . . . . case COMP_DISPLAY_OPTION_COMMAND8:
- . . . . . . . . . case COMP_DISPLAY_OPTION_COMMAND9:
- . . . . . . . . . case COMP_DISPLAY_OPTION_COMMAND10:
- . . . . . . . . . case COMP_DISPLAY_OPTION_COMMAND11:
- . . . . . . . . . case COMP_DISPLAY_OPTION_SCREENSHOT:
- . . . . . . . . . case COMP_DISPLAY_OPTION_WINDOW_SCREENSHOT:
- 70 14 0 28 0 0 14 0 0 if (compSetStringOption(o, value))
- . . . . . . . . . return TRUE;
- . . . . . . . . . break;
- . . . . . . . . . case COMP_DISPLAY_OPTION_CLOSE_WINDOW:
- . . . . . . . . . case COMP_DISPLAY_OPTION_MAIN_MENU:
- . . . . . . . . . case COMP_DISPLAY_OPTION_RUN_DIALOG:
- . . . . . . . . . case COMP_DISPLAY_OPTION_MINIMIZE_WINDOW:
- . . . . . . . . . case COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW:
- . . . . . . . . . case COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW_HORZ:
--- line 855 ----------------------------------------
--- line 880 ----------------------------------------
- . . . . . . . . . case COMP_DISPLAY_OPTION_RUN_WINDOW_SCREENSHOT:
- . . . . . . . . . case COMP_DISPLAY_OPTION_WINDOW_MENU:
- . . . . . . . . . case COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED:
- . . . . . . . . . case COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED_HORZ:
- . . . . . . . . . case COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED_