summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarex <marex@beryl-project.org>2007-02-19 22:47:50 +0100
committermarex <marex@beryl-project.org>2007-02-19 22:47:50 +0100
commita2ea6ddb4d24a12ecdbf94fe586d1e7c54f179ed (patch)
treeb858842c1b4d7837c8f73711fdc5b13103280e29
parente591563904e1f6c2955163cca7dde1ef8f482c2c (diff)
parent8b5e6a3bb74e9f9fe0941e83ef7628294244c8b9 (diff)
downloadmarex-dev-a2ea6ddb4d24a12ecdbf94fe586d1e7c54f179ed.tar.gz
marex-dev-a2ea6ddb4d24a12ecdbf94fe586d1e7c54f179ed.tar.bz2
Merge git+ssh://marex@git.beryl-project.org/git/beryl/
-rw-r--r--Documentation/00-INDEX24
-rw-r--r--Documentation/Core-CacheAnnotate14973
-rw-r--r--Documentation/CoreStructures130
-rw-r--r--Documentation/CoreStructures_ES15
-rw-r--r--Documentation/HACKING56
-rw-r--r--Documentation/HACKING_ES109
-rw-r--r--Documentation/Multihead95
-rw-r--r--Documentation/PaintLocking102
-rw-r--r--Documentation/TODO-Multiscreen65
-rw-r--r--Documentation/TODOLIST24
-rw-r--r--Documentation/callgraph.pngbin0 -> 284987 bytes
-rw-r--r--INSTALL51
-rw-r--r--Makefile208
-rw-r--r--VERSION2
-rw-r--r--aquamarine/AUTHORS2
-rw-r--r--aquamarine/COPYING340
-rw-r--r--aquamarine/INSTALL236
-rw-r--r--aquamarine/Makefile.am.in11
-rw-r--r--aquamarine/Makefile.cvs16
-rw-r--r--aquamarine/NEWS1
-rw-r--r--aquamarine/README1
-rw-r--r--aquamarine/TODO1
-rw-r--r--aquamarine/VERSION2
-rwxr-xr-xaquamarine/autogen.sh4
-rw-r--r--aquamarine/configure.in.in46
-rw-r--r--aquamarine/kcm/Makefile.am21
-rw-r--r--aquamarine/kcm/aqsettings.kcfgc9
-rw-r--r--aquamarine/kcm/aquamarine_ui.ui293
-rw-r--r--aquamarine/kcm/beryl.desktop13
-rw-r--r--aquamarine/kcm/main.cpp94
-rw-r--r--aquamarine/kcm/main.h48
-rw-r--r--aquamarine/po/Makefile.am1
-rw-r--r--aquamarine/po/aquamarine.pot200
-rw-r--r--aquamarine/po/ca.po204
-rw-r--r--aquamarine/po/de.po135
-rw-r--r--aquamarine/po/es_ES.po202
-rw-r--r--aquamarine/po/hu_HU.po207
-rw-r--r--aquamarine/po/it.po138
-rw-r--r--aquamarine/po/it_IT.po138
-rw-r--r--aquamarine/po/ja.po204
-rw-r--r--aquamarine/po/ko.po138
-rw-r--r--aquamarine/po/nl.po201
-rw-r--r--aquamarine/po/pl_PL.po138
-rw-r--r--aquamarine/po/pt_PT.po198
-rw-r--r--aquamarine/po/ru.po198
-rw-r--r--aquamarine/po/ru_RU.po133
-rw-r--r--aquamarine/po/ru_UA.po133
-rw-r--r--aquamarine/po/sv_SE.po137
-rw-r--r--aquamarine/po/uk_UA.po136
-rw-r--r--aquamarine/po/zh_CN.po203
-rw-r--r--aquamarine/po/zh_HK.po202
-rw-r--r--aquamarine/po/zh_TW.po202
-rw-r--r--aquamarine/settings-backend/Makefile.am13
-rw-r--r--aquamarine/settings-backend/kconfig_backend.cpp1209
-rw-r--r--aquamarine/src/KWinInterface.h17
-rw-r--r--aquamarine/src/Makefile.am24
-rw-r--r--aquamarine/src/aquamarine.cpp157
-rw-r--r--aquamarine/src/aquamarine.kcfg48
-rw-r--r--aquamarine/src/decorator.cpp1053
-rw-r--r--aquamarine/src/decorator.h197
-rw-r--r--aquamarine/src/options.cpp190
-rw-r--r--aquamarine/src/options.h143
-rw-r--r--aquamarine/src/settings.kcfgc9
-rw-r--r--aquamarine/src/utils.cpp225
-rw-r--r--aquamarine/src/utils.h75
-rw-r--r--aquamarine/src/window.cpp2170
-rw-r--r--aquamarine/src/window.h287
-rw-r--r--bdock/AUTHORS1
-rw-r--r--bdock/COPYING340
-rw-r--r--bdock/ChangeLog1
-rw-r--r--bdock/INSTALL236
-rw-r--r--bdock/Makefile.am5
-rw-r--r--bdock/NEWS1
-rw-r--r--bdock/README7
-rw-r--r--bdock/VERSION2
-rwxr-xr-xbdock/autogen.sh16
-rw-r--r--bdock/configure.ac38
-rw-r--r--bdock/doc/Makefile.am3
-rw-r--r--bdock/doc/bdock.112
-rw-r--r--bdock/pixmaps/Makefile.am9
-rw-r--r--bdock/pixmaps/clip.tiffbin0 -> 4728 bytes
-rw-r--r--bdock/pixmaps/defaultAppIcon.xpm846
-rw-r--r--bdock/pixmaps/tile.tiffbin0 -> 4008 bytes
-rw-r--r--bdock/src/Makefile.am7
-rw-r--r--bdock/src/main.c1143
-rw-r--r--beryl-core/AUTHORS7
-rw-r--r--beryl-core/COPYING340
-rw-r--r--beryl-core/ChangeLog1
-rw-r--r--beryl-core/INSTALL236
-rw-r--r--beryl-core/Makefile.am37
-rw-r--r--beryl-core/NEWS1
-rw-r--r--beryl-core/README17
-rw-r--r--beryl-core/TODO1
-rw-r--r--beryl-core/VERSION2
-rw-r--r--beryl-core/acinclude.m421
-rwxr-xr-xberyl-core/autogen.sh16
-rw-r--r--beryl-core/beryl.pc.in12
-rw-r--r--beryl-core/berylsettings.pc.in12
-rw-r--r--beryl-core/configure.ac159
-rw-r--r--beryl-core/doc/Makefile.am86
-rw-r--r--beryl-core/doc/beryl-settings-dump.113
-rw-r--r--beryl-core/doc/beryl-xgl.11
-rw-r--r--beryl-core/doc/beryl.190
-rw-r--r--beryl-core/doc/beryl_settings__missing.392
-rw-r--r--beryl-core/doc/beryl_settings_context_destroy.32
-rw-r--r--beryl-core/doc/beryl_settings_context_find_plugin.359
-rw-r--r--beryl-core/doc/beryl_settings_context_find_setting.32
-rw-r--r--beryl-core/doc/beryl_settings_context_new.345
-rw-r--r--beryl-core/doc/beryl_settings_set_codeset.338
-rw-r--r--beryl-core/images/Makefile.am7
-rw-r--r--beryl-core/images/background.pngbin0 -> 127 bytes
-rw-r--r--beryl-core/images/icon.pngbin0 -> 1666 bytes
-rw-r--r--beryl-core/include/Makefile.am3
-rw-r--r--beryl-core/include/beryl-decoration.h402
-rw-r--r--beryl-core/include/beryl-settings-backend.h18
-rw-r--r--beryl-core/include/beryl-settings.h617
-rw-r--r--beryl-core/include/beryl-text.h42
-rw-r--r--beryl-core/include/beryl.h3009
-rw-r--r--beryl-core/include/beryl_helpers.h57
-rw-r--r--beryl-core/include/beryl_ipcs.h148
-rw-r--r--beryl-core/libberyldecoration/Makefile.am11
-rw-r--r--beryl-core/libberyldecoration/README1
-rw-r--r--beryl-core/libberyldecoration/libberyldecoration.pc.in12
-rw-r--r--beryl-core/libberyldecoration/main.c2673
-rw-r--r--beryl-core/libberylsettings/Makefile.am16
-rw-r--r--beryl-core/libberylsettings/main.c2732
-rw-r--r--beryl-core/po/ChangeLog13
-rw-r--r--beryl-core/po/LINGUAS23
-rw-r--r--beryl-core/po/Makevars42
-rw-r--r--beryl-core/po/POTFILES.in5
-rw-r--r--beryl-core/po/beryl-core.pot533
-rw-r--r--beryl-core/po/ca.po526
-rw-r--r--beryl-core/po/cs.po499
-rw-r--r--beryl-core/po/de_DE.po519
-rw-r--r--beryl-core/po/es.po573
-rw-r--r--beryl-core/po/es_AR.po528
-rw-r--r--beryl-core/po/fr.po794
-rw-r--r--beryl-core/po/hu_HU.po491
-rw-r--r--beryl-core/po/it_IT.po530
-rw-r--r--beryl-core/po/ja_JP.po517
-rw-r--r--beryl-core/po/ko.po539
-rw-r--r--beryl-core/po/nb_NO.po512
-rw-r--r--beryl-core/po/nl.po491
-rw-r--r--beryl-core/po/pl.po564
-rw-r--r--beryl-core/po/pt_BR.po517
-rw-r--r--beryl-core/po/pt_PT.po408
-rw-r--r--beryl-core/po/ru.po484
-rw-r--r--beryl-core/po/ru_RU.po502
-rw-r--r--beryl-core/po/ru_UA.po502
-rw-r--r--beryl-core/po/sv_FI.po504
-rw-r--r--beryl-core/po/sv_SE.po504
-rw-r--r--beryl-core/po/uk_UA.po409
-rw-r--r--beryl-core/po/zh_CN.po526
-rw-r--r--beryl-core/po/zh_HK.po525
-rw-r--r--beryl-core/po/zh_TW.po525
-rw-r--r--beryl-core/settings-backends/Makefile.am20
-rw-r--r--beryl-core/settings-backends/gconf.c1686
-rw-r--r--beryl-core/settings-backends/ini.c756
-rw-r--r--beryl-core/src/Makefile.am52
-rw-r--r--beryl-core/src/action.c44
-rw-r--r--beryl-core/src/activation.c92
-rw-r--r--beryl-core/src/beryl-private.h41
-rw-r--r--beryl-core/src/display.c3740
-rw-r--r--beryl-core/src/display_options.c1011
-rw-r--r--beryl-core/src/event.c2318
-rw-r--r--beryl-core/src/fragment.c1323
-rw-r--r--beryl-core/src/fsp.h25
-rw-r--r--beryl-core/src/ipcs.c233
-rw-r--r--beryl-core/src/main.c382
-rw-r--r--beryl-core/src/matrix.c322
-rw-r--r--beryl-core/src/option.c626
-rw-r--r--beryl-core/src/paint.c1428
-rw-r--r--beryl-core/src/plugin.c1100
-rw-r--r--beryl-core/src/privates.c65
-rw-r--r--beryl-core/src/screen.c3878
-rw-r--r--beryl-core/src/screen_options.c293
-rw-r--r--beryl-core/src/session.c257
-rw-r--r--beryl-core/src/settings-dump.c508
-rw-r--r--beryl-core/src/syscheck.c407
-rw-r--r--beryl-core/src/syscheck.h34
-rw-r--r--beryl-core/src/texture.c650
-rw-r--r--beryl-core/src/type_mask.c53
-rw-r--r--beryl-core/src/window.c4842
-rw-r--r--beryl-desktop-manager/src/HOWTO13
-rw-r--r--beryl-desktop-manager/src/Makefile5
-rw-r--r--beryl-desktop-manager/src/babytux.pngbin0 -> 194469 bytes
-rw-r--r--beryl-desktop-manager/src/bdm-widget.h14
-rw-r--r--beryl-desktop-manager/src/bdm.c422
-rw-r--r--beryl-desktop-manager/src/bdm.h159
-rw-r--r--beryl-desktop-manager/src/clock-marks.svg1163
-rw-r--r--beryl-desktop-manager/src/tempUI.py35
-rw-r--r--beryl-desktop-manager/src/testWidget.c92
-rw-r--r--beryl-extra-artwork/SnowImages/BerylBarrels/BeryBarrel2.pngbin0 -> 26777 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/BerylBarrels/BerylBarrel1.pngbin0 -> 48282 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/Bubbles/bluebubble.pngbin0 -> 10737 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/Bubbles/bubble1.pngbin0 -> 2992 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/Bubbles/bubble2.pngbin0 -> 3496 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/Bubbles/bubble3.pngbin0 -> 3091 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/Bubbles/greenbubble.pngbin0 -> 11340 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/Bubbles/redbubble.pngbin0 -> 9430 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/Bubbles/yellowbubble.pngbin0 -> 10322 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/Clover/clover2.pngbin0 -> 39633 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/Clover/clover3.pngbin0 -> 39825 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/Clover/clover5.pngbin0 -> 146302 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/Clover/clover6.pngbin0 -> 149580 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/Coffee/Cup'oCoffee.pngbin0 -> 13989 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/Egg/EasterEgg.pngbin0 -> 11713 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/FallLeafFlake/leaf1.pngbin0 -> 13061 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/FallLeafFlake/leaf2.pngbin0 -> 7976 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/Flowers/PurplePansy.pngbin0 -> 28961 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/Flowers/RedHibuscus.pngbin0 -> 22441 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/Flowers/RedPansy.pngbin0 -> 16412 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/Flowers/VanillaBlossom.pngbin0 -> 16134 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/Flowers/VioletPansy.pngbin0 -> 33948 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/Flowers/YellowPansy.pngbin0 -> 30993 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/Flowers/daisy.pngbin0 -> 15375 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/Flowers/danelion.pngbin0 -> 92727 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/Flowers/rose1.pngbin0 -> 87675 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/Flowers/rose4.pngbin0 -> 25291 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/Flowers/rosered.pngbin0 -> 9565 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/Flowers/yellowRose2.pngbin0 -> 41816 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/Food/PIzza1.pngbin0 -> 9496 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/Food/Watermelon2.pngbin0 -> 8320 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/Food/Watermelon3.pngbin0 -> 9750 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/Food/mushroom1.pngbin0 -> 14429 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/Food/mushroom2.pngbin0 -> 21837 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/Food/mushroom3.pngbin0 -> 20090 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/Food/mushroom4.pngbin0 -> 24374 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/Food/mushroom5.pngbin0 -> 20013 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/Food/mushroom6.pngbin0 -> 17021 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/Food/watermelon1.pngbin0 -> 28884 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/Marbles/Marble1.pngbin0 -> 9999 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/Marbles/marble2.pngbin0 -> 182505 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/Marbles/marble3.pngbin0 -> 32742 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/Marbles/marble4.pngbin0 -> 28505 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/MilkWeed/milkweedseed.pngbin0 -> 40043 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/RedHeartFlake/heart1.pngbin0 -> 11680 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/SnowFlakes/snow11.pngbin0 -> 1801 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/SnowFlakes/snow12.pngbin0 -> 3979 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/SnowFlakes/snowflake1.pngbin0 -> 5166 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/SnowFlakes/snowflake10.pngbin0 -> 6649 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/SnowFlakes/snowflake13.pngbin0 -> 6385 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/SnowFlakes/snowflake14.pngbin0 -> 5412 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/SnowFlakes/snowflake15.pngbin0 -> 4696 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/SnowFlakes/snowflake2.pngbin0 -> 6670 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/SnowFlakes/snowflake3.pngbin0 -> 6059 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/SnowFlakes/snowflake4.pngbin0 -> 6937 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/SnowFlakes/snowflake5.pngbin0 -> 9035 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/SnowFlakes/snowflake6.pngbin0 -> 3287 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/SnowFlakes/snowflake8.pngbin0 -> 6610 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/SnowFlakes/snowflake9.pngbin0 -> 9471 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/SportsBalls/Baseball1.pngbin0 -> 31188 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/SportsBalls/Golf1.pngbin0 -> 13908 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/SportsBalls/Golf2.pngbin0 -> 12907 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/SportsBalls/NBA1.pngbin0 -> 22684 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/SportsBalls/NFL.pngbin0 -> 20967 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/SportsBalls/Soccer.pngbin0 -> 11455 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/SportsBalls/Tennis1.pngbin0 -> 9950 bytes
-rw-r--r--beryl-extra-artwork/SnowImages/SportsBalls/WaterPolo.pngbin0 -> 30399 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/UbuntuFlake/ubuntuFlake.pngbin0 -> 6835 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/butterfly/butterfly.pngbin0 -> 13920 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/dandelion seeds/Dandy1Seed.pngbin0 -> 5210 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/dandelion seeds/DandySeeds.pngbin0 -> 18302 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/dandelion seeds/dandy1Seed2.pngbin0 -> 10560 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/pinWheel/pinwheel.pngbin0 -> 63675 bytes
-rwxr-xr-xberyl-extra-artwork/SnowImages/wreath/wreath1.pngbin0 -> 12892 bytes
-rwxr-xr-xberyl-extra-artwork/Splash/coz_/VictorVasarely2.pngbin0 -> 306157 bytes
-rwxr-xr-xberyl-extra-artwork/Splash/coz_/VictorVasarely3.pngbin0 -> 342561 bytes
-rwxr-xr-xberyl-extra-artwork/Splash/coz_/VictorVasarely4.pngbin0 -> 441518 bytes
-rwxr-xr-xberyl-extra-artwork/Splash/coz_/splash1.pngbin0 -> 346263 bytes
-rwxr-xr-xberyl-extra-artwork/Splash/coz_/splash2.pngbin0 -> 255125 bytes
-rwxr-xr-xberyl-extra-artwork/Splash/coz_/splash3.pngbin0 -> 83214 bytes
-rwxr-xr-xberyl-extra-artwork/Splash/coz_/splash4.pngbin0 -> 227362 bytes
-rwxr-xr-xberyl-extra-artwork/Splash/coz_/splash5.pngbin0 -> 214429 bytes
-rw-r--r--beryl-extra-artwork/Splash/coz_/splash6.pngbin0 -> 358268 bytes
-rw-r--r--beryl-extra-artwork/Splash/coz_/splash7.pngbin0 -> 293186 bytes
-rw-r--r--beryl-extra-artwork/Splash/coz_/splash8.pngbin0 -> 241576 bytes
-rw-r--r--beryl-extra-artwork/gpl license.txt339
-rw-r--r--beryl-manager/AUTHORS0
-rw-r--r--beryl-manager/COPYING340
-rw-r--r--beryl-manager/ChangeLog1
-rw-r--r--beryl-manager/INSTALL236
-rw-r--r--beryl-manager/Makefile.am19
-rw-r--r--beryl-manager/NEWS1
-rw-r--r--beryl-manager/README12
-rw-r--r--beryl-manager/VERSION2
-rwxr-xr-xberyl-manager/autogen.sh15
-rw-r--r--beryl-manager/beryl-manager.desktop11
-rw-r--r--beryl-manager/configure.ac37
-rw-r--r--beryl-manager/doc/Makefile.am3
-rw-r--r--beryl-manager/doc/beryl-manager.147
-rw-r--r--beryl-manager/pixmaps/22x22/beryl-manager.pngbin0 -> 1282 bytes
-rw-r--r--beryl-manager/pixmaps/Makefile.am29
-rw-r--r--beryl-manager/pixmaps/beryl-manager.pngbin0 -> 1346 bytes
-rw-r--r--beryl-manager/pixmaps/beryl-manager.svg71
-rw-r--r--beryl-manager/pixmaps/fall-back-wm-select.pngbin0 -> 931 bytes
-rw-r--r--beryl-manager/pixmaps/wd-select.pngbin0 -> 791 bytes
-rw-r--r--beryl-manager/pixmaps/wm-select.pngbin0 -> 1011 bytes
-rw-r--r--beryl-manager/po/ChangeLog4
-rw-r--r--beryl-manager/po/LINGUAS29
-rw-r--r--beryl-manager/po/Makevars42
-rw-r--r--beryl-manager/po/POTFILES.in1
-rw-r--r--beryl-manager/po/ar_AR.po272
-rw-r--r--beryl-manager/po/beryl-manager.pot239
-rw-r--r--beryl-manager/po/ca.po249
-rw-r--r--beryl-manager/po/de_DE.po274
-rw-r--r--beryl-manager/po/en_US.po270
-rw-r--r--beryl-manager/po/es_AR.po256
-rw-r--r--beryl-manager/po/es_ES.po253
-rw-r--r--beryl-manager/po/fr.po259
-rw-r--r--beryl-manager/po/gl_ES.po276
-rw-r--r--beryl-manager/po/gl_GL.po272
-rw-r--r--beryl-manager/po/hu_HU.po248
-rw-r--r--beryl-manager/po/it_IT.po277
-rw-r--r--beryl-manager/po/ja_JP.po251
-rw-r--r--beryl-manager/po/ko.po270
-rw-r--r--beryl-manager/po/my_MY.po270
-rw-r--r--beryl-manager/po/nb_NO.po252
-rw-r--r--beryl-manager/po/nl.po243
-rw-r--r--beryl-manager/po/pl.po248
-rw-r--r--beryl-manager/po/pt_BR.po254
-rw-r--r--beryl-manager/po/pt_PT.po246
-rw-r--r--beryl-manager/po/ru_RU.po254
-rw-r--r--beryl-manager/po/ru_UA.po254
-rw-r--r--beryl-manager/po/sk_SK.po273
-rw-r--r--beryl-manager/po/sv_FI.po268
-rw-r--r--beryl-manager/po/sv_SE.po268
-rw-r--r--beryl-manager/po/tr_TR.po270
-rw-r--r--beryl-manager/po/uk_UA.po253
-rw-r--r--beryl-manager/po/zh_CN.po248
-rw-r--r--beryl-manager/po/zh_HK.po248
-rw-r--r--beryl-manager/po/zh_TW.po248
-rw-r--r--beryl-manager/src/Makefile.am9
-rw-r--r--beryl-manager/src/eggtrayicon.c547
-rw-r--r--beryl-manager/src/eggtrayicon.h80
-rw-r--r--beryl-manager/src/main.c1753
-rwxr-xr-xberyl-mesa/bin/mklib781
-rw-r--r--beryl-mesa/configs/current52
-rw-r--r--beryl-mesa/configs/default87
-rw-r--r--beryl-mesa/include/GL/Makefile.am44
-rw-r--r--beryl-mesa/include/GL/amesa.h65
-rw-r--r--beryl-mesa/include/GL/directfbgl.h89
-rw-r--r--beryl-mesa/include/GL/dmesa.h160
-rw-r--r--beryl-mesa/include/GL/foomesa.h76
-rw-r--r--beryl-mesa/include/GL/fxmesa.h103
-rw-r--r--beryl-mesa/include/GL/ggimesa.h85
-rw-r--r--beryl-mesa/include/GL/gl.h2383
-rw-r--r--beryl-mesa/include/GL/gl_mangle.h1481
-rw-r--r--beryl-mesa/include/GL/glext.h6495
-rw-r--r--beryl-mesa/include/GL/glfbdev.h149
-rw-r--r--beryl-mesa/include/GL/glu.h340
-rw-r--r--beryl-mesa/include/GL/glu_mangle.h86
-rw-r--r--beryl-mesa/include/GL/glut.h748
-rw-r--r--beryl-mesa/include/GL/glut_h.dja340
-rw-r--r--beryl-mesa/include/GL/glutf90.h81
-rw-r--r--beryl-mesa/include/GL/glx.h500
-rw-r--r--beryl-mesa/include/GL/glx_mangle.h55
-rw-r--r--beryl-mesa/include/GL/glxext.h693
-rw-r--r--beryl-mesa/include/GL/glxtokens.h286
-rw-r--r--beryl-mesa/include/GL/internal/dri_interface.h485
-rw-r--r--beryl-mesa/include/GL/internal/glcore.h522
-rw-r--r--beryl-mesa/include/GL/internal/sarea.h94
-rw-r--r--beryl-mesa/include/GL/mesa_wgl.h132
-rw-r--r--beryl-mesa/include/GL/mglmesa.h79
-rw-r--r--beryl-mesa/include/GL/miniglx.h482
-rw-r--r--beryl-mesa/include/GL/osmesa.h289
-rw-r--r--beryl-mesa/include/GL/svgamesa.h97
-rw-r--r--beryl-mesa/include/GL/uglglutshapes.h45
-rw-r--r--beryl-mesa/include/GL/uglmesa.h155
-rw-r--r--beryl-mesa/include/GL/vms_x_fix.h880
-rw-r--r--beryl-mesa/include/GL/wmesa.h141
-rw-r--r--beryl-mesa/include/GL/xmesa.h390
-rw-r--r--beryl-mesa/include/GL/xmesa_x.h85
-rw-r--r--beryl-mesa/include/GL/xmesa_xf86.h165
-rw-r--r--beryl-mesa/src/Makefile40
-rw-r--r--beryl-mesa/src/glx/Makefile12
-rw-r--r--beryl-mesa/src/glx/x11/Makefile96
-rw-r--r--beryl-mesa/src/glx/x11/XF86dri.c623
-rw-r--r--beryl-mesa/src/glx/x11/clientattrib.c141
-rw-r--r--beryl-mesa/src/glx/x11/compsize.c191
-rw-r--r--beryl-mesa/src/glx/x11/depend.bak0
-rw-r--r--beryl-mesa/src/glx/x11/dri_glx.c472
-rw-r--r--beryl-mesa/src/glx/x11/dri_glx.h61
-rw-r--r--beryl-mesa/src/glx/x11/eval.c132
-rw-r--r--beryl-mesa/src/glx/x11/glcontextmodes.c533
-rw-r--r--beryl-mesa/src/glx/x11/glx_pbuffer.c594
-rw-r--r--beryl-mesa/src/glx/x11/glx_query.c102
-rw-r--r--beryl-mesa/src/glx/x11/glx_texture_compression.c347
-rw-r--r--beryl-mesa/src/glx/x11/glxclient.h690
-rw-r--r--beryl-mesa/src/glx/x11/glxcmds.c3125
-rw-r--r--beryl-mesa/src/glx/x11/glxext.c1884
-rw-r--r--beryl-mesa/src/glx/x11/glxextensions.c724
-rw-r--r--beryl-mesa/src/glx/x11/glxextensions.h281
-rw-r--r--beryl-mesa/src/glx/x11/indirect.c8472
-rw-r--r--beryl-mesa/src/glx/x11/indirect.h707
-rw-r--r--beryl-mesa/src/glx/x11/indirect_init.c779
-rw-r--r--beryl-mesa/src/glx/x11/indirect_init.h42
-rw-r--r--beryl-mesa/src/glx/x11/indirect_size.c370
-rw-r--r--beryl-mesa/src/glx/x11/indirect_size.h88
-rw-r--r--beryl-mesa/src/glx/x11/indirect_transpose_matrix.c83
-rw-r--r--beryl-mesa/src/glx/x11/indirect_va_private.h308
-rw-r--r--beryl-mesa/src/glx/x11/indirect_vertex_array.c1847
-rw-r--r--beryl-mesa/src/glx/x11/indirect_vertex_array.h57
-rw-r--r--beryl-mesa/src/glx/x11/indirect_vertex_program.c273
-rw-r--r--beryl-mesa/src/glx/x11/indirect_window_pos.c98
-rw-r--r--beryl-mesa/src/glx/x11/packrender.h249
-rw-r--r--beryl-mesa/src/glx/x11/packsingle.h219
-rw-r--r--beryl-mesa/src/glx/x11/pixel.c443
-rw-r--r--beryl-mesa/src/glx/x11/pixelstore.c337
-rw-r--r--beryl-mesa/src/glx/x11/render2.c363
-rw-r--r--beryl-mesa/src/glx/x11/renderpix.c215
-rw-r--r--beryl-mesa/src/glx/x11/single2.c833
-rw-r--r--beryl-mesa/src/glx/x11/singlepix.c105
-rw-r--r--beryl-mesa/src/glx/x11/vertarr.c203
-rw-r--r--beryl-mesa/src/glx/x11/xf86dri.h122
-rw-r--r--beryl-mesa/src/glx/x11/xf86dristr.h343
-rw-r--r--beryl-mesa/src/glx/x11/xfont.c377
-rw-r--r--beryl-mesa/src/mesa/Makefile179
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/depthtmp.h269
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/dri_util.c1093
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/dri_util.h557
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/drirenderbuffer.c215
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/drirenderbuffer.h75
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/extension_helper.h6021
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/glcontextmodes.c533
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/glcontextmodes.h52
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/memops.h17
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/mmio.h62
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/mmx.h560
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/spantmp.h338
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/spantmp2.h615
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/spantmp_common.h81
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/stenciltmp.h246
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/texmem.c1347
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/texmem.h334
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/utils.c698
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/utils.h119
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/vblank.c347
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/vblank.h69
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/xmlconfig.c1002
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/xmlconfig.h124
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/xmlpool.h94
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/xmlpool/Makefile96
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/xmlpool/de.po240
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/xmlpool/es.po219
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/xmlpool/fr.po225
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/xmlpool/gen_xmlpool.py191
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/xmlpool/nl.po230
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/xmlpool/options.h482
-rw-r--r--beryl-mesa/src/mesa/drivers/dri/common/xmlpool/t_options.h234
-rw-r--r--beryl-mesa/src/mesa/glapi/APPLE_vertex_array_object.xml27
-rw-r--r--beryl-mesa/src/mesa/glapi/EXT_framebuffer_object.xml188
-rw-r--r--beryl-mesa/src/mesa/glapi/Makefile102
-rw-r--r--beryl-mesa/src/mesa/glapi/descrip.mms37
-rw-r--r--beryl-mesa/src/mesa/glapi/dispatch.h4214
-rw-r--r--beryl-mesa/src/mesa/glapi/extension_helper.py321
-rw-r--r--beryl-mesa/src/mesa/glapi/glX_XML.py531
-rw-r--r--beryl-mesa/src/mesa/glapi/glX_doc.py280
-rw-r--r--beryl-mesa/src/mesa/glapi/glX_proto_common.py95
-rw-r--r--beryl-mesa/src/mesa/glapi/glX_proto_recv.py563
-rw-r--r--beryl-mesa/src/mesa/glapi/glX_proto_send.py1044
-rw-r--r--beryl-mesa/src/mesa/glapi/glX_proto_size.py707
-rw-r--r--beryl-mesa/src/mesa/glapi/gl_API.dtd134
-rw-r--r--beryl-mesa/src/mesa/glapi/gl_API.xml11570
-rw-r--r--beryl-mesa/src/mesa/glapi/gl_SPARC_asm.py135
-rw-r--r--beryl-mesa/src/mesa/glapi/gl_XML.py813
-rw-r--r--beryl-mesa/src/mesa/glapi/gl_apitemp.py216
-rw-r--r--beryl-mesa/src/mesa/glapi/gl_enums.py217
-rw-r--r--beryl-mesa/src/mesa/glapi/gl_offsets.py105
-rw-r--r--beryl-mesa/src/mesa/glapi/gl_procs.py155
-rw-r--r--beryl-mesa/src/mesa/glapi/gl_table.py194
-rw-r--r--beryl-mesa/src/mesa/glapi/gl_x86-64_asm.py320
-rw-r--r--beryl-mesa/src/mesa/glapi/gl_x86_asm.py244
-rw-r--r--beryl-mesa/src/mesa/glapi/glapi.c1048
-rw-r--r--beryl-mesa/src/mesa/glapi/glapi.h160
-rw-r--r--beryl-mesa/src/mesa/glapi/glapioffsets.h1284
-rw-r--r--beryl-mesa/src/mesa/glapi/glapitable.h867
-rw-r--r--beryl-mesa/src/mesa/glapi/glapitemp.h6229
-rw-r--r--beryl-mesa/src/mesa/glapi/glprocs.h2061
-rw-r--r--beryl-mesa/src/mesa/glapi/glthread.c374
-rw-r--r--beryl-mesa/src/mesa/glapi/glthread.h313
-rw-r--r--beryl-mesa/src/mesa/glapi/license.py47
-rw-r--r--beryl-mesa/src/mesa/glapi/mesadef.py223
-rwxr-xr-xberyl-mesa/src/mesa/glapi/next_available_offset.sh39
-rw-r--r--beryl-mesa/src/mesa/glapi/typeexpr.py292
-rw-r--r--beryl-mesa/src/mesa/main/Imakefile129
-rw-r--r--beryl-mesa/src/mesa/main/KNOWN_BUGS21
-rw-r--r--beryl-mesa/src/mesa/main/Makefile.ugl364
-rw-r--r--beryl-mesa/src/mesa/main/Makefile.win208
-rw-r--r--beryl-mesa/src/mesa/main/accum.c112
-rw-r--r--beryl-mesa/src/mesa/main/accum.h62
-rw-r--r--beryl-mesa/src/mesa/main/api_arrayelt.c1218
-rw-r--r--beryl-mesa/src/mesa/main/api_arrayelt.h37
-rw-r--r--beryl-mesa/src/mesa/main/api_eval.h42
-rw-r--r--beryl-mesa/src/mesa/main/api_loopback.c1658
-rw-r--r--beryl-mesa/src/mesa/main/api_loopback.h37
-rw-r--r--beryl-mesa/src/mesa/main/api_noop.c976
-rw-r--r--beryl-mesa/src/mesa/main/api_noop.h46
-rw-r--r--beryl-mesa/src/mesa/main/api_validate.c238
-rw-r--r--beryl-mesa/src/mesa/main/api_validate.h49
-rw-r--r--beryl-mesa/src/mesa/main/arrayobj.c419
-rw-r--r--beryl-mesa/src/mesa/main/arrayobj.h70
-rw-r--r--beryl-mesa/src/mesa/main/attrib.c1388
-rw-r--r--beryl-mesa/src/mesa/main/attrib.h68
-rw-r--r--beryl-mesa/src/mesa/main/bitset.h122
-rw-r--r--beryl-mesa/src/mesa/main/blend.c569
-rw-r--r--beryl-mesa/src/mesa/main/blend.h78
-rw-r--r--beryl-mesa/src/mesa/main/bufferobj.c943
-rw-r--r--beryl-mesa/src/mesa/main/bufferobj.h126
-rw-r--r--beryl-mesa/src/mesa/main/buffers.c752
-rw-r--r--beryl-mesa/src/mesa/main/buffers.h81
-rw-r--r--beryl-mesa/src/mesa/main/clip.c160
-rw-r--r--beryl-mesa/src/mesa/main/clip.h49
-rw-r--r--beryl-mesa/src/mesa/main/colormac.h227
-rw-r--r--beryl-mesa/src/mesa/main/colortab.c1481
-rw-r--r--beryl-mesa/src/mesa/main/colortab.h110
-rw-r--r--beryl-mesa/src/mesa/main/config.h326
-rw-r--r--beryl-mesa/src/mesa/main/context.c1868
-rw-r--r--beryl-mesa/src/mesa/main/context.h320
-rw-r--r--beryl-mesa/src/mesa/main/convolve.c1527
-rw-r--r--beryl-mesa/src/mesa/main/convolve.h114
-rw-r--r--beryl-mesa/src/mesa/main/dd.h1084
-rw-r--r--beryl-mesa/src/mesa/main/debug.c227
-rw-r--r--beryl-mesa/src/mesa/main/debug.h60
-rw-r--r--beryl-mesa/src/mesa/main/depth.c188
-rw-r--r--beryl-mesa/src/mesa/main/depth.h62
-rw-r--r--beryl-mesa/src/mesa/main/depthstencil.c661
-rw-r--r--beryl-mesa/src/mesa/main/depthstencil.h56
-rw-r--r--beryl-mesa/src/mesa/main/descrip.mms218
-rw-r--r--beryl-mesa/src/mesa/main/dispatch.c95
-rw-r--r--beryl-mesa/src/mesa/main/dlist.c8637
-rw-r--r--beryl-mesa/src/mesa/main/dlist.h96
-rw-r--r--beryl-mesa/src/mesa/main/drawpix.c435
-rw-r--r--beryl-mesa/src/mesa/main/drawpix.h55
-rw-r--r--beryl-mesa/src/mesa/main/enable.c1414
-rw-r--r--beryl-mesa/src/mesa/main/enable.h57
-rw-r--r--beryl-mesa/src/mesa/main/enums.c4596
-rw-r--r--beryl-mesa/src/mesa/main/enums.h55
-rw-r--r--beryl-mesa/src/mesa/main/eval.c962
-rw-r--r--beryl-mesa/src/mesa/main/eval.h128
-rw-r--r--beryl-mesa/src/mesa/main/execmem.c133
-rw-r--r--beryl-mesa/src/mesa/main/extensions.c544
-rw-r--r--beryl-mesa/src/mesa/main/extensions.h86
-rw-r--r--beryl-mesa/src/mesa/main/fbobject.c1606
-rw-r--r--beryl-mesa/src/mesa/main/fbobject.h134
-rw-r--r--beryl-mesa/src/mesa/main/feedback.c541
-rw-r--r--beryl-mesa/src/mesa/main/feedback.h82
-rw-r--r--beryl-mesa/src/mesa/main/fog.c188
-rw-r--r--beryl-mesa/src/mesa/main/fog.h66
-rw-r--r--beryl-mesa/src/mesa/main/framebuffer.c802
-rw-r--r--beryl-mesa/src/mesa/main/framebuffer.h76
-rw-r--r--beryl-mesa/src/mesa/main/get.c5545
-rw-r--r--beryl-mesa/src/mesa/main/get.h59
-rw-r--r--beryl-mesa/src/mesa/main/get_gen.py1194
-rw-r--r--beryl-mesa/src/mesa/main/getstring.c274
-rw-r--r--beryl-mesa/src/mesa/main/glheader.h261
-rw-r--r--beryl-mesa/src/mesa/main/hash.c520
-rw-r--r--beryl-mesa/src/mesa/main/hash.h69
-rw-r--r--beryl-mesa/src/mesa/main/hint.c153
-rw-r--r--beryl-mesa/src/mesa/main/hint.h57
-rw-r--r--beryl-mesa/src/mesa/main/histogram.c1187
-rw-r--r--beryl-mesa/src/mesa/main/histogram.h89
-rw-r--r--beryl-mesa/src/mesa/main/image.c4371
-rw-r--r--beryl-mesa/src/mesa/main/image.h225
-rw-r--r--beryl-mesa/src/mesa/main/imports.c1366
-rw-r--r--beryl-mesa/src/mesa/main/imports.h771
-rw-r--r--beryl-mesa/src/mesa/main/light.c1375
-rw-r--r--beryl-mesa/src/mesa/main/light.h145
-rw-r--r--beryl-mesa/src/mesa/main/lines.c134
-rw-r--r--beryl-mesa/src/mesa/main/lines.h48
-rw-r--r--beryl-mesa/src/mesa/main/macros.h658
-rw-r--r--beryl-mesa/src/mesa/main/matrix.c933
-rw-r--r--beryl-mesa/src/mesa/main/matrix.h131
-rw-r--r--beryl-mesa/src/mesa/main/mm.c272
-rw-r--r--beryl-mesa/src/mesa/main/mm.h92
-rw-r--r--beryl-mesa/src/mesa/main/mtypes.h3045
-rw-r--r--beryl-mesa/src/mesa/main/occlude.c538
-rw-r--r--beryl-mesa/src/mesa/main/occlude.h70
-rw-r--r--beryl-mesa/src/mesa/main/pixel.c2129
-rw-r--r--beryl-mesa/src/mesa/main/pixel.h158
-rw-r--r--beryl-mesa/src/mesa/main/points.c294
-rw-r--r--beryl-mesa/src/mesa/main/points.h60
-rw-r--r--beryl-mesa/src/mesa/main/polygon.c383
-rw-r--r--beryl-mesa/src/mesa/main/polygon.h69
-rw-r--r--beryl-mesa/src/mesa/main/rastpos.c1003
-rw-r--r--beryl-mesa/src/mesa/main/rastpos.h193
-rw-r--r--beryl-mesa/src/mesa/main/rbadaptors.c577
-rw-r--r--beryl-mesa/src/mesa/main/rbadaptors.h40
-rw-r--r--beryl-mesa/src/mesa/main/renderbuffer.c2146
-rw-r--r--beryl-mesa/src/mesa/main/renderbuffer.h108
-rw-r--r--beryl-mesa/src/mesa/main/simple_list.h197
-rw-r--r--beryl-mesa/src/mesa/main/state.c1105
-rw-r--r--beryl-mesa/src/mesa/main/state.h43
-rw-r--r--beryl-mesa/src/mesa/main/stencil.c552
-rw-r--r--beryl-mesa/src/mesa/main/stencil.h77
-rw-r--r--beryl-mesa/src/mesa/main/texcompress.c313
-rw-r--r--beryl-mesa/src/mesa/main/texcompress.h74
-rw-r--r--beryl-mesa/src/mesa/main/texcompress_fxt1.c1712
-rw-r--r--beryl-mesa/src/mesa/main/texcompress_s3tc.c648
-rw-r--r--beryl-mesa/src/mesa/main/texenvprogram.c1264
-rw-r--r--beryl-mesa/src/mesa/main/texenvprogram.h41
-rw-r--r--beryl-mesa/src/mesa/main/texformat.c1571
-rw-r--r--beryl-mesa/src/mesa/main/texformat.h242
-rw-r--r--beryl-mesa/src/mesa/main/texformat_tmp.h1398
-rw-r--r--beryl-mesa/src/mesa/main/teximage.c3563
-rw-r--r--beryl-mesa/src/mesa/main/teximage.h242
-rw-r--r--beryl-mesa/src/mesa/main/texobj.c1055
-rw-r--r--beryl-mesa/src/mesa/main/texobj.h98
-rw-r--r--beryl-mesa/src/mesa/main/texrender.c434
-rw-r--r--beryl-mesa/src/mesa/main/texrender.h15
-rw-r--r--beryl-mesa/src/mesa/main/texstate.c3238
-rw-r--r--beryl-mesa/src/mesa/main/texstate.h152
-rw-r--r--beryl-mesa/src/mesa/main/texstore.c4432
-rw-r--r--beryl-mesa/src/mesa/main/texstore.h255
-rw-r--r--beryl-mesa/src/mesa/main/varray.c941
-rw-r--r--beryl-mesa/src/mesa/main/varray.h160
-rw-r--r--beryl-mesa/src/mesa/main/version.h52
-rw-r--r--beryl-mesa/src/mesa/main/vsnprintf.c165
-rw-r--r--beryl-mesa/src/mesa/main/vtxfmt.c191
-rw-r--r--beryl-mesa/src/mesa/main/vtxfmt.h43
-rw-r--r--beryl-mesa/src/mesa/main/vtxfmt_tmp.h530
-rw-r--r--beryl-mesa/src/mesa/sources357
-rw-r--r--beryl-plugins-unsupported/AUTHORS1
-rw-r--r--beryl-plugins-unsupported/COPYING340
-rw-r--r--beryl-plugins-unsupported/ChangeLog0
-rw-r--r--beryl-plugins-unsupported/INSTALL234
-rw-r--r--beryl-plugins-unsupported/Makefile.am13
-rw-r--r--beryl-plugins-unsupported/NEWS0
-rw-r--r--beryl-plugins-unsupported/README17
-rw-r--r--beryl-plugins-unsupported/TODO3
-rw-r--r--beryl-plugins-unsupported/VERSION2
-rwxr-xr-xberyl-plugins-unsupported/autogen.sh16
-rw-r--r--beryl-plugins-unsupported/configure.ac123
-rw-r--r--beryl-plugins-unsupported/po/ChangeLog5
-rw-r--r--beryl-plugins-unsupported/po/LINGUAS10
-rw-r--r--beryl-plugins-unsupported/po/Makevars42
-rw-r--r--beryl-plugins-unsupported/po/POTFILES.in9
-rw-r--r--beryl-plugins-unsupported/po/beryl-plugins-unsupported.pot944
-rw-r--r--beryl-plugins-unsupported/po/ca.po899
-rw-r--r--beryl-plugins-unsupported/po/es.po3647
-rw-r--r--beryl-plugins-unsupported/po/hu.po645
-rw-r--r--beryl-plugins-unsupported/po/ja.po992
-rw-r--r--beryl-plugins-unsupported/po/ko.po5158
-rw-r--r--beryl-plugins-unsupported/po/nl.po630
-rw-r--r--beryl-plugins-unsupported/po/zh_CN.po903
-rw-r--r--beryl-plugins-unsupported/po/zh_HK.po902
-rw-r--r--beryl-plugins-unsupported/po/zh_TW.po902
-rw-r--r--beryl-plugins-unsupported/src/Makefile.am50
-rw-r--r--beryl-plugins-unsupported/src/debug/Makefile.am17
-rw-r--r--beryl-plugins-unsupported/src/debug/debug.c489
-rw-r--r--beryl-plugins-unsupported/src/debug/debug.h62
-rw-r--r--beryl-plugins-unsupported/src/debug/debugplugin.c370
-rw-r--r--beryl-plugins-unsupported/src/plane.c1162
-rw-r--r--beryl-plugins-unsupported/src/showdesktop.c1216
-rw-r--r--beryl-plugins-unsupported/src/snow.c1082
-rw-r--r--beryl-plugins-unsupported/src/text.c334
-rw-r--r--beryl-plugins-unsupported/src/tile.c1669
-rw-r--r--beryl-plugins-unsupported/src/zoom.c1116
-rw-r--r--beryl-plugins-vidcap/Makefile30
-rw-r--r--beryl-plugins-vidcap/README10
-rwxr-xr-xberyl-plugins-vidcap/build.sh32
-rw-r--r--beryl-plugins-vidcap/capture.c849
-rw-r--r--beryl-plugins-vidcap/seom.pngbin0 -> 8989 bytes
-rw-r--r--beryl-plugins/AUTHORS1
-rw-r--r--beryl-plugins/COPYING340
-rw-r--r--beryl-plugins/ChangeLog1
-rw-r--r--beryl-plugins/INSTALL236
-rw-r--r--beryl-plugins/IPCS_NAMES28
-rw-r--r--beryl-plugins/Makefile.am13
-rw-r--r--beryl-plugins/NEWS1
-rw-r--r--beryl-plugins/README1
-rw-r--r--beryl-plugins/TODO2
-rw-r--r--beryl-plugins/VERSION2
-rwxr-xr-xberyl-plugins/autogen.sh16
-rw-r--r--beryl-plugins/configure.ac161
-rw-r--r--beryl-plugins/images/Makefile.am11
-rw-r--r--beryl-plugins/images/cubecaps.pngbin0 -> 681049 bytes
-rw-r--r--beryl-plugins/images/emboss.pngbin0 -> 1132526 bytes
-rw-r--r--beryl-plugins/images/reflection_default.pngbin0 -> 123913 bytes
-rw-r--r--beryl-plugins/images/snowflake2.pngbin0 -> 4771 bytes
-rw-r--r--beryl-plugins/images/splash_background.pngbin0 -> 159662 bytes
-rw-r--r--beryl-plugins/images/splash_logo.pngbin0 -> 31866 bytes
-rw-r--r--beryl-plugins/po/ChangeLog24
-rw-r--r--beryl-plugins/po/LINGUAS19
-rw-r--r--beryl-plugins/po/Makevars42
-rw-r--r--beryl-plugins/po/POTFILES.in38
-rw-r--r--beryl-plugins/po/beryl-plugins.pot3510
-rw-r--r--beryl-plugins/po/ca.po3329
-rw-r--r--beryl-plugins/po/de_DE.po3581
-rw-r--r--beryl-plugins/po/es.po4110
-rw-r--r--beryl-plugins/po/es_AR.po3325
-rw-r--r--beryl-plugins/po/fr.po3658
-rw-r--r--beryl-plugins/po/hu_HU.po3616
-rw-r--r--beryl-plugins/po/it_IT.po4439
-rw-r--r--beryl-plugins/po/ja_JP.po3257
-rw-r--r--beryl-plugins/po/ko.po5388
-rw-r--r--beryl-plugins/po/nb_NO.po3520
-rw-r--r--beryl-plugins/po/nl.po3571
-rw-r--r--beryl-plugins/po/pl_PL.po2664
-rw-r--r--beryl-plugins/po/pt_BR.po4530
-rw-r--r--beryl-plugins/po/pt_PT.po3792
-rw-r--r--beryl-plugins/po/sv_FI.po4311
-rw-r--r--beryl-plugins/po/sv_SE.po4311
-rw-r--r--beryl-plugins/po/zh_CN.po3511
-rw-r--r--beryl-plugins/po/zh_HK.po3511
-rw-r--r--beryl-plugins/po/zh_TW.po3511
-rw-r--r--beryl-plugins/src/3d.c1372
-rw-r--r--beryl-plugins/src/Makefile.am216
-rw-r--r--beryl-plugins/src/addhelper.c437
-rw-r--r--beryl-plugins/src/animation.c10137
-rw-r--r--beryl-plugins/src/animation_tex.h223
-rw-r--r--beryl-plugins/src/annotate.c1854
-rw-r--r--beryl-plugins/src/bench.c757
-rw-r--r--beryl-plugins/src/bench_tex.h21767
-rw-r--r--beryl-plugins/src/blurfx.c4603
-rw-r--r--beryl-plugins/src/blurfx.h384
-rw-r--r--beryl-plugins/src/blurfx_shader.h676
-rw-r--r--beryl-plugins/src/clone.c871
-rw-r--r--beryl-plugins/src/crashhandler.c301
-rw-r--r--beryl-plugins/src/cube.c3195
-rw-r--r--beryl-plugins/src/dbus.c1409
-rw-r--r--beryl-plugins/src/decoration.c1467
-rw-r--r--beryl-plugins/src/fade.c459
-rw-r--r--beryl-plugins/src/fadedesktop.c489
-rw-r--r--beryl-plugins/src/group/Makefile.am20
-rw-r--r--beryl-plugins/src/group/group.c1561
-rw-r--r--beryl-plugins/src/group/group.h667
-rw-r--r--beryl-plugins/src/group/group_glow.h400
-rw-r--r--beryl-plugins/src/group/init.c395
-rw-r--r--beryl-plugins/src/group/option.c1280
-rw-r--r--beryl-plugins/src/group/paint.c1091
-rw-r--r--beryl-plugins/src/group/queues.c190
-rw-r--r--beryl-plugins/src/group/selection.c361
-rw-r--r--beryl-plugins/src/group/tab.c2595
-rw-r--r--beryl-plugins/src/inputzoom.c1203
-rw-r--r--beryl-plugins/src/jpeg.c488
-rw-r--r--beryl-plugins/src/miniview.c585
-rw-r--r--beryl-plugins/src/move.c1003
-rw-r--r--beryl-plugins/src/neg.c956
-rw-r--r--beryl-plugins/src/opacify.c812
-rw-r--r--beryl-plugins/src/place.c1343
-rw-r--r--beryl-plugins/src/png.c522
-rw-r--r--beryl-plugins/src/put.c2395
-rw-r--r--beryl-plugins/src/resize.c1548
-rw-r--r--beryl-plugins/src/rotate.c3049
-rw-r--r--beryl-plugins/src/scale.c3594
-rw-r--r--beryl-plugins/src/screenshot.c611
-rw-r--r--beryl-plugins/src/snap.c1461
-rw-r--r--beryl-plugins/src/splash.c949
-rw-r--r--beryl-plugins/src/state.c1273
-rw-r--r--beryl-plugins/src/svg.c246
-rw-r--r--beryl-plugins/src/switcher.c2841
-rw-r--r--beryl-plugins/src/thumbnail.c1642
-rw-r--r--beryl-plugins/src/thumbnail_tex.h313
-rw-r--r--beryl-plugins/src/trailfocus2.c707
-rw-r--r--beryl-plugins/src/wall.c2379
-rw-r--r--beryl-plugins/src/water.c2201
-rw-r--r--beryl-plugins/src/wobbly.c3687
-rw-r--r--beryl-settings-bindings/AUTHORS0
-rw-r--r--beryl-settings-bindings/COPYING340
-rw-r--r--beryl-settings-bindings/ChangeLog0
-rw-r--r--beryl-settings-bindings/Makefile.am7
-rw-r--r--beryl-settings-bindings/NEWS0
-rw-r--r--beryl-settings-bindings/README0
-rw-r--r--beryl-settings-bindings/TODO0
-rw-r--r--beryl-settings-bindings/VERSION2
-rw-r--r--beryl-settings-bindings/acinclude.m4141
-rwxr-xr-xberyl-settings-bindings/autogen.sh16
-rw-r--r--beryl-settings-bindings/beryl-settings-bindings.pc.in13
-rw-r--r--beryl-settings-bindings/configure.ac50
-rw-r--r--beryl-settings-bindings/python/Makefile.am17
-rw-r--r--beryl-settings-bindings/python/berylsettings.pyx1195
-rw-r--r--beryl-settings-simple/AUTHORS1
-rw-r--r--beryl-settings-simple/COPYING340
-rw-r--r--beryl-settings-simple/ChangeLog0
-rw-r--r--beryl-settings-simple/INSTALL234
-rw-r--r--beryl-settings-simple/Makefile.am15
-rw-r--r--beryl-settings-simple/NEWS0
-rw-r--r--beryl-settings-simple/README17
-rw-r--r--beryl-settings-simple/VERSION2
-rwxr-xr-xberyl-settings-simple/autogen.sh15
-rw-r--r--beryl-settings-simple/beryl-settings-simple.desktop9
-rw-r--r--beryl-settings-simple/configure.ac33
-rw-r--r--beryl-settings-simple/images/Makefile.am18
-rw-r--r--beryl-settings-simple/images/applications-development.svg327
-rw-r--r--beryl-settings-simple/images/beryl-settings-section-animation.svg380
-rw-r--r--beryl-settings-simple/images/beryl-settings-section-cube.svg336
-rw-r--r--beryl-settings-simple/images/beryl-settings.svg274
-rw-r--r--beryl-settings-simple/images/blue_1.pngbin0 -> 752 bytes
-rw-r--r--beryl-settings-simple/images/display.svg487
-rw-r--r--beryl-settings-simple/images/green_2.pngbin0 -> 979 bytes
-rw-r--r--beryl-settings-simple/images/hotcorners_racarr.svg480
-rw-r--r--beryl-settings-simple/images/list-add.svg434
-rw-r--r--beryl-settings-simple/images/orange_4.pngbin0 -> 1376 bytes
-rw-r--r--beryl-settings-simple/images/red_5.pngbin0 -> 1754 bytes
-rw-r--r--beryl-settings-simple/images/yellow_3.pngbin0 -> 1129 bytes
-rw-r--r--beryl-settings-simple/po/ChangeLog4
-rw-r--r--beryl-settings-simple/po/LINGUAS8
-rw-r--r--beryl-settings-simple/po/Makevars42
-rw-r--r--beryl-settings-simple/po/POTFILES.in1
-rw-r--r--beryl-settings-simple/po/beryl-settings-simple.pot392
-rw-r--r--beryl-settings-simple/po/ca.po93
-rw-r--r--beryl-settings-simple/po/es.po168
-rw-r--r--beryl-settings-simple/po/hu_HU.po477
-rw-r--r--beryl-settings-simple/po/nl.po392
-rw-r--r--beryl-settings-simple/po/zh_CN.po425
-rw-r--r--beryl-settings-simple/po/zh_HK.po424
-rw-r--r--beryl-settings-simple/po/zh_TW.po424
-rw-r--r--beryl-settings-simple/profiles/Makefile.am11
-rw-r--r--beryl-settings-simple/profiles/level1.Profile76
-rw-r--r--beryl-settings-simple/profiles/level2.Profile74
-rw-r--r--beryl-settings-simple/profiles/level3.Profile75
-rw-r--r--beryl-settings-simple/profiles/level4.Profile79
-rw-r--r--beryl-settings-simple/profiles/level5.Profile88
-rw-r--r--beryl-settings-simple/src/Makefile.am5
-rwxr-xr-xberyl-settings-simple/src/beryl-settings-simple.in544
-rw-r--r--beryl-settings-tool/AUTHORS1
-rw-r--r--beryl-settings-tool/COPYING340
-rw-r--r--beryl-settings-tool/ChangeLog0
-rw-r--r--beryl-settings-tool/INSTALL234
-rw-r--r--beryl-settings-tool/Makefile.am1
-rw-r--r--beryl-settings-tool/NEWS0
-rw-r--r--beryl-settings-tool/README0
-rw-r--r--beryl-settings-tool/VERSION2
-rwxr-xr-xberyl-settings-tool/autogen.sh13
-rw-r--r--beryl-settings-tool/configure.ac18
-rw-r--r--beryl-settings-tool/src/Makefile.am5
-rwxr-xr-xberyl-settings-tool/src/beryl-settings-tool119
-rw-r--r--beryl-settings/AUTHORS1
-rw-r--r--beryl-settings/COPYING340
-rw-r--r--beryl-settings/ChangeLog0
-rw-r--r--beryl-settings/INSTALL234
-rw-r--r--beryl-settings/Makefile.am15
-rw-r--r--beryl-settings/NEWS0
-rw-r--r--beryl-settings/README17
-rw-r--r--beryl-settings/VERSION2
-rwxr-xr-xberyl-settings/autogen.sh15
-rw-r--r--beryl-settings/beryl-settings.desktop9
-rw-r--r--beryl-settings/configure.ac31
-rw-r--r--beryl-settings/images/Helper/binary-app.svg277
-rw-r--r--beryl-settings/images/Helper/music-app.svg315
-rw-r--r--beryl-settings/images/Helper/paint-app.svg789
-rw-r--r--beryl-settings/images/Makefile.am66
-rw-r--r--beryl-settings/images/access.svg243
-rw-r--r--beryl-settings/images/beryl-settings-section-3d.svg480
-rw-r--r--beryl-settings/images/beryl-settings-section-_.svg1002
-rw-r--r--beryl-settings/images/beryl-settings-section-addhelper.svg1655
-rw-r--r--beryl-settings/images/beryl-settings-section-animation.svg380
-rw-r--r--beryl-settings/images/beryl-settings-section-annotate.svg277
-rw-r--r--beryl-settings/images/beryl-settings-section-bench.svg272
-rw-r--r--beryl-settings/images/beryl-settings-section-blur.svg324
-rw-r--r--beryl-settings/images/beryl-settings-section-blurfx.svg549
-rw-r--r--beryl-settings/images/beryl-settings-section-bs.svg277
-rw-r--r--beryl-settings/images/beryl-settings-section-capture.svg638
-rw-r--r--beryl-settings/images/beryl-settings-section-crashhandler.svg240
-rw-r--r--beryl-settings/images/beryl-settings-section-cube.svg292
-rw-r--r--beryl-settings/images/beryl-settings-section-dbus.svg166
-rw-r--r--beryl-settings/images/beryl-settings-section-debug.svg649
-rw-r--r--beryl-settings/images/beryl-settings-section-decoration.svg233
-rw-r--r--beryl-settings/images/beryl-settings-section-fade.svg790
-rw-r--r--beryl-settings/images/beryl-settings-section-fadeDesktop.svg1694
-rw-r--r--beryl-settings/images/beryl-settings-section-group.svg1858
-rw-r--r--beryl-settings/images/beryl-settings-section-inputzoom.svg281
-rw-r--r--beryl-settings/images/beryl-settings-section-jpeg.svg443
-rw-r--r--beryl-settings/images/beryl-settings-section-minimize.svg349
-rw-r--r--beryl-settings/images/beryl-settings-section-move.svg315
-rw-r--r--beryl-settings/images/beryl-settings-section-neg.svg733
-rw-r--r--beryl-settings/images/beryl-settings-section-opacify.svg3150
-rw-r--r--beryl-settings/images/beryl-settings-section-place.svg273
-rw-r--r--beryl-settings/images/beryl-settings-section-plane.svg547
-rw-r--r--beryl-settings/images/beryl-settings-section-png.svg426
-rw-r--r--beryl-settings/images/beryl-settings-section-put.svg334
-rw-r--r--beryl-settings/images/beryl-settings-section-reflection.svg271
-rw-r--r--beryl-settings/images/beryl-settings-section-resize.svg386
-rw-r--r--beryl-settings/images/beryl-settings-section-rotate.svg738
-rw-r--r--beryl-settings/images/beryl-settings-section-scale.svg549
-rw-r--r--beryl-settings/images/beryl-settings-section-screenshot.svg513
-rw-r--r--beryl-settings/images/beryl-settings-section-showdesktop.svg572
-rw-r--r--beryl-settings/images/beryl-settings-section-snap.svg559
-rw-r--r--beryl-settings/images/beryl-settings-section-snow.svg73
-rw-r--r--beryl-settings/images/beryl-settings-section-splash.svg555
-rw-r--r--beryl-settings/images/beryl-settings-section-state.svg304
-rw-r--r--beryl-settings/images/beryl-settings-section-svg.svg162
-rw-r--r--beryl-settings/images/beryl-settings-section-switcher.svg450
-rw-r--r--beryl-settings/images/beryl-settings-section-text.svg1171
-rw-r--r--beryl-settings/images/beryl-settings-section-thumbnail.svg858
-rw-r--r--beryl-settings/images/beryl-settings-section-tile.svg2204
-rw-r--r--beryl-settings/images/beryl-settings-section-trailfocus2.svg505
-rw-r--r--beryl-settings/images/beryl-settings-section-wall.svg295
-rw-r--r--beryl-settings/images/beryl-settings-section-water.svg140
-rw-r--r--beryl-settings/images/beryl-settings-section-wobbly.svg360
-rw-r--r--beryl-settings/images/beryl-settings-section-zoom.svg1016
-rw-r--r--beryl-settings/images/beryl-settings.svg274
-rw-r--r--beryl-settings/images/desktop.svg431
-rw-r--r--beryl-settings/images/development.svg207
-rw-r--r--beryl-settings/images/extras.svg382
-rw-r--r--beryl-settings/images/general-settings.svg506
-rw-r--r--beryl-settings/images/images.svg696
-rw-r--r--beryl-settings/images/profile-backends.svg873
-rw-r--r--beryl-settings/images/shortcuts.svg610
-rw-r--r--beryl-settings/images/visual-effects.svg1309
-rw-r--r--beryl-settings/images/window-management.svg422
-rw-r--r--beryl-settings/po/ChangeLog4
-rw-r--r--beryl-settings/po/LINGUAS12
-rw-r--r--beryl-settings/po/Makevars42
-rw-r--r--beryl-settings/po/POTFILES.in1
-rw-r--r--beryl-settings/po/beryl-settings.pot105
-rw-r--r--beryl-settings/po/ca.po180
-rw-r--r--beryl-settings/po/es.po183
-rw-r--r--beryl-settings/po/fr.po114
-rw-r--r--beryl-settings/po/hu_HU.po120
-rw-r--r--beryl-settings/po/ja.po181
-rw-r--r--beryl-settings/po/nl.po114
-rw-r--r--beryl-settings/po/pl.po112
-rw-r--r--beryl-settings/po/pt_PT.po116
-rw-r--r--beryl-settings/po/zh_CN.po114
-rw-r--r--beryl-settings/po/zh_HK.po113
-rw-r--r--beryl-settings/po/zh_TW.po113
-rw-r--r--beryl-settings/src/Makefile.am5
-rwxr-xr-xberyl-settings/src/beryl-settings.in1957
-rw-r--r--distro-specific-build-files/aquamarine/SUSE/aquamarine.spec72
-rw-r--r--distro-specific-build-files/aquamarine/aquamarineRelease.sh854
-rw-r--r--distro-specific-build-files/aquamarine/debian/aquamarine.install6
-rwxr-xr-xdistro-specific-build-files/aquamarine/debian/aquamarine.postinst5
-rwxr-xr-xdistro-specific-build-files/aquamarine/debian/aquamarine.prerm5
-rw-r--r--distro-specific-build-files/aquamarine/debian/changelog29
-rw-r--r--distro-specific-build-files/aquamarine/debian/compat1
-rw-r--r--distro-specific-build-files/aquamarine/debian/control28
-rw-r--r--distro-specific-build-files/aquamarine/debian/copyright14
-rwxr-xr-xdistro-specific-build-files/aquamarine/debian/rules14
-rw-r--r--distro-specific-build-files/bdock/debian/changelog6
-rw-r--r--distro-specific-build-files/bdock/debian/compat1
-rw-r--r--distro-specific-build-files/bdock/debian/control15
-rw-r--r--distro-specific-build-files/bdock/debian/copyright24
-rwxr-xr-xdistro-specific-build-files/bdock/debian/rules6
-rw-r--r--distro-specific-build-files/beryl-artwork-extra/debian/beryl-artwork-extra.install1
-rw-r--r--distro-specific-build-files/beryl-artwork-extra/debian/changelog6
-rw-r--r--distro-specific-build-files/beryl-artwork-extra/debian/compat1
-rw-r--r--distro-specific-build-files/beryl-artwork-extra/debian/control19
-rw-r--r--distro-specific-build-files/beryl-artwork-extra/debian/copyright244
-rwxr-xr-xdistro-specific-build-files/beryl-artwork-extra/debian/rules8
-rw-r--r--distro-specific-build-files/beryl-core/SUSE/Mesa-6.4.1-x86_64-fixes-1.patch38
-rw-r--r--distro-specific-build-files/beryl-core/SUSE/Mesa-configs.diff224
-rw-r--r--distro-specific-build-files/beryl-core/SUSE/Mesa-configsfactory.diff224
-rw-r--r--distro-specific-build-files/beryl-core/SUSE/beryl-core.spec208
-rw-r--r--distro-specific-build-files/beryl-core/SUSE/compositeproto.tar.bz2bin0 -> 37495 bytes
-rw-r--r--distro-specific-build-files/beryl-core/SUSE/mesadec.patch17
-rw-r--r--distro-specific-build-files/beryl-core/SUSE/nocow.patch38
-rw-r--r--distro-specific-build-files/beryl-core/beryl-core.spec134
-rw-r--r--distro-specific-build-files/beryl-core/debian/beryl-core.install4
-rwxr-xr-xdistro-specific-build-files/beryl-core/debian/beryl-core.postinst6
-rwxr-xr-xdistro-specific-build-files/beryl-core/debian/beryl-core.prerm6
-rw-r--r--distro-specific-build-files/beryl-core/debian/beryl-dev.install5
-rw-r--r--distro-specific-build-files/beryl-core/debian/changelog846
-rw-r--r--distro-specific-build-files/beryl-core/debian/compat1
-rw-r--r--distro-specific-build-files/beryl-core/debian/control128
-rw-r--r--distro-specific-build-files/beryl-core/debian/copyright25
-rw-r--r--distro-specific-build-files/beryl-core/debian/libberyldecoration-dev.install4
-rw-r--r--distro-specific-build-files/beryl-core/debian/libberyldecoration0.install1
-rw-r--r--distro-specific-build-files/beryl-core/debian/libberylsettings-dev.install6
-rw-r--r--distro-specific-build-files/beryl-core/debian/libberylsettings0.install3
-rwxr-xr-xdistro-specific-build-files/beryl-core/debian/rules20
-rw-r--r--distro-specific-build-files/beryl-manager/SUSE/beryl-manager.spec114
-rw-r--r--distro-specific-build-files/beryl-manager/beryl-manager.spec82
-rw-r--r--distro-specific-build-files/beryl-manager/debian/changelog174
-rw-r--r--distro-specific-build-files/beryl-manager/debian/compat1
-rw-r--r--distro-specific-build-files/beryl-manager/debian/control20
-rw-r--r--distro-specific-build-files/beryl-manager/debian/copyright33
-rwxr-xr-xdistro-specific-build-files/beryl-manager/debian/rules6
-rw-r--r--distro-specific-build-files/beryl-plugins-unsupported/beryl-plugins-unsupported.spec87
-rw-r--r--distro-specific-build-files/beryl-plugins-unsupported/debian/beryl-plugins-unsupported.install1
-rw-r--r--distro-specific-build-files/beryl-plugins-unsupported/debian/changelog5
-rw-r--r--distro-specific-build-files/beryl-plugins-unsupported/debian/compat1
-rw-r--r--distro-specific-build-files/beryl-plugins-unsupported/debian/control39
-rw-r--r--distro-specific-build-files/beryl-plugins-unsupported/debian/copyright244
-rwxr-xr-xdistro-specific-build-files/beryl-plugins-unsupported/debian/rules8
-rw-r--r--distro-specific-build-files/beryl-plugins/SUSE/beryl-plugins.spec157
-rw-r--r--distro-specific-build-files/beryl-plugins/beryl-plugins.spec87
-rw-r--r--distro-specific-build-files/beryl-plugins/debian/beryl-plugins-data.install2
-rw-r--r--distro-specific-build-files/beryl-plugins/debian/beryl-plugins.install1
-rw-r--r--distro-specific-build-files/beryl-plugins/debian/changelog332
-rw-r--r--distro-specific-build-files/beryl-plugins/debian/compat1
-rw-r--r--distro-specific-build-files/beryl-plugins/debian/control48
-rw-r--r--distro-specific-build-files/beryl-plugins/debian/copyright244
-rwxr-xr-xdistro-specific-build-files/beryl-plugins/debian/rules8
-rw-r--r--distro-specific-build-files/beryl-settings-bindings/debian/changelog24
-rw-r--r--distro-specific-build-files/beryl-settings-bindings/debian/compat1
-rw-r--r--distro-specific-build-files/beryl-settings-bindings/debian/control20
-rw-r--r--distro-specific-build-files/beryl-settings-bindings/debian/copyright29
-rwxr-xr-xdistro-specific-build-files/beryl-settings-bindings/debian/rules10
-rw-r--r--distro-specific-build-files/beryl-settings-simple/debian/changelog12
-rw-r--r--distro-specific-build-files/beryl-settings-simple/debian/compat1
-rw-r--r--distro-specific-build-files/beryl-settings-simple/debian/control21
-rw-r--r--distro-specific-build-files/beryl-settings-simple/debian/copyright33
-rwxr-xr-xdistro-specific-build-files/beryl-settings-simple/debian/rules6
-rw-r--r--distro-specific-build-files/beryl-settings/SUSE/beryl-settings.spec109
-rw-r--r--distro-specific-build-files/beryl-settings/beryl-settings.spec87
-rw-r--r--distro-specific-build-files/beryl-settings/debian/changelog158
-rw-r--r--distro-specific-build-files/beryl-settings/debian/compat1
-rw-r--r--distro-specific-build-files/beryl-settings/debian/control21
-rw-r--r--distro-specific-build-files/beryl-settings/debian/copyright33
-rwxr-xr-xdistro-specific-build-files/beryl-settings/debian/rules6
-rw-r--r--distro-specific-build-files/emerald-themes/SUSE/emerald-themes.spec68
-rw-r--r--distro-specific-build-files/emerald-themes/debian/changelog52
-rw-r--r--distro-specific-build-files/emerald-themes/debian/compat1
-rw-r--r--distro-specific-build-files/emerald-themes/debian/control13
-rw-r--r--distro-specific-build-files/emerald-themes/debian/copyright23
-rwxr-xr-xdistro-specific-build-files/emerald-themes/debian/rules9
-rw-r--r--distro-specific-build-files/emerald-themes/emerald-themes.spec59
-rw-r--r--distro-specific-build-files/emerald/SUSE/emerald.spec120
-rw-r--r--distro-specific-build-files/emerald/debian/changelog426
-rw-r--r--distro-specific-build-files/emerald/debian/compat1
-rw-r--r--distro-specific-build-files/emerald/debian/control47
-rw-r--r--distro-specific-build-files/emerald/debian/copyright135
-rw-r--r--distro-specific-build-files/emerald/debian/emerald.install2
-rw-r--r--distro-specific-build-files/emerald/debian/emerald.mime2
-rwxr-xr-xdistro-specific-build-files/emerald/debian/emerald.postinst5
-rwxr-xr-xdistro-specific-build-files/emerald/debian/emerald.prerm5
-rw-r--r--distro-specific-build-files/emerald/debian/emerald.sharedmimeinfo7
-rw-r--r--distro-specific-build-files/emerald/debian/libemeraldengine-dev.install5
-rw-r--r--distro-specific-build-files/emerald/debian/libemeraldengine0.install3
-rwxr-xr-xdistro-specific-build-files/emerald/debian/rules17
-rw-r--r--distro-specific-build-files/emerald/emerald.spec153
-rw-r--r--distro-specific-build-files/heliodor/debian/changelog35
-rw-r--r--distro-specific-build-files/heliodor/debian/compat1
-rw-r--r--distro-specific-build-files/heliodor/debian/control25
-rw-r--r--distro-specific-build-files/heliodor/debian/copyright36
-rw-r--r--distro-specific-build-files/heliodor/debian/heliodor-dev.install2
-rw-r--r--distro-specific-build-files/heliodor/debian/heliodor.install3
-rwxr-xr-xdistro-specific-build-files/heliodor/debian/heliodor.postinst5
-rwxr-xr-xdistro-specific-build-files/heliodor/debian/heliodor.prerm5
-rwxr-xr-xdistro-specific-build-files/heliodor/debian/rules15
-rw-r--r--emerald-themes-repo/Adonis.emeraldbin0 -> 48047 bytes
-rw-r--r--emerald-themes-repo/Adonis_Mod.emeraldbin0 -> 52709 bytes
-rw-r--r--emerald-themes-repo/Blueray.emeraldbin0 -> 81909 bytes
-rw-r--r--emerald-themes-repo/ButtonLessAqua.emeraldbin0 -> 116912 bytes
-rw-r--r--emerald-themes-repo/Carbon.emeraldbin0 -> 73913 bytes
-rw-r--r--emerald-themes-repo/Cross-Eyed-Fish.emeraldbin0 -> 38039 bytes
-rw-r--r--emerald-themes-repo/Eternal.emeraldbin0 -> 46354 bytes
-rw-r--r--emerald-themes-repo/Greenhouse%20Effect.emeraldbin0 -> 44475 bytes
-rw-r--r--emerald-themes-repo/JAGT.emeraldbin0 -> 59193 bytes
-rw-r--r--emerald-themes-repo/OpusOSczo.emeraldbin0 -> 10174 bytes
-rw-r--r--emerald-themes-repo/PrysmaX.emeraldbin0 -> 32852 bytes
-rw-r--r--emerald-themes-repo/Sky%5E2.emeraldbin0 -> 36354 bytes
-rw-r--r--emerald-themes-repo/beryl-clean.emeraldbin0 -> 69614 bytes
-rw-r--r--emerald-themes-repo/curved_peach.emeraldbin0 -> 66037 bytes
-rw-r--r--emerald-themes-repo/dark_blue.emeraldbin0 -> 122958 bytes
-rw-r--r--emerald-themes-repo/empty_skies.emeraldbin0 -> 54753 bytes
-rw-r--r--emerald-themes-repo/fadeout.emeraldbin0 -> 20577 bytes
-rw-r--r--emerald-themes-repo/ghosts_edge_lime.emeraldbin0 -> 138532 bytes
-rw-r--r--emerald-themes-repo/iridescence.emeraldbin0 -> 38217 bytes
-rw-r--r--emerald-themes-repo/kind_of_blue.emeraldbin0 -> 44978 bytes
-rw-r--r--emerald-themes-repo/kind_of_dull_orange.emeraldbin0 -> 43278 bytes
-rw-r--r--emerald-themes-repo/kind_of_green.emeraldbin0 -> 65462 bytes
-rw-r--r--emerald-themes-repo/kind_of_pink.emeraldbin0 -> 58685 bytes
-rw-r--r--emerald-themes-repo/kind_of_teal.emeraldbin0 -> 48368 bytes
-rw-r--r--emerald-themes-repo/kind_of_violet.emeraldbin0 -> 40252 bytes
-rw-r--r--emerald-themes-repo/komar-blue.emeraldbin0 -> 25328 bytes
-rw-r--r--emerald-themes-repo/moonglow.emeraldbin0 -> 98729 bytes
-rw-r--r--emerald-themes-repo/ocean.emeraldbin0 -> 441802 bytes
-rw-r--r--emerald-themes-repo/pont_neuf.emeraldbin0 -> 40413 bytes
-rw-r--r--emerald-themes-repo/slowy.emeraldbin0 -> 14786 bytes
-rw-r--r--emerald-themes-repo/solidLINE-1.0.emeraldbin0 -> 14564 bytes
-rw-r--r--emerald-themes-repo/ubuntu-superhuman.emeraldbin0 -> 37304 bytes
-rw-r--r--emerald-themes/AUTHORS0
-rw-r--r--emerald-themes/COPYING340
-rw-r--r--emerald-themes/ChangeLog110
-rw-r--r--emerald-themes/INSTALL236
-rw-r--r--emerald-themes/Makefile.am5
-rw-r--r--emerald-themes/NEWS1
-rw-r--r--emerald-themes/README1
-rw-r--r--emerald-themes/VERSION2
-rwxr-xr-xemerald-themes/autogen.sh14
-rw-r--r--emerald-themes/build-stamp0
-rw-r--r--emerald-themes/configure.ac22
-rw-r--r--emerald-themes/themes/Adonis.emeraldbin0 -> 48047 bytes
-rw-r--r--emerald-themes/themes/Adonis_Mod.emeraldbin0 -> 52709 bytes
-rw-r--r--emerald-themes/themes/Beryl_Default.emeraldbin0 -> 5831 bytes
-rw-r--r--emerald-themes/themes/Blue_Satin.emeraldbin0 -> 11556 bytes
-rw-r--r--emerald-themes/themes/ButtonLess.emeraldbin0 -> 13723 bytes
-rw-r--r--emerald-themes/themes/Canopy.emeraldbin0 -> 11340 bytes
-rw-r--r--emerald-themes/themes/Compiz-Gilouche.emeraldbin0 -> 36691 bytes
-rw-r--r--emerald-themes/themes/Crystal-ICE.emeraldbin0 -> 44113 bytes
-rw-r--r--emerald-themes/themes/Fayal.emeraldbin0 -> 38184 bytes
-rw-r--r--emerald-themes/themes/LimeRefresh.emeraldbin0 -> 75076 bytes
-rw-r--r--emerald-themes/themes/Makefile.am50
-rw-r--r--emerald-themes/themes/Minimal.emeraldbin0 -> 27230 bytes
-rw-r--r--emerald-themes/themes/Mirage.emeraldbin0 -> 44213 bytes
-rw-r--r--emerald-themes/themes/Orangeglass.emeraldbin0 -> 27556 bytes
-rw-r--r--emerald-themes/themes/Orangeglow.emeraldbin0 -> 10052 bytes
-rw-r--r--emerald-themes/themes/Paper.emeraldbin0 -> 29561 bytes
-rw-r--r--emerald-themes/themes/Pinx.emeraldbin0 -> 11639 bytes
-rw-r--r--emerald-themes/themes/PlatinUm.emeraldbin0 -> 20194 bytes
-rw-r--r--emerald-themes/themes/Red-Alice.emeraldbin0 -> 75709 bytes
-rw-r--r--emerald-themes/themes/Rezlooks-Candy-1pxb.emeraldbin0 -> 22753 bytes
-rw-r--r--emerald-themes/themes/Rezlooks-Candy.emeraldbin0 -> 22749 bytes
-rw-r--r--emerald-themes/themes/Rezlooks-Graphite-1pxb.emeraldbin0 -> 34677 bytes
-rw-r--r--emerald-themes/themes/Rezlooks-Graphite.emeraldbin0 -> 17651 bytes
-rw-r--r--emerald-themes/themes/Rezlooks-PastelGreen-1pxb.emeraldbin0 -> 26821 bytes
-rw-r--r--emerald-themes/themes/Rezlooks-PastelGreen.emeraldbin0 -> 26820 bytes
-rw-r--r--emerald-themes/themes/Scaled_Black_Mod.emeraldbin0 -> 22272 bytes
-rw-r--r--emerald-themes/themes/Sky.emeraldbin0 -> 11436 bytes
-rw-r--r--emerald-themes/themes/SlateHorn_Blue.emeraldbin0 -> 55455 bytes
-rw-r--r--emerald-themes/themes/SlateHorn_Green.emeraldbin0 -> 55385 bytes
-rw-r--r--emerald-themes/themes/SlateHorn_Red.emeraldbin0 -> 55264 bytes
-rw-r--r--emerald-themes/themes/SlateHorn_Yellow.emeraldbin0 -> 55274 bytes
-rw-r--r--emerald-themes/themes/SolidSlateModified.emeraldbin0 -> 29586 bytes
-rw-r--r--emerald-themes/themes/TiSkin_Classic.emeraldbin0 -> 20473 bytes
-rw-r--r--emerald-themes/themes/VRunner-Quicksilver.emeraldbin0 -> 21954 bytes
-rw-r--r--emerald-themes/themes/Wombat_Black.emeraldbin0 -> 38731 bytes
-rw-r--r--emerald-themes/themes/Wombat_Gray.emeraldbin0 -> 44307 bytes
-rw-r--r--emerald-themes/themes/euh.emeraldbin0 -> 23645 bytes
-rw-r--r--emerald-themes/themes/frame.emeraldbin0 -> 38567 bytes
-rw-r--r--emerald-themes/themes/funky.emeraldbin0 -> 19449 bytes
-rw-r--r--emerald-themes/themes/human-ubuntulooks.emeraldbin0 -> 24758 bytes
-rwxr-xr-xemerald-themes/themes/import.sh14
-rw-r--r--emerald-themes/themes/orangelook-colonel.emeraldbin0 -> 20713 bytes
-rw-r--r--emerald-themes/themes/orangelook.emeraldbin0 -> 29428 bytes
-rw-r--r--emerald/AUTHORS0
-rw-r--r--emerald/COPYING340
-rw-r--r--emerald/ChangeLog1
-rw-r--r--emerald/INSTALL236
-rw-r--r--emerald/Makefile.am24
-rw-r--r--emerald/NEWS1
-rw-r--r--emerald/README8
-rw-r--r--emerald/TODO4
-rw-r--r--emerald/VERSION2
-rwxr-xr-xemerald/autogen.sh16
-rw-r--r--emerald/configure.ac78
-rw-r--r--emerald/defaults/Makefile.am5
-rw-r--r--emerald/defaults/settings.ini13
-rw-r--r--emerald/defaults/theme/Makefile.am21
-rw-r--r--emerald/defaults/theme/buttons.above.pngbin0 -> 2365 bytes
-rw-r--r--emerald/defaults/theme/buttons.close.pngbin0 -> 956 bytes
-rw-r--r--emerald/defaults/theme/buttons.glow.pngbin0 -> 10476 bytes
-rw-r--r--emerald/defaults/theme/buttons.help.pngbin0 -> 3182 bytes
-rw-r--r--emerald/defaults/theme/buttons.inactive_glow.pngbin0 -> 5380 bytes
-rw-r--r--emerald/defaults/theme/buttons.max.pngbin0 -> 858 bytes
-rw-r--r--emerald/defaults/theme/buttons.menu.pngbin0 -> 2602 bytes
-rw-r--r--emerald/defaults/theme/buttons.min.pngbin0 -> 736 bytes
-rw-r--r--emerald/defaults/theme/buttons.restore.pngbin0 -> 944 bytes
-rw-r--r--emerald/defaults/theme/buttons.shade.pngbin0 -> 2717 bytes
-rw-r--r--emerald/defaults/theme/buttons.sticky.pngbin0 -> 2865 bytes
-rw-r--r--emerald/defaults/theme/buttons.unabove.pngbin0 -> 2391 bytes
-rw-r--r--emerald/defaults/theme/buttons.unshade.pngbin0 -> 2781 bytes
-rw-r--r--emerald/defaults/theme/buttons.unsticky.pngbin0 -> 2222 bytes
-rw-r--r--emerald/defaults/theme/theme.ini425
-rw-r--r--emerald/defaults/theme/theme.screenshot.pngbin0 -> 5156 bytes
-rw-r--r--emerald/doc/Makefile.am3
-rw-r--r--emerald/doc/emerald-theme-manager.116
-rw-r--r--emerald/doc/emerald.135
-rw-r--r--emerald/emerald.po847
-rw-r--r--emerald/engines/Makefile.am39
-rw-r--r--emerald/engines/legacy.c419
-rw-r--r--emerald/engines/legacy_icon.h158
-rw-r--r--emerald/engines/oxygen.c477
-rw-r--r--emerald/engines/oxygen_icon.h175
-rw-r--r--emerald/engines/pixmap.c690
-rw-r--r--emerald/engines/pixmap_icon.h171
-rw-r--r--emerald/engines/truglass.c575
-rw-r--r--emerald/engines/truglass_icon.h219
-rw-r--r--emerald/engines/vrunner.c698
-rw-r--r--emerald/engines/vrunner_icon.h374
-rw-r--r--emerald/engines/zootreeves.c1685
-rw-r--r--emerald/engines/zootreeves_icon.h206
-rw-r--r--emerald/include/Makefile.am3
-rw-r--r--emerald/include/emerald.h326
-rw-r--r--emerald/include/engine.h11
-rw-r--r--emerald/include/libengine.h145
-rw-r--r--emerald/include/titlebar.h150
-rw-r--r--emerald/libengine/Makefile.am11
-rw-r--r--emerald/libengine/emerald.c253
-rw-r--r--emerald/libengine/emeraldengine.pc.in12
-rw-r--r--emerald/libengine/themer.c979
-rw-r--r--emerald/misc/Makefile.am25
-rw-r--r--emerald/misc/application-x-emerald-theme.pngbin0 -> 2790 bytes
-rw-r--r--emerald/misc/emerald-theme-manager.desktop12
-rw-r--r--emerald/misc/emerald.mime2
-rw-r--r--emerald/misc/emerald.xml7
-rw-r--r--emerald/pixmaps/Makefile.am4
-rw-r--r--emerald/pixmaps/emerald-theme-manager-icon.pngbin0 -> 5794 bytes
-rw-r--r--emerald/po/ChangeLog3
-rw-r--r--emerald/po/LINGUAS23
-rw-r--r--emerald/po/Makevars42
-rw-r--r--emerald/po/POTFILES.in10
-rw-r--r--emerald/po/ca.po761
-rw-r--r--emerald/po/cs.po754
-rw-r--r--emerald/po/de_DE.po753
-rw-r--r--emerald/po/emerald.pot713
-rw-r--r--emerald/po/en_GB.po766
-rw-r--r--emerald/po/es_AR.po767
-rw-r--r--emerald/po/es_ES.po775
-rw-r--r--emerald/po/fr_FR.po765
-rw-r--r--emerald/po/gu_IN.po748
-rw-r--r--emerald/po/hu_HU.po763
-rw-r--r--emerald/po/it_IT.po794
-rw-r--r--emerald/po/ja_JP.po764
-rw-r--r--emerald/po/ko_KR.po776
-rw-r--r--emerald/po/nb_NO.po753
-rw-r--r--emerald/po/nl.po758
-rw-r--r--emerald/po/pt_BR.po773
-rw-r--r--emerald/po/pt_PT.po764
-rw-r--r--emerald/po/sv_FI.po777
-rw-r--r--emerald/po/sv_SE.po777
-rw-r--r--emerald/po/tr_TR.po762
-rw-r--r--emerald/po/zh_CN.po733
-rw-r--r--emerald/po/zh_HK.po733
-rw-r--r--emerald/po/zh_TW.po733
-rw-r--r--emerald/src/Makefile.am11
-rw-r--r--emerald/src/engine_loader.c99
-rw-r--r--emerald/src/main.c5502
-rw-r--r--emerald/themer/Makefile.am11
-rw-r--r--emerald/themer/main.c1689
-rw-r--r--heliodor/AUTHORS1
-rw-r--r--heliodor/COPYING340
-rw-r--r--heliodor/ChangeLog0
-rw-r--r--heliodor/INSTALL236
-rw-r--r--heliodor/Makefile.am5
-rw-r--r--heliodor/NEWS0
-rw-r--r--heliodor/README1
-rw-r--r--heliodor/VERSION2
-rwxr-xr-xheliodor/autogen.sh14
-rw-r--r--heliodor/configure.ac72
-rw-r--r--heliodor/lib/Makefile.am44
-rw-r--r--heliodor/lib/beryl-window-manager.c505
-rw-r--r--heliodor/lib/beryl-window-manager.h39
-rw-r--r--heliodor/lib/beryl.desktop13
-rw-r--r--heliodor/src/Makefile.am4
-rw-r--r--heliodor/src/main.c4977
-rw-r--r--indent.sh42
-rwxr-xr-xmakeall28
-rwxr-xr-xupdate-l10n-stats63
1232 files changed, 582847 insertions, 0 deletions
diff --git a/Documentation/00-INDEX b/Documentation/00-INDEX
new file mode 100644
index 0000000..8d202f9
--- /dev/null
+++ b/Documentation/00-INDEX
@@ -0,0 +1,24 @@
+Overview of Beryl documentation files
+=====================================
+00-INDEX
+ This file
+CoreStructures
+ Gives an introduction to the most important structures of Beryl.
+HACKING
+ Pointers on how to hack on Beryl.
+HACKING_ES
+ HACKING translated to spanish.
+Multihead
+ A rough explanation of how Beryl deals with multihead in different ways.
+PaintLocking
+ Describes how beryl locks opacity, brightness and saturation for
+ windows.
+TODO-Multiscreen
+ Outstanding and fixed issues with multiscreen. Likely to be removed
+ when multiscreen is considered ready for production.
+TODOLIST
+ Traditional todo list.
+Core-CacheAnnotate
+ Valgrind cache annotation of core. Might be a bit out of date.
+callgraph.png
+ Call graph of Beryl.
diff --git a/Documentation/Core-CacheAnnotate b/Documentation/Core-CacheAnnotate
new file mode 100644
index 0000000..62e9be6
--- /dev/null
+++ b/Documentation/Core-CacheAnnotate
@@ -0,0 +1,14973 @@
+--------------------------------------------------------------------------------
+I1 cache: 32768 B, 64 B, 8-way associative
+D1 cache: 32768 B, 64 B, 8-way associative
+L2 cache: 2097152 B, 64 B, 8-way associative
+Command: beryl
+Data file: cachegrind.out.24477
+Events recorded: Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw
+Events shown: Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw
+Event sort order: Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw
+Thresholds: 99 0 0 0 0 0 0 0 0
+Include dirs:
+User annotated: display_options.c
+ activation.c
+ screen_options.c
+ plugin.c
+ action.c
+ main.c
+ display.c
+ ipcs.c
+ settings-dump.c
+ window.c
+ event.c
+ session.c
+ paint.c
+ type_mask.c
+ privates.c
+ texture.c
+ option.c
+ screen.c
+Auto-annotation: off
+
+--------------------------------------------------------------------------------
+ Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw
+--------------------------------------------------------------------------------
+1,262,389,353 676,420 19,052 292,552,419 4,800,217 522,895 121,364,450 1,368,842 794,412 PROGRAM TOTALS
+
+--------------------------------------------------------------------------------
+ Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw file:function
+--------------------------------------------------------------------------------
+515,559,348 199,286 6,093 98,882,374 1,248,544 58,820 27,109,639 127,252 26,053 ???:???
+123,256,516 18 12 20,545,296 0 0 4,113,332 174 0 png.c:premultiplyData
+106,448,359 84 84 26,894,515 212,257 2 15,957,850 9,315 235 ???:inflate_fast
+ 52,894,371 62 37 16,435,215 0 0 0 0 0 ???:adler32
+ 38,287,322 373 15 4,007,184 111,864 1,311 0 0 0 ???:strlen
+ 33,183,121 630 4 10,948,381 94,208 824 0 0 0 ???:strcmp
+ 33,179,159 2,230 7 12,307,226 286,207 241,968 12,011,776 790,442 503,356 ???:memcpy
+ 24,606,810 5 1 2,994,380 8,601 1 0 0 0 gstring.c:g_str_hash
+ 16,894,490 1,486 19 4,827,357 17,492 113 1,448,382 10 2 ???:free
+ 16,484,832 44 34 16,443,188 256,067 208,828 16,410,608 256,423 249,753 texture.c:imageToTexture
+ 16,271,777 1,385 19 5,277,192 3,721 21 1,759,064 358 3 ???:malloc
+ 15,650,373 396 5 1,332,914 0 0 1,827,186 199 0 ???:stpcpy
+ 13,340,419 560 1 3,149,001 10,732 0 1,099,204 0 0 gkeyfile.c:g_key_file_lookup_group_node
+ 13,328,418 434 298 3,050,171 10,673 22 1,479,107 3,323 56 ???:inflate
+ 12,484,865 640 7 1,241,814 0 0 2,379,108 0 0 gkeyfile.c:g_key_file_parse_string_as_value
+ 11,837,682 418 5 2,633,253 12,431 0 34,698 83 0 gkeyfile.c:g_key_file_parse_data
+ 11,624,392 32,162 228 3,564,484 3,043 30 2,854,036 3,317 109 ???:vfprintf
+ 11,109,042 0 0 4,937,352 0 0 3,703,014 229 2 gstring.h:g_key_file_parse_data
+ 10,249,261 270 16 1,951,956 159 2 1,645,744 1,099 51 ???:_IO_default_xsputn
+ 10,232,045 2,868 5 1,671,703 0 0 2,900,532 130 0 gstrfuncs.c:g_strconcat
+ 7,916,789 312 10 1,294,389 4 2 1,255,514 557 91 ???:strncpy
+ 6,931,442 130 5 1,732,860 154 3 1,039,717 23 1 gmem.c:g_malloc
+ 6,175,981 82 44 2,038,316 38,527 708 462 0 0 ???:crc32
+ 6,120,399 616 9 2,005,638 6,411 22 242,089 14 2 ???:getenv
+ 5,312,388 354 4 767,511 0 0 142,170 0 0 gstrfuncs.c:g_strrstr
+ 5,175,137 58 3 1,411,401 163 0 470,467 0 0 gmem.c:g_free
+ 5,077,983 141 15 807,644 88 18 56,832 0 0 ???:strstr
+ 4,984,071 1,109 17 1,231,070 1,478 3 495,757 76 0 gslice.c:g_slice_free1
+ 4,499,750 3,295 84 862,101 4,065 65 300,563 0 0 ???:sin
+ 4,163,087 15,811 30 1,042,010 899 0 525,105 838 8 ???:calloc
+ 4,146,788 3,353 8 2,166,986 747,603 0 210,405 1,159 0 paint.c:paintTransformedScreen
+ 4,098,867 1,287 16 1,047,759 1,841 14 652,914 83 0 gkeyfile.c:g_key_file_flush_parse_buffer
+ 4,093,780 2,237 0 1,085,855 138,079 173 934,412 103 0 ini.c:write_setting
+ 3,686,614 7,556 10 1,986,614 628,344 86 313,418 712 0 screen.c:moveScreenViewport
+ 3,584,678 1,537 24 1,201,167 36,281 26 547,829 789 0 gslice.c:g_slice_alloc
+ 3,352,062 41 4 582,972 0 0 874,449 6 0 gstrfuncs.c:g_strdup
+ 3,339,258 63 9 1,054,502 7,373 10 175,752 0 0 ???:pthread_getspecific
+ 3,198,302 941 21 729,474 375 1 808,488 200 0 ???:vasprintf
+ 2,957,006 168 2 1,142,269 34,535 0 433,934 0 0 ghash.c:g_hash_table_lookup
+ 2,904,354 202 132 575,587 337 16 361,891 1,405 212 ???:inflate_table
+ 2,522,681 628 19 127,981 13 2 0 0 0 ???:index
+ 2,114,833 41 1 0 0 0 0 0 0 gstrfuncs.c:g_stpcpy
+ 2,105,460 20 6 350,910 0 0 350,910 1,957 1 ???:__glXGetCurrentContext
+ 2,037,726 490 0 407,798 688 0 218,356 0 0 ini.c:mods_to_string
+ 1,806,204 3,843 10 1,019,350 10,960 121 958,774 16,561 375 ???:mempcpy
+ 1,747,965 414 6 511,797 153 0 262,707 0 0 ghash.c:g_hash_table_replace
+ 1,688,969 4,045 74 764,119 1,856 11 336,940 2,764 31 splash.c:splashPaintScreen
+ 1,661,310 744 13 414,585 1 0 304,885 333 9 gstring.c:g_string_insert_len
+ 1,473,005 479 9 208,172 0 0 300,605 0 0 gkeyfile.c:g_key_file_remove_key
+ 1,380,076 713 2 483,026 0 0 69,004 0 0 ???:pthread_rwlock_unlock
+ 1,351,296 176 2 235,008 0 0 352,512 68 0 gstrfuncs.c:g_strndup
+ 1,290,123 166 3 334,053 11,880 0 272,913 0 0 ghash.c:g_hash_nodes_destroy
+ 1,279,600 204 6 575,820 70 2 383,880 0 0 ???:glTexCoord2f
+ 1,247,532 336 8 283,530 191 0 453,648 0 0 gkeyfile.c:g_key_file_add_key
+ 1,213,168 13,197 7 193,004 6,221 0 275,720 0 0 gkeyfile.c:g_key_file_set_value
+ 1,201,326 655 4 286,030 70 0 171,618 0 0 gmem.c:g_malloc0
+ 1,198,720 137 3 539,424 67 1 359,616 0 0 ???:glVertex2f
+ 1,173,034 195 2 414,012 510 2 0 0 0 ???:pthread_rwlock_rdlock
+ 1,077,131 6,228 16 314,274 0 0 269,297 11 6 ???:_IO_setb
+ 954,466 605 6 247,376 53 9 0 0 0 ???:strncmp
+ 935,649 166 3 283,530 18,717 0 255,177 0 0 gkeyfile.c:g_key_file_remove_key_value_pair_node
+ 914,851 167 2 130,693 0 0 130,693 0 0 gstring.c:g_str_equal
+ 903,567 213 4 172,108 0 0 215,135 0 0 gprintf.c:g_vasprintf
+ 899,221 38 14 112,520 174 71 35,724 0 0 ???:memchr
+ 857,879 1,446 28 191,956 681 9 116,997 17 0 ???:realloc
+ 829,376 2,984 7 255,192 1,112 2 127,600 1 0 gdataset.c:g_quark_from_static_string
+ 828,902 173 16 259,865 1,722 138 3,164 0 0 ???:XKeysymToKeycode
+ 807,308 8,204 77 215,674 2,088 3 110,838 2,695 0 ???:__printf_fp
+ 804,784 1,818 18 419,176 128,427 634 41,861 162 0 paint.c:paintScreen
+ 796,355 319 6 91,012 0 0 136,518 0 0 gkeyfile.c:g_key_file_set_string
+ 789,906 167 2 151,905 47 0 121,524 57 0 gstring.c:g_string_erase
+ 753,714 11,608 49 376,433 2,576 2 130,346 3,324 29 paint.c:addWindowGeometry
+ 737,178 168 4 198,471 82 0 198,471 0 0 gutf8.c:g_utf8_strchr
+ 733,454 208 5 212,682 29,889 245 111,712 11 0 gslist.c:g_slist_foreach
+ 716,480 68 21 230,292 1,015 0 102,352 2 0 ???:fread
+ 703,148 27 10 351,550 2,353 7 16 0 0 ???:pthread_once
+ 641,556 2,855 21 10,234 0 0 200,206 8,170 4,035 ???:memset
+ 622,398 257 6 29,638 0 0 266,742 0 0 gstring.c:g_string_append_printf
+ 619,320 2,687 8 254,588 13,002 175 0 0 0 ???:strcasecmp
+ 617,762 2,578 6 64,771 1 0 101,544 0 0 gerror.c:g_set_error
+ 612,728 155 19 266,941 81 6 127,391 21 2 event.c:handleWindowDamageRect
+ 603,936 167 2 120,072 49 0 211,467 0 0 glist.c:g_list_prepend
+ 587,094 1,224 23 144,038 4 0 134,789 42 1 ???:_XRead
+ 583,789 6,347 72 155,370 510 51 91,699 57 0 ???:_XReply
+ 552,016 621 2 172,505 231 2 103,503 0 0 ???:tfind
+ 540,060 84 1 113,781 0 0 60,897 0 0 gkeyfile.c:g_key_file_lookup_group
+ 538,707 252 3 85,059 0 0 85,059 0 0 gstrfuncs.c:g_strstr_len
+ 533,273 976 4 302,406 222,308 5 76,739 40,014 221 fade.c:fadePreparePaintScreen
+ 516,117 164 2 121,860 0 0 89,607 20,433 0 glist.c:g_list_remove_link
+ 502,968 1,236 2 251,484 10,358 11 0 0 0 main.c:check_type
+ 491,881 1,515 169 257,102 583 28 64,370 394 7 event.c:handleEvent
+ 491,658 1,175 46 266,970 949 4 115,246 2,329 0 animation.c:animAddWindowGeometry
+ 457,650 380 4 178,524 7,073 0 57,834 0 0 ghash.c:g_hash_table_resize
+ 440,562 166 2 208,113 4,062 0 85,776 0 0 ghash.c:g_hash_table_remove_all
+ 414,932 46 2 118,552 0 0 118,552 0 0 gstring.c:g_string_append_printf_internal
+ 408,111 380 19 148,814 532 8 65,824 80 0 decoration.c:decorHandleEvent
+ 408,045 245 4 147,244 6,614 231 57,885 1 0 main.c:find_setting
+ 405,357 15 5 111,619 1 0 58,744 0 0 ???:fgets
+ 396,956 84 1 85,062 0 0 170,124 0 0 ghash.c:g_hash_node_new
+ 396,942 168 2 28,353 0 0 28,353 0 0 gutf8.c:g_unichar_to_utf8
+ 392,850 1,755 4 226,980 0 0 104,760 3,020 0 wobbly.c:wobblyAddWindowGeometry
+ 388,261 11,274 47 150,410 0 0 68,851 963 0 cube.c:paintReversed
+ 378,568 4,661 0 47,321 80 0 0 0 0 main.c:write_setting
+ 377,464 404 9 123,442 17,525 0 32,173 0 0 gkeyfile.c:g_key_file_to_data
+ 365,849 474 5 94,405 4,427 20 40,132 0 0 ???:XKeysymToString
+ 361,511 26 12 82,790 0 0 70,955 5 2 ???:_IO_getline_info
+ 352,066 5 1 133,872 34 1 0 0 0 ???:strncasecmp
+ 344,260 224 18 89,997 679 7 27,789 218 201 ???:_XrmInternalStringToQuark
+ 339,318 1,518 46 66,103 3,915 12 69,041 2,030 13 ???:_XSend
+ 326,117 169 4 29,647 0 0 29,647 0 0 gstring.c:g_string_append_len
+ 322,533 90 60 107,546 11,275 0 66,069 357 0 ???:png_read_row
+ 318,987 2,560 2 63,796 205 1 31,901 0 0 gutils.c:_glib_gettext
+ 316,674 688 19 112,661 311 0 72,293 129 0 scale.c:scaleHandleEvent
+ 315,208 9,370 68 162,245 5,451 18 75,975 1,766 5 display.c:eventLoop
+ 311,883 80 0 85,059 1 0 85,059 0 0 gkeyfile.c:g_key_file_key_value_pair_free
+ 306,221 3,041 10 135,627 12,816 18 63,625 3,378 1 decoration.c:decorDrawWindow
+ 295,839 413 8 58,425 2,996 0 53,613 0 0 gkeyfile.c:g_key_file_remove_group_node
+ 289,932 492 44 106,158 475 19 72,295 219 1 animation.c:animHandleEvent
+ 289,772 11,692 1 82,792 4 0 0 0 0 main.c:check_s_type
+ 284,606 578 29 93,863 521 12 59,239 231 0 wobbly.c:wobblyHandleEvent
+ 273,369 142 16 180,782 12,291 0 31,520 33 0 screen.c:insertWindowIntoScreen
+ 272,910 59 2 12,405 0 0 124,050 0 0 gstrfuncs.c:g_strdup_printf
+ 270,073 72 8 128,898 166 0 55,242 10 1 scale.c:scaleDamageWindowRect
+ 268,636 26 13 70,250 37 15 17,422 2 0 ???:XGetVisualInfo
+ 264,779 224 4 123,775 0 0 32,173 0 0 gstring.c:g_string_maybe_expand
+ 263,952 87 12 141,184 206 4 49,106 17 1 wobbly.c:wobblyDamageWindowRect
+ 259,584 249 2 123,708 0 0 32,448 0 0 ghash.c:g_hash_table_unref
+ 257,443 221 10 96,102 42 0 24,823 0 0 ???:XUnionRegion
+ 251,680 79 9 128,907 56 1 61,381 1 0 animation.c:animDamageWindowRect
+ 246,480 1,172 3 113,760 1,213 0 85,320 551 0 ???:glTranslatef
+ 245,631 105 20 135,082 145 6 67,525 38 2 place.c:placeDamageWindowRect
+ 245,523 71 7 135,037 147 3 49,104 20 1 neg.c:NEGDamageWindowRect
+ 241,211 630 14 70,602 3,038 157 65,630 3,156 741 ???:_XEnq
+ 238,999 582 18 92,639 316 8 65,840 136 0 resize.c:resizeHandleEvent
+ 233,244 57 7 122,760 100 2 49,104 23 1 switcher.c:switchDamageWindowRect
+ 232,905 18 8 60 13 4 98,343 6,073 2,976 cube.c:cubeUpdateSkyDomeTexture
+ 228,619 696 18 87,923 229 1 66,122 120 0 rotate.c:rotateHandleEvent
+ 227,109 60 6 116,623 70 1 49,105 0 0 decoration.c:decorDamageWindowRect
+ 224,226 228 4 73,924 1,014 25 36,929 0 0 main.c:find_plugin
+ 220,801 878 52 78,237 2,032 45 102,114 1,642 11 event.c:handleActionEvent
+ 208,279 303 50 71,926 36 0 58,580 50 1 ???:XGetWindowProperty
+ 206,980 237 2 41,396 0 0 51,745 0 0 main.c:beryl_setting_get_can_set_edgemask
+ 206,980 157 1 41,396 0 0 51,745 64 0 main.c:beryl_setting_get_can_set_key
+ 206,980 79 1 41,396 0 0 51,745 0 0 main.c:beryl_setting_get_can_set_button
+ 206,980 79 1 41,396 0 0 51,745 0 0 main.c:beryl_setting_get_can_set_bell
+ 203,541 324 5 72,280 200 1 52,592 107 0 water.c:waterHandleEvent
+ 197,454 20 10 33,464 2 0 20,507 0 0 gkeyfile.c:g_key_file_parse_value_as_string
+ 195,119 818 21 95,255 2,387 383 26,898 1,441 0 ipcs.c:IPCS_GetAtom
+ 194,038 489 12 80,275 530 9 59,300 161 0 move.c:moveHandleEvent
+ 190,240 311 6 52,480 0 0 32,800 0 0 ???:XNextEvent
+ 189,760 904 4 88,950 0 0 71,160 0 0 ???:glRotatef
+ 183,646 112 23 65,769 3,397 6 38,823 2,587 4 ???:__glXFlushRenderBuffer
+ 182,997 13,598 89 51,545 7,643 6 23,467 1,114 2 cube.c:cubePaintTransformedScreen
+ 181,747 378 7 47,979 5 0 5,527 0 0 ???:read
+ 180,594 1,343 1 40,132 0 0 40,132 0 0 main.c:beryl_setting_value_get_keysym
+ 180,594 553 1 40,132 0 0 40,132 0 0 main.c:beryl_setting_value_get_keymods
+ 180,594 214 1 40,132 2,449 2 40,132 0 0 main.c:beryl_setting_value_get_key_enabled
+ 178,271 165 8 64,518 148 0 32,399 938 805 gslice.c:slab_allocator_alloc_chunk
+ 177,750 341 1 39,500 158 0 39,500 0 0 main.c:beryl_setting_value_get_button_enabled
+
+--------------------------------------------------------------------------------
+-- User-annotated source: activation.c
+--------------------------------------------------------------------------------
+ No information has been collected for activation.c
+
+--------------------------------------------------------------------------------
+-- User-annotated source: display_options.c
+--------------------------------------------------------------------------------
+ Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw
+
+-- line 162 ----------------------------------------
+ . . . . . . . . . free(display->opt[COMP_DISPLAY_OPTION_SCREENSHOT].value.s);
+ . . . . . . . . . free(display->opt[COMP_DISPLAY_OPTION_WINDOW_SCREENSHOT].value.s);
+ . . . . . . . . . #if 0
+ . . . . . . . . . free(display->opt[COMP_DISPLAY_OPTION_FOCUS_STEALING_LEVEL].value.s);
+ . . . . . . . . . #endif
+ . . . . . . . . . }
+ . . . . . . . . .
+ . . . . . . . . . void compDisplayInitOptions(CompDisplay * display, char **plugin, int nPlugin)
+ 18 4 2 0 0 0 12 0 0 {
+ . . . . . . . . . CompOption *o;
+ . . . . . . . . . int i;
+ . . . . . . . . . char *str;
+ . . . . . . . . .
+ 6 0 0 3 0 0 0 0 0 if (nPlugin == 0)
+ . . . . . . . . . {
+ 6 0 0 3 2 1 3 0 0 nPlugin = nDefPlugin;
+ 3 0 0 0 0 0 3 0 0 plugin = def_plugin;
+ . . . . . . . . . }
+ . . . . . . . . .
+ 6 0 0 3 0 0 3 3 3 display->dirtyPluginList = TRUE;
+ . . . . . . . . .
+ 12 2 1 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_TEXTURE_FILTER];
+ 6 0 0 3 0 0 3 3 3 o->advanced = False;
+ 6 0 0 3 0 0 3 3 3 o->name = "texture_filter";
+ 6 0 0 3 0 0 3 1 1 o->group = N_("Main");
+ 6 0 0 3 0 0 3 1 1 o->subGroup = N_("");
+ 6 2 1 3 0 0 3 0 0 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Texture Filter");
+ 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Texture filtering");
+ 6 0 0 3 0 0 3 1 1 o->type = CompOptionTypeString;
+ 15 0 0 3 0 0 6 0 0 o->value.s = strdup("Good");
+ 6 2 1 3 0 0 3 0 0 o->rest.s.string = textureFilter;
+ 6 0 0 3 0 0 3 0 0 o->rest.s.nString = NUM_TEXTURE_FILTER;
+ . . . . . . . . .
+ 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_CLICK_TO_FOCUS];
+ 6 0 0 3 0 0 3 3 3 o->advanced = False;
+ 6 2 1 3 0 0 3 0 0 o->name = "click_to_focus";
+ 6 0 0 3 0 0 3 2 2 o->group = N_("Main");
+ 6 0 0 3 0 0 3 0 0 o->subGroup = N_("");
+ 6 0 0 3 0 0 3 1 1 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Click To Focus");
+ 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Click on window moves input focus to it");
+ 6 3 1 3 0 0 3 0 0 o->type = CompOptionTypeBool;
+ 6 0 0 3 0 0 3 0 0 o->value.b = CLICK_TO_FOCUS_DEFAULT;
+ . . . . . . . . .
+ 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_AUTORAISE];
+ 6 0 0 3 0 0 3 3 3 o->advanced = False;
+ 6 2 1 3 0 0 3 1 1 o->name = "autoraise";
+ 6 0 0 3 0 0 3 1 1 o->group = N_("Main");
+ 6 0 0 3 0 0 3 1 1 o->subGroup = N_("");
+ 6 0 0 3 0 0 3 0 0 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Auto-Raise");
+ 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Raise selected windows after interval");
+ 6 2 1 3 0 0 3 0 0 o->type = CompOptionTypeBool;
+ 6 0 0 3 0 0 3 0 0 o->value.b = AUTORAISE_DEFAULT;
+ . . . . . . . . .
+ 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_AUTORAISE_DELAY];
+ 6 0 0 3 0 0 3 3 3 o->advanced = False;
+ 6 2 1 3 0 0 3 0 0 o->name = "autoraise_delay";
+ 6 0 0 3 0 0 3 2 2 o->group = N_("Main");
+ 6 0 0 3 0 0 3 0 0 o->subGroup = N_("");
+ 6 0 0 3 0 0 3 0 0 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Auto-Raise Delay");
+ 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Interval before raising selected windows");
+ 6 2 1 3 0 0 3 0 0 o->type = CompOptionTypeInt;
+ 6 0 0 3 0 0 3 1 1 o->value.i = AUTORAISE_DELAY_DEFAULT;
+ 6 0 0 3 0 0 3 0 0 o->rest.i.min = AUTORAISE_DELAY_MIN;
+ 6 0 0 3 0 0 3 0 0 o->rest.i.max = AUTORAISE_DELAY_MAX;
+ . . . . . . . . .
+ 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_CLOSE_WINDOW];
+ 6 3 1 3 0 0 3 3 3 o->advanced = False;
+ 6 0 0 3 0 0 3 1 1 o->name = "close_window";
+ 6 0 0 3 0 0 3 1 1 o->group = N_("Bindings");
+ 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Close Window");
+ 6 0 0 3 0 0 3 0 0 o->displayHints = "";
+ 6 2 1 3 0 0 3 0 0 o->shortDesc = N_("Close Window");
+ 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Close active window");
+ 6 0 0 3 0 0 3 1 1 o->type = CompOptionTypeAction;
+ 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE;
+ 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0;
+ 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey;
+ 18 2 1 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeKey;
+ 6 0 0 3 0 0 3 0 0 o->value.action.key.modifiers = CLOSE_WINDOW_MODIFIERS_DEFAULT;
+ 15 0 0 3 0 0 6 0 0 o->value.action.key.keysym = XStringToKeysym(CLOSE_WINDOW_KEY_DEFAULT);
+ . . . . . . . . .
+ 12 2 1 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_MAIN_MENU];
+ 6 0 0 3 0 0 3 3 3 o->advanced = False;
+ 6 0 0 3 0 0 3 0 0 o->name = "main_menu";
+ 6 0 0 3 0 0 3 1 1 o->group = N_("Bindings");
+ 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Show Main Menu");
+ 6 2 1 3 0 0 3 1 1 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Show Main Menu");
+ 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Show the main menu");
+ 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeAction;
+ 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE;
+ 6 2 1 3 0 0 3 0 0 o->value.action.edgeMask = 0;
+ 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey;
+ 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeKey;
+ 6 0 0 3 0 0 3 0 0 o->value.action.key.modifiers = MAIN_MENU_MODIFIERS_DEFAULT;
+ 15 2 1 3 0 0 6 0 0 o->value.action.key.keysym = XStringToKeysym(MAIN_MENU_KEY_DEFAULT);
+ . . . . . . . . .
+ 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_RUN_DIALOG];
+ 6 0 0 3 0 0 3 3 3 o->advanced = False;
+ 6 0 0 3 0 0 3 1 1 o->name = "run";
+ 6 3 1 3 0 0 3 0 0 o->group = N_("Bindings");
+ 6 0 0 3 0 0 3 1 1 o->subGroup = N_("Run Dialog");
+ 6 0 0 3 0 0 3 0 0 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Run Dialog");
+ 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Show Run Application dialog");
+ 6 0 0 3 0 0 3 1 1 o->type = CompOptionTypeAction;
+ 6 3 1 3 0 0 3 1 1 o->value.action.bell = FALSE;
+ 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0;
+ 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey;
+ 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeKey;
+ 6 2 1 3 0 0 3 0 0 o->value.action.key.modifiers = RUN_DIALOG_MODIFIERS_DEFAULT;
+ 15 0 0 3 0 0 6 0 0 o->value.action.key.keysym = XStringToKeysym(RUN_DIALOG_KEY_DEFAULT);
+ . . . . . . . . .
+ 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_UNMAXIMIZE_WINDOW];
+ 6 0 0 3 0 0 3 3 3 o->advanced = False;
+ 6 2 1 3 0 0 3 3 3 o->name = "unmaximize_window";
+ 6 0 0 3 0 0 3 2 2 o->group = N_("Bindings");
+ 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Unmaximize Window");
+ 6 0 0 3 0 0 3 1 1 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Unmaximize Window");
+ 6 2 1 3 0 0 3 0 0 o->longDesc = N_("Unmaximize active window");
+ 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeAction;
+ 6 0 0 3 0 0 3 0 0 o->value.action.bell = FALSE;
+ 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0;
+ 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey;
+ 18 2 1 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeNone;
+ . . . . . . . . .
+ 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_MINIMIZE_WINDOW];
+ 6 0 0 3 0 0 3 3 3 o->advanced = False;
+ 6 0 0 3 0 0 3 1 1 o->name = "minimize_window";
+ 6 2 1 3 0 0 3 1 1 o->group = N_("Bindings");
+ 6 0 0 3 0 0 3 1 1 o->subGroup = N_("Minimize Window");
+ 6 0 0 3 0 0 3 0 0 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Minimize Window");
+ 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Minimize active window");
+ 6 2 1 3 0 0 3 0 0 o->type = CompOptionTypeAction;
+ 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE;
+ 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0;
+ 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey;
+ 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton;
+ 6 3 1 3 0 0 3 0 0 o->value.action.type = CompBindingTypeKey;
+ 6 3 0 3 0 0 3 0 0 o->value.action.key.modifiers = MINIMIZE_WINDOW_MODIFIERS_DEFAULT;
+ 15 0 0 3 0 0 6 0 0 o->value.action.key.keysym = XStringToKeysym(MINIMIZE_WINDOW_KEY_DEFAULT);
+ . . . . . . . . .
+ 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW];
+ 6 2 1 3 0 0 3 3 3 o->advanced = False;
+ 6 0 0 3 0 0 3 0 0 o->name = "maximize_window";
+ 6 0 0 3 0 0 3 2 2 o->group = N_("Bindings");
+ 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Maximize Window");
+ 6 0 0 3 0 0 3 0 0 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Maximize Window");
+ 6 2 1 3 0 0 3 0 0 o->longDesc = N_("Maximize active window");
+ 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeAction;
+ 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE;
+ 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0;
+ 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey;
+ 18 2 1 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeKey;
+ 6 0 0 3 0 0 3 0 0 o->value.action.key.modifiers = MAXIMIZE_WINDOW_MODIFIERS_DEFAULT;
+ 15 0 0 3 0 0 6 0 0 o->value.action.key.keysym = XStringToKeysym(MAXIMIZE_WINDOW_KEY_DEFAULT);
+ . . . . . . . . .
+ 12 2 1 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW_HORZ];
+ 6 0 0 3 0 0 3 3 3 o->advanced = False;
+ 6 0 0 3 0 0 3 1 1 o->name = "maximize_window_horizontally";
+ 6 0 0 3 0 0 3 1 1 o->group = N_("Bindings");
+ 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Maximize Window Horizontally");
+ 6 2 1 3 0 0 3 0 0 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Maximize Window Horizontally");
+ 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Maximize active window horizontally");
+ 6 0 0 3 0 0 3 1 1 o->type = CompOptionTypeAction;
+ 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE;
+ 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0;
+ 6 2 1 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey;
+ 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeNone;
+ . . . . . . . . .
+ 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW_VERT];
+ 6 2 1 3 0 0 3 3 3 o->advanced = False;
+ 6 0 0 3 0 0 3 0 0 o->name = "maximize_window_vertically";
+ 6 0 0 3 0 0 3 1 1 o->group = N_("Bindings");
+ 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Maximize Window Vertically");
+ 6 0 0 3 0 0 3 1 1 o->displayHints = "";
+ 6 2 1 3 0 0 3 0 0 o->shortDesc = N_("Maximize Window Vertically");
+ 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Maximize active window vertically");
+ 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeAction;
+ 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE;
+ 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0;
+ 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey;
+ 18 2 1 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeNone;
+ . . . . . . . . .
+ 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_SHOW_DESKTOP];
+ 6 0 0 3 0 0 3 3 3 o->advanced = False;
+ 6 3 1 3 0 0 3 3 3 o->name = "show_desktop";
+ 6 0 0 3 0 0 3 2 2 o->group = N_("Bindings");
+ 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Hide all windows and focus desktop");
+ 6 0 0 3 0 0 3 1 1 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Hide all windows and focus desktop");
+ 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Hide all windows and focus desktop");
+ 6 2 1 3 0 0 3 0 0 o->type = CompOptionTypeAction;
+ 6 0 0 3 0 0 3 0 0 o->value.action.bell = FALSE;
+ 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0;
+ 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey;
+ 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitEdge;
+ 18 2 1 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeKey;
+ 6 0 0 3 0 0 3 0 0 o->value.action.key.modifiers = SHOW_DESKTOP_MODIFIERS_DEFAULT;
+ 15 0 0 3 0 0 6 0 0 o->value.action.key.keysym = XStringToKeysym(SHOW_DESKTOP_KEY_DEFAULT);
+ . . . . . . . . .
+ . . . . . . . . . #define COMMAND_OPTION_SHORT N_("Command line %d")
+ . . . . . . . . . #define COMMAND_OPTION_LONG N_("Command line to be executed in shell when " \
+ . . . . . . . . . "run_command%d is invoked")
+ . . . . . . . . . #define RUN_OPTION_SHORT N_("Run command %d")
+ . . . . . . . . . #define RUN_OPTION_LONG N_("A keybinding that when invoked, will run " \
+ . . . . . . . . . "the shell command identified by command%d")
+ . . . . . . . . .
+-- line 385 ----------------------------------------
+-- line 413 ----------------------------------------
+ . . . . . . . . . o->longDesc = str; \
+ . . . . . . . . . o->type = CompOptionTypeAction; \
+ . . . . . . . . . o->value.action.bell = FALSE; \
+ . . . . . . . . . o->value.action.edgeMask = 0; \
+ . . . . . . . . . o->value.action.state = CompActionStateInitKey; \
+ . . . . . . . . . o->value.action.state |= CompActionStateInitButton; \
+ . . . . . . . . . o->value.action.type = CompBindingTypeNone
+ . . . . . . . . .
+297 18 8 102 0 0 99 16 15 COMMAND_OPTION(0, "command0", "run_command0");
+297 16 8 102 0 0 99 13 13 COMMAND_OPTION(1, "command1", "run_command1");
+297 14 7 102 0 0 99 12 12 COMMAND_OPTION(2, "command2", "run_command2");
+297 16 8 102 0 0 99 14 14 COMMAND_OPTION(3, "command3", "run_command3");
+297 16 7 102 0 0 99 12 12 COMMAND_OPTION(4, "command4", "run_command4");
+297 18 8 102 0 0 99 13 13 COMMAND_OPTION(5, "command5", "run_command5");
+297 15 7 102 0 0 99 12 12 COMMAND_OPTION(6, "command6", "run_command6");
+297 16 8 102 0 0 99 14 14 COMMAND_OPTION(7, "command7", "run_command7");
+297 16 7 102 0 0 99 12 12 COMMAND_OPTION(8, "command8", "run_command8");
+297 17 8 102 0 0 99 13 13 COMMAND_OPTION(9, "command9", "run_command9");
+297 14 7 102 0 0 99 12 12 COMMAND_OPTION(10, "command10", "run_command10");
+297 16 8 102 0 0 99 11 11 COMMAND_OPTION(11, "command11", "run_command11");
+ . . . . . . . . .
+ 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_SLOW_ANIMATIONS];
+ 6 2 1 3 0 0 3 3 3 o->advanced = False;
+ 6 0 0 3 0 0 3 0 0 o->name = "slow_animations";
+ 6 0 0 3 0 0 3 1 1 o->group = N_("Bindings");
+ 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Slow Animations");
+ 6 0 0 3 0 0 3 1 1 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Slow Animations");
+ 6 2 1 3 0 0 3 0 0 o->longDesc = N_("Toggle use of slow animations");
+ 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeAction;
+ 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE;
+ 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0;
+ 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey;
+ 18 2 1 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeKey;
+ 6 0 0 3 0 0 3 0 0 o->value.action.key.modifiers = SLOW_ANIMATIONS_MODIFIERS_DEFAULT;
+ 15 0 0 3 0 0 6 0 0 o->value.action.key.keysym = XStringToKeysym(SLOW_ANIMATIONS_KEY_DEFAULT);
+ . . . . . . . . .
+ 12 2 1 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_LOWER_WINDOW];
+ 6 0 0 3 0 0 3 0 0 o->advanced = False;
+ 6 0 0 3 0 0 3 0 0 o->name = "lower_window";
+ 6 0 0 3 0 0 3 1 1 o->group = N_("Bindings");
+ 6 0 0 3 0 0 3 1 1 o->subGroup = N_("Lower Window");
+ 6 3 1 3 0 0 3 0 0 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Lower Window");
+ 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Lower window beneath other windows");
+ 6 0 0 3 0 0 3 1 1 o->type = CompOptionTypeAction;
+ 6 0 0 3 0 0 3 0 0 o->value.action.bell = FALSE;
+ 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0;
+ 6 2 1 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey;
+ 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.button.modifiers = LOWER_WINDOW_MODIFIERS_DEFAULT;
+ 6 0 0 3 0 0 3 0 0 o->value.action.button.button = LOWER_WINDOW_BUTTON_DEFAULT;
+ . . . . . . . . .
+ 12 2 1 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_RAISE_WINDOW];
+ 6 0 0 3 0 0 3 3 3 o->advanced = False;
+ 6 0 0 3 0 0 3 3 3 o->name = "raise_window";
+ 6 0 0 3 0 0 3 2 2 o->group = N_("Bindings");
+ 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Raise Window");
+ 6 2 1 3 0 0 3 1 1 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Raise Window");
+ 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Raise window above other windows");
+ 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeAction;
+ 6 0 0 3 0 0 3 0 0 o->value.action.bell = FALSE;
+ 6 2 1 3 0 0 3 0 0 o->value.action.edgeMask = 0;
+ 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey;
+ 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.button.modifiers = RAISE_WINDOW_MODIFIERS_DEFAULT;
+ 6 3 1 3 0 0 3 0 0 o->value.action.button.button = RAISE_WINDOW_BUTTON_DEFAULT;
+ . . . . . . . . .
+ 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_OPACITY_INCREASE];
+ 6 0 0 3 0 0 3 3 3 o->advanced = False;
+ 6 0 0 3 0 0 3 1 1 o->name = "opacity_increase";
+ 6 0 0 3 0 0 3 0 0 o->group = N_("Bindings");
+ 6 2 1 3 0 0 3 1 1 o->subGroup = N_("Increase Opacity");
+ 6 0 0 3 0 0 3 0 0 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Increase Opacity");
+ 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Increase window opacity");
+ 6 0 0 3 0 0 3 1 1 o->type = CompOptionTypeAction;
+ 6 2 1 3 0 0 3 1 1 o->value.action.bell = FALSE;
+ 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0;
+ 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey;
+ 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.button.modifiers = OPACITY_INCREASE_MODIFIERS_DEFAULT;
+ 6 2 1 3 0 0 3 0 0 o->value.action.button.button = OPACITY_INCREASE_BUTTON_DEFAULT;
+ . . . . . . . . .
+ 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_OPACITY_DECREASE];
+ 6 0 0 3 0 0 3 3 3 o->advanced = False;
+ 6 0 0 3 0 0 3 0 0 o->name = "opacity_decrease";
+ 6 2 1 3 0 0 3 1 1 o->group = N_("Bindings");
+ 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Decrease Opacity");
+ 6 0 0 3 0 0 3 1 1 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Decrease Opacity");
+ 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Decrease window opacity");
+ 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeAction;
+ 6 2 1 3 0 0 3 1 1 o->value.action.bell = FALSE;
+ 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0;
+ 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey;
+ 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeButton;
+ 6 2 1 3 0 0 3 0 0 o->value.action.button.modifiers = OPACITY_DECREASE_MODIFIERS_DEFAULT;
+ 6 0 0 3 0 0 3 0 0 o->value.action.button.button = OPACITY_DECREASE_BUTTON_DEFAULT;
+ . . . . . . . . .
+ 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_SATURATION_INCREASE];
+ 6 0 0 3 0 0 3 3 3 o->advanced = False;
+ 6 3 1 3 0 0 3 0 0 o->name = "saturation_increase";
+ 6 0 0 3 0 0 3 1 1 o->group = N_("Bindings");
+ 6 0 0 3 0 0 3 1 1 o->subGroup = N_("Increase Saturation");
+ 6 0 0 3 0 0 3 0 0 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Increase Saturation");
+ 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Increase Saturation");
+ 6 3 1 3 0 0 3 1 1 o->type = CompOptionTypeAction;
+ 6 0 0 3 0 0 3 0 0 o->value.action.bell = FALSE;
+ 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0;
+ 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey;
+ 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton;
+ 6 2 1 3 0 0 3 0 0 o->value.action.type = CompBindingTypeButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.button.modifiers = SATURATION_INCREASE_MODIFIERS_DEFAULT;
+ 6 0 0 3 0 0 3 0 0 o->value.action.button.button = SATURATION_INCREASE_BUTTON_DEFAULT;
+ . . . . . . . . .
+ 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_SATURATION_DECREASE];
+ 6 0 0 3 0 0 3 3 3 o->advanced = False;
+ 6 2 1 3 0 0 3 0 0 o->name = "saturation_decrease";
+ 6 0 0 3 0 0 3 2 2 o->group = N_("Bindings");
+ 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Decrease Saturation");
+ 6 0 0 3 0 0 3 1 1 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Decrease Saturation");
+ 6 2 1 3 0 0 3 0 0 o->longDesc = N_("Decrease Saturation");
+ 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeAction;
+ 6 0 0 3 0 0 3 0 0 o->value.action.bell = FALSE;
+ 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0;
+ 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey;
+ 18 2 1 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.button.modifiers = SATURATION_DECREASE_MODIFIERS_DEFAULT;
+ 6 0 0 3 0 0 3 0 0 o->value.action.button.button = SATURATION_DECREASE_BUTTON_DEFAULT;
+ . . . . . . . . .
+ 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_BRIGHTNESS_INCREASE];
+ 6 2 1 3 0 0 3 3 3 o->advanced = False;
+ 6 0 0 3 0 0 3 1 1 o->name = "brightness_increase";
+ 6 0 0 3 0 0 3 1 1 o->group = N_("Bindings");
+ 6 0 0 3 0 0 3 1 1 o->subGroup = N_("Increase Brightness");
+ 6 0 0 3 0 0 3 0 0 o->displayHints = "";
+ 6 2 1 3 0 0 3 0 0 o->shortDesc = N_("Increase Brightness");
+ 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Increase Brightness");
+ 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeAction;
+ 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE;
+ 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0;
+ 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey;
+ 18 3 1 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.button.modifiers = BRIGHTNESS_INCREASE_MODIFIERS_DEFAULT;
+ 6 0 0 3 0 0 3 0 0 o->value.action.button.button = BRIGHTNESS_INCREASE_BUTTON_DEFAULT;
+ . . . . . . . . .
+ 12 2 1 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_BRIGHTNESS_DECREASE];
+ 6 0 0 3 0 0 3 3 3 o->advanced = False;
+ 6 0 0 3 0 0 3 0 0 o->name = "brightness_decrease";
+ 6 0 0 3 0 0 3 2 2 o->group = N_("Bindings");
+ 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Decrease Brightness");
+ 6 0 0 3 0 0 3 0 0 o->displayHints = "";
+ 6 2 1 3 0 0 3 0 0 o->shortDesc = N_("Decrease Brightness");
+ 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Decrease Brightness");
+ 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeAction;
+ 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE;
+ 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0;
+ 6 2 1 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey;
+ 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.button.modifiers = BRIGHTNESS_DECREASE_MODIFIERS_DEFAULT;
+ 6 0 0 3 0 0 3 0 0 o->value.action.button.button = BRIGHTNESS_DECREASE_BUTTON_DEFAULT;
+ . . . . . . . . .
+ 12 2 1 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_RUN_SCREENSHOT];
+ 6 0 0 3 0 0 3 3 3 o->advanced = False;
+ 6 0 0 3 0 0 3 3 3 o->name = "run_command_screenshot";
+ 6 0 0 3 0 0 3 1 1 o->group = N_("Bindings");
+ 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Take a screenshot");
+ 6 2 1 3 0 0 3 1 1 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Take a screenshot");
+ 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Take a screenshot");
+ 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeAction;
+ 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE;
+ 6 2 1 3 0 0 3 0 0 o->value.action.edgeMask = 0;
+ 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey;
+ 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeKey;
+ 6 0 0 3 0 0 3 0 0 o->value.action.key.modifiers = RUN_SCREENSHOT_MODIFIERS_DEFAULT;
+ 15 2 1 3 0 0 6 0 0 o->value.action.key.keysym = XStringToKeysym(RUN_SCREENSHOT_KEY_DEFAULT);
+ . . . . . . . . .
+ 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_SCREENSHOT];
+ 6 0 0 3 0 0 3 0 0 o->advanced = False;
+ 6 0 0 3 0 0 3 1 1 o->name = "command_screenshot";
+ 6 2 1 3 0 0 3 1 1 o->group = N_("Main");
+ 6 0 0 3 0 0 3 0 0 o->subGroup = N_("");
+ 6 0 0 3 0 0 3 0 0 o->displayHints = "command;";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Screenshot command line");
+ 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Screenshot command line");
+ 6 0 0 3 0 0 3 1 1 o->type = CompOptionTypeString;
+ 15 2 1 3 0 0 6 0 0 o->value.s = strdup(SCREENSHOT_DEFAULT);
+ 6 0 0 3 0 0 3 1 1 o->rest.s.string = NULL;
+ 6 0 0 3 0 0 3 0 0 o->rest.s.nString = 0;
+ . . . . . . . . .
+ 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_RUN_WINDOW_SCREENSHOT];
+ 6 3 1 3 0 0 3 3 3 o->advanced = False;
+ 6 0 0 3 0 0 3 3 3 o->name = "run_command_window_screenshot";
+ 6 0 0 3 0 0 3 1 1 o->group = N_("Bindings");
+ 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Take a screenshot of a window");
+ 6 0 0 3 0 0 3 1 1 o->displayHints = "";
+ 6 2 1 3 0 0 3 0 0 o->shortDesc = N_("Take a screenshot of a window");
+ 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Take a screenshot of a window");
+ 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeAction;
+ 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE;
+ 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0;
+ 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey;
+ 18 2 1 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeKey;
+ 6 0 0 3 0 0 3 0 0 o->value.action.key.modifiers = RUN_WINDOW_SCREENSHOT_MODIFIERS_DEFAULT;
+ 15 0 0 3 0 0 6 0 0 o->value.action.key.keysym =
+ . . . . . . . . . XStringToKeysym(RUN_WINDOW_SCREENSHOT_KEY_DEFAULT);
+ . . . . . . . . .
+ 12 2 1 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_WINDOW_SCREENSHOT];
+ 6 0 0 3 0 0 3 0 0 o->advanced = False;
+ 6 0 0 3 0 0 3 1 1 o->name = "command_window_screenshot";
+ 6 0 0 3 0 0 3 0 0 o->group = N_("Main");
+ 6 0 0 3 0 0 3 1 1 o->subGroup = N_("");
+ 6 2 1 3 0 0 3 0 0 o->displayHints = "command;";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Window screenshot command line");
+ 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Window screenshot command line");
+ 6 0 0 3 0 0 3 1 1 o->type = CompOptionTypeString;
+ 15 3 1 3 0 0 6 0 0 o->value.s = strdup(WINDOW_SCREENSHOT_DEFAULT);
+ 6 0 0 3 0 0 3 1 1 o->rest.s.string = NULL;
+ 6 0 0 3 0 0 3 0 0 o->rest.s.nString = 0;
+ . . . . . . . . .
+ 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_WINDOW_MENU];
+ 6 0 0 3 0 0 3 0 0 o->advanced = False;
+ 6 2 1 3 0 0 3 0 0 o->name = "window_menu";
+ 6 0 0 3 0 0 3 1 1 o->group = N_("Bindings");
+ 6 0 0 3 0 0 3 1 1 o->subGroup = N_("Window Menu");
+ 6 0 0 3 0 0 3 0 0 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Window Menu");
+ 6 2 1 3 0 0 3 0 0 o->longDesc = N_("Open window menu");
+ 6 0 0 3 0 0 3 1 1 o->type = CompOptionTypeAction;
+ 6 0 0 3 0 0 3 0 0 o->value.action.bell = FALSE;
+ 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0;
+ 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey;
+ 18 3 1 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.button.modifiers = WINDOW_MENU_MODIFIERS_DEFAULT;
+ 6 0 0 3 0 0 3 0 0 o->value.action.button.button = WINDOW_MENU_BUTTON_DEFAULT;
+ 18 0 0 9 0 0 3 0 0 o->value.action.type |= CompBindingTypeKey;
+ 6 2 1 3 0 0 3 0 0 o->value.action.key.modifiers = WINDOW_MENU_MODIFIERS_DEFAULT;
+ 15 0 0 3 0 0 6 0 0 o->value.action.key.keysym = XStringToKeysym(WINDOW_MENU_KEY_DEFAULT);
+ . . . . . . . . .
+ 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_RAISE_ON_CLICK];
+ 6 0 0 3 0 0 3 3 3 o->advanced = False;
+ 6 2 1 3 0 0 3 2 1 o->name = "raise_on_click";
+ 6 0 0 3 0 0 3 1 1 o->group = N_("Main");
+ 6 0 0 3 0 0 3 1 1 o->subGroup = N_("");
+ 6 0 0 3 0 0 3 0 0 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Raise On Click");
+ 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Raise windows when clicked");
+ 6 2 1 3 0 0 3 0 0 o->type = CompOptionTypeBool;
+ 6 0 0 3 0 0 3 0 0 o->value.b = RAISE_ON_CLICK_DEFAULT;
+ . . . . . . . . .
+ 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_AUDIBLE_BELL];
+ 6 0 0 3 0 0 3 3 3 o->advanced = False;
+ 6 0 0 3 0 0 3 0 0 o->name = "audible_bell";
+ 6 2 1 3 0 0 3 2 2 o->group = N_("Main");
+ 6 0 0 3 0 0 3 0 0 o->subGroup = N_("");
+ 6 0 0 3 0 0 3 0 0 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Audible Bell");
+ 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Audible system beep");
+ 6 2 1 3 0 0 3 0 0 o->type = CompOptionTypeBool;
+ 6 0 0 3 0 0 3 1 1 o->value.b = AUDIBLE_BELL_DEFAULT;
+ . . . . . . . . .
+ 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED];
+ 6 0 0 3 0 0 3 3 3 o->advanced = False;
+ 6 0 0 3 0 0 3 1 1 o->name = "toggle_window_maximized";
+ 6 2 1 3 0 0 3 1 1 o->group = N_("Bindings");
+ 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Toggle Window Maximized");
+ 6 0 0 3 0 0 3 0 0 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Toggle Window Maximized");
+ 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Toggle active window maximized");
+ 6 2 1 3 0 0 3 1 1 o->type = CompOptionTypeAction;
+ 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE;
+ 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0;
+ 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey;
+ 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton;
+ 6 2 1 3 0 0 3 0 0 o->value.action.type = CompBindingTypeKey;
+ 6 0 0 3 0 0 3 0 0 o->value.action.key.modifiers = TOGGLE_WINDOW_MAXIMIZED_MODIFIERS_DEFAULT;
+ 15 0 0 3 0 0 6 0 0 o->value.action.key.keysym =
+ . . . . . . . . . XStringToKeysym(TOGGLE_WINDOW_MAXIMIZED_KEY_DEFAULT);
+ . . . . . . . . .
+ 9 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_FULLSCREEN];
+ 6 0 0 3 0 0 3 1 0 o->advanced = False;
+ 6 2 1 3 0 0 3 3 3 o->name = "toggle_window_fullscreen";
+ 6 0 0 3 0 0 3 1 1 o->group = N_("Bindings");
+ 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Toggle Window Fullscreen");
+ 6 0 0 3 0 0 3 1 1 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Toggle Window Fullscreen");
+ 6 2 1 3 0 0 3 0 0 o->longDesc = N_("Toggle active window fullscreen, kiosk mode");
+ 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeAction;
+ 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE;
+ 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0;
+ 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey;
+ 18 2 1 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeKey;
+ 6 0 0 3 0 0 3 0 0 o->value.action.key.modifiers =
+ . . . . . . . . . TOGGLE_WINDOW_FULLSCREEN_MODIFIERS_DEFAULT;
+ 15 0 0 3 0 0 6 0 0 o->value.action.key.keysym =
+ . . . . . . . . . XStringToKeysym(TOGGLE_WINDOW_FULLSCREEN_KEY_DEFAULT);
+ . . . . . . . . .
+ 12 2 1 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED_HORZ];
+ 6 0 0 3 0 0 3 3 3 o->advanced = False;
+ 6 0 0 3 0 0 3 0 0 o->name = "toggle_window_maximized_horizontally";
+ 6 0 0 3 0 0 3 1 1 o->group = N_("Bindings");
+ 6 0 0 3 0 0 3 0 0 o->subGroup = N_("Toggle Window Maximized Horizontally");
+ 6 0 0 3 0 0 3 1 1 o->displayHints = "";
+ 6 2 1 3 0 0 3 0 0 o->shortDesc = N_("Toggle Window Maximized Horizontally");
+ 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Toggle active window maximized horizontally");
+ 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeAction;
+ 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE;
+ 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0;
+ 6 2 1 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey;
+ 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeKey;
+ 6 0 0 3 0 0 3 0 0 o->value.action.key.modifiers =
+ . . . . . . . . . TOGGLE_WINDOW_MAXIMIZED_HORZ_MODIFIERS_DEFAULT;
+ 15 0 0 3 0 0 6 0 0 o->value.action.key.keysym =
+ . . . . . . . . . XStringToKeysym(TOGGLE_WINDOW_MAXIMIZED_HORZ_KEY_DEFAULT);
+ . . . . . . . . .
+ 12 2 1 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED_VERT];
+ 6 0 0 3 0 0 3 3 3 o->advanced = False;
+ 6 0 0 3 0 0 3 1 1 o->name = "toggle_window_maximized_vertically";
+ 6 0 0 3 0 0 3 0 0 o->group = N_("Bindings");
+ 6 2 1 3 0 0 3 1 1 o->subGroup = N_("Toggle Window Maximized Vertically");
+ 6 0 0 3 0 0 3 0 0 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Toggle Window Maximized Vertically");
+ 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Toggle active window maximized vertically");
+ 6 0 0 3 0 0 3 1 1 o->type = CompOptionTypeAction;
+ 6 0 0 3 0 0 3 1 1 o->value.action.bell = FALSE;
+ 6 2 1 3 0 0 3 0 0 o->value.action.edgeMask = 0;
+ 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey;
+ 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton;
+ 6 0 0 3 0 0 3 0 0 o->value.action.type = CompBindingTypeKey;
+ 6 0 0 3 0 0 3 0 0 o->value.action.key.modifiers =
+ . . . . . . . . . TOGGLE_WINDOW_MAXIMIZED_VERT_MODIFIERS_DEFAULT;
+ 15 2 1 3 0 0 6 0 0 o->value.action.key.keysym =
+ . . . . . . . . . XStringToKeysym(TOGGLE_WINDOW_MAXIMIZED_VERT_KEY_DEFAULT);
+ . . . . . . . . .
+ 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_HIDE_SKIP_TASKBAR_WINDOWS];
+ 6 0 0 3 0 0 3 3 3 o->advanced = False;
+ 6 0 0 3 0 0 3 0 0 o->name = "hide_skip_taskbar_windows";
+ 6 2 1 3 0 0 3 1 1 o->group = N_("Main");
+ 6 0 0 3 0 0 3 0 0 o->subGroup = N_("");
+ 6 0 0 3 0 0 3 1 1 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Hide Skip Taskbar Windows");
+ 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Hide windows not in taskbar when entering show "
+ . . . . . . . . . "desktop mode");
+ 6 2 1 3 0 0 3 0 0 o->type = CompOptionTypeBool;
+ 6 0 0 3 0 0 3 1 1 o->value.b = HIDE_SKIP_TASKBAR_WINDOWS_DEFAULT;
+ . . . . . . . . .
+ 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_SHADED];
+ 6 0 0 3 0 0 3 0 0 o->advanced = False;
+ 6 0 0 3 0 0 3 0 0 o->name = "toggle_window_shaded";
+ 6 2 1 3 0 0 3 1 1 o->group = N_("Bindings");
+ 6 0 0 3 0 0 3 1 1 o->subGroup = N_("Toggle Window Shaded");
+ 6 0 0 3 0 0 3 0 0 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Toggle Window Shaded");
+ 6 0 0 3 0 0 3 0 0 o->longDesc = N_("Toggle active window shaded");
+ 6 2 1 3 0 0 3 1 1 o->type = CompOptionTypeAction;
+ 6 0 0 3 0 0 3 0 0 o->value.action.bell = FALSE;
+ 6 0 0 3 0 0 3 0 0 o->value.action.edgeMask = 0;
+ 6 0 0 3 0 0 3 0 0 o->value.action.state = CompActionStateInitKey;
+ 18 0 0 9 0 0 3 0 0 o->value.action.state |= CompActionStateInitButton;
+ 6 2 1 3 0 0 3 0 0 o->value.action.type = CompBindingTypeKey;
+ 6 0 0 3 0 0 3 0 0 o->value.action.key.modifiers = TOGGLE_WINDOW_SHADING_MODIFIERS_DEFAULT;
+ 15 0 0 3 0 0 6 0 0 o->value.action.key.keysym =
+ . . . . . . . . . XStringToKeysym(TOGGLE_WINDOW_SHADING_KEY_DEFAULT);
+ . . . . . . . . .
+ 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_DIM_DEAD];
+ 6 2 1 3 0 0 3 3 3 o->advanced = False;
+ 6 0 0 3 0 0 3 1 1 o->name = "dim_dead";
+ 6 0 0 3 0 0 3 1 1 o->group = N_("Main");
+ 6 0 0 3 0 0 3 1 1 o->subGroup = N_("");
+ 6 0 0 3 0 0 3 0 0 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Dim Unresponsive Windows");
+ 6 2 1 3 0 0 3 0 0 o->longDesc = N_("Desaturate and dim windows that are unresponsive");
+ 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeBool;
+ 6 0 0 3 0 0 3 0 0 o->value.b = DIM_DEAD_DEFAULT;
+ . . . . . . . . .
+ 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_IGNORE_HINTS_WHEN_MAXIMIZED];
+ 6 3 1 3 0 0 3 3 3 o->advanced = False;
+ 6 0 0 3 0 0 3 0 0 o->name = "ignore_hints_when_maximized";
+ 6 0 0 3 0 0 3 2 2 o->group = N_("Main");
+ 6 0 0 3 0 0 3 0 0 o->subGroup = N_("");
+ 6 0 0 3 0 0 3 0 0 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Ignore Hints When Maximized");
+ 6 2 1 3 0 0 3 0 0 o->longDesc =
+ . . . . . . . . . N_("Ignore size increment and aspect hints when window is "
+ . . . . . . . . . "maximized");
+ 6 0 0 3 0 0 3 0 0 o->type = CompOptionTypeBool;
+ 6 0 0 3 0 0 3 1 1 o->value.b = IGNORE_HINTS_WHEN_MAXIMIZED_DEFAULT;
+ . . . . . . . . .
+ 12 0 0 3 0 0 3 0 0 o = &display->opt[COMP_DISPLAY_OPTION_EDGE_TRIGGERING_DELAY];
+ 6 0 0 3 0 0 3 3 2 o->advanced = False;
+ 6 2 1 3 0 0 3 1 1 o->name = "edge_triggering_delay";
+ 6 0 0 3 0 0 3 1 1 o->group = N_("Main");
+ 6 0 0 3 0 0 3 0 0 o->subGroup = N_("");
+ 6 0 0 3 0 0 3 0 0 o->displayHints = "";
+ 6 0 0 3 0 0 3 0 0 o->shortDesc = N_("Edge Triggering Delay");
+ 6 2 1 3 0 0 3 0 0 o->longDesc = N_("Interval before triggering actions on edges");
+ 6 0 0 3 0 0 3 1 1 o->type = CompOptionTypeInt;
+ 6 0 0 3 0 0 3 0 0 o->value.i = EDGE_TRIGGERING_DELAY_DEFAULT;
+ 6 0 0 3 0 0 3 1 1 o->rest.i.min = EDGE_TRIGGERING_DELAY_MIN;
+ 6 0 0 3 0 0 3 0 0 o->rest.i.max = EDGE_TRIGGERING_DELAY_MAX;
+ . . . . . . . . .
+ . . . . . . . . . #if 0
+ . . . . . . . . . o = &display->opt[COMP_DISPLAY_OPTION_FOCUS_STEALING_LEVEL];
+ . . . . . . . . . o->advanced = False;
+ . . . . . . . . . o->name = "focus_stealing_prevention_level";
+ . . . . . . . . . o->group = N_("Main");
+ . . . . . . . . . o->subGroup = N_("");
+ . . . . . . . . . o->displayHints = "";
+-- line 838 ----------------------------------------
+-- line 839 ----------------------------------------
+ . . . . . . . . . o->shortDesc = N_("Level of FSP");
+ . . . . . . . . . o->longDesc =
+ . . . . . . . . . N_("How aggressive the focus-stealing-prevention should be");
+ . . . . . . . . . o->type = CompOptionTypeString;
+ . . . . . . . . . o->value.s = strdup(DEFAULT_FSP);
+ . . . . . . . . . o->rest.s.string = fspTypes;
+ . . . . . . . . . o->rest.s.nString = FSP_COUNT;
+ . . . . . . . . . #endif
+ 6 0 0 6 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . CompOption *compGetDisplayOptions(CompDisplay * display, int *count)
+365 73 5 0 0 0 219 0 0 {
+146 0 0 73 0 0 0 0 0 if (display)
+ . . . . . . . . . {
+144 0 0 72 0 0 72 0 0 *count = NUM_OPTIONS(display);
+288 0 0 72 0 0 72 17 1 return display->opt;
+ . . . . . . . . . }
+ . . . . . . . . . else
+ . . . . . . . . . {
+ 3 0 0 0 0 0 2 0 0 CompDisplay *d = malloc(sizeof(CompDisplay));
+ . . . . . . . . .
+ 4 1 1 1 0 0 1 0 0 compDisplayInitOptions(d, NULL, 0);
+ 2 0 0 1 0 0 1 0 0 *count = NUM_OPTIONS(d);
+ 76 36 2 74 0 0 1 0 0 return d->opt;
+ . . . . . . . . . }
+146 0 0 146 0 0 0 0 0 }
+
+--------------------------------------------------------------------------------
+-- User-annotated source: screen_options.c
+--------------------------------------------------------------------------------
+Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw
+
+-- line 49 ----------------------------------------
+ . . . . . . . . .
+ . . . . . . . . . void compScreenInitOptions(CompScreen * screen);
+ . . . . . . . . .
+ . . . . . . . . . void compFreeScreenOptions(CompScreen * screen)
+ . . . . . . . . . {
+ . . . . . . . . . }
+ . . . . . . . . .
+ . . . . . . . . . void compScreenInitOptions(CompScreen * screen)
+ 8 2 2 0 0 0 4 0 0 {
+ . . . . . . . . . CompOption *o;
+ . . . . . . . . .
+ 6 0 0 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_DETECT_REFRESH_RATE];
+ 4 0 0 2 0 0 2 2 1 o->advanced = False;
+ 4 0 0 2 0 0 2 2 1 o->name = "detect_refresh_rate";
+ 4 2 2 2 0 0 2 1 0 o->group = N_("Main");
+ 4 0 0 2 0 0 2 0 0 o->subGroup = N_("");
+ 4 0 0 2 0 0 2 1 1 o->displayHints = "";
+ 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Detect Refresh Rate");
+ 4 0 0 2 0 0 2 0 0 o->longDesc = N_("Automatic detection of refresh rate");
+ 4 2 2 2 0 0 2 0 0 o->type = CompOptionTypeBool;
+ 4 2 0 2 0 0 2 0 0 o->value.b = DETECT_REFRESH_RATE_DEFAULT;
+ . . . . . . . . .
+ 8 0 0 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_LEGACY_MAXIMIZE_FIX];
+ 4 0 0 2 0 0 2 2 1 o->advanced = False;
+ 4 0 0 2 0 0 2 2 1 o->name = "legacy_maximize_fix";
+ 4 2 2 2 0 0 2 1 0 o->group = N_("Main");
+ 4 0 0 2 0 0 2 0 0 o->subGroup = N_("");
+ 4 0 0 2 0 0 2 0 0 o->displayHints = "";
+ 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Enable workarounds for certain Wine and legacy"
+ . . . . . . . . . " windows");
+ 4 0 0 2 0 0 2 0 0 o->longDesc = N_("This will mask certain windows as maximized based "
+ . . . . . . . . . "on their inital size settings. This helps on certain"
+ . . . . . . . . . " Wine and legacy windows, but can create unwanted "
+ . . . . . . . . . "behavior in other things, such as OpenOffice and "
+ . . . . . . . . . "similar. ");
+ 4 2 2 2 0 0 2 1 1 o->type = CompOptionTypeBool;
+ 4 0 0 2 0 0 2 0 0 o->advanced = True;
+ 4 0 0 2 0 0 2 0 0 o->value.b = LEGACY_MAXIMIZE_DEFAULT;
+ . . . . . . . . .
+ 8 0 0 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_LIGHTING];
+ 4 0 0 2 0 0 2 2 1 o->advanced = False;
+ 4 2 2 2 0 0 2 1 0 o->name = "lighting";
+ 4 0 0 2 0 0 2 0 0 o->group = N_("Main");
+ 4 0 0 2 0 0 2 1 1 o->subGroup = N_("");
+ 4 0 0 2 0 0 2 0 0 o->displayHints = "";
+ 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Lighting");
+ 4 2 2 2 0 0 2 0 0 o->longDesc = N_("Use diffuse light when screen is transformed");
+ 4 0 0 2 0 0 2 0 0 o->type = CompOptionTypeBool;
+ 4 0 0 2 0 0 2 0 0 o->value.b = LIGHTING_DEFAULT;
+ . . . . . . . . .
+ 8 0 0 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_REFRESH_RATE];
+ 4 0 0 2 0 0 2 2 1 o->advanced = False;
+ 4 2 2 2 0 0 2 0 0 o->name = "refresh_rate";
+ 4 0 0 2 0 0 2 1 1 o->group = N_("Main");
+ 4 0 0 2 0 0 2 0 0 o->subGroup = N_("");
+ 4 0 0 2 0 0 2 0 0 o->displayHints = "";
+ 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Refresh Rate");
+ 4 2 2 2 0 0 2 0 0 o->longDesc =
+ . . . . . . . . . N_("The rate at which the screen is redrawn (times/second)");
+ 4 0 0 2 0 0 2 0 0 o->type = CompOptionTypeInt;
+ 4 0 0 2 0 0 2 1 0 o->value.i = DEFAULT_REFRESH_RATE;
+ 4 0 0 2 0 0 2 0 0 o->rest.i.min = 1;
+ 4 0 0 2 0 0 2 0 0 o->rest.i.max = 200;
+ . . . . . . . . .
+ 8 2 2 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_SIZE];
+ 4 0 0 2 0 0 2 2 1 o->advanced = False;
+ 4 0 0 2 0 0 2 0 0 o->name = "size";
+ 4 0 0 2 0 0 2 1 1 o->group = N_("Main");
+ 4 0 0 2 0 0 2 0 0 o->subGroup = N_("");
+ 4 2 2 2 0 0 2 0 0 o->displayHints = "";
+ 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Horizontal Virtual Size");
+ 4 0 0 2 0 0 2 0 0 o->longDesc = N_("Screen size multiplier for virtual size");
+ 4 0 0 2 0 0 2 1 0 o->type = CompOptionTypeInt;
+ 4 0 0 2 0 0 2 0 0 o->value.i = SCREEN_SIZE_DEFAULT;
+ 4 0 0 2 0 0 2 0 0 o->rest.i.min = SCREEN_SIZE_MIN;
+ 4 2 2 2 0 0 2 0 0 o->rest.i.max = SCREEN_SIZE_MAX;
+ . . . . . . . . .
+ 8 0 0 2 0 0 2 0 0 o = &(screen->opt[COMP_SCREEN_OPTION_VSIZE]);
+ 4 0 0 2 0 0 2 2 1 o->advanced = False;
+ 4 0 0 2 0 0 2 2 1 o->name = "vsize";
+ 4 0 0 2 0 0 2 1 1 o->group = N_("Main");
+ 4 2 2 2 0 0 2 0 0 o->subGroup = N_("");
+ 4 0 0 2 0 0 2 0 0 o->displayHints = "";
+ 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Vertical Virtual Size");
+ 4 0 0 2 0 0 2 0 0 o->longDesc = N_("Screen size multiplier for vertical virtual size");
+ 4 0 0 2 0 0 2 0 0 o->type = CompOptionTypeInt;
+ 4 2 2 2 0 0 2 1 0 o->value.i = SCREEN_VSIZE_DEFAULT;
+ 4 0 0 2 0 0 2 0 0 o->rest.i.min = SCREEN_VSIZE_MIN;
+ 4 0 0 2 0 0 2 0 0 o->rest.i.max = SCREEN_VSIZE_MAX;
+ . . . . . . . . .
+ 8 0 0 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_OPACITY_STEP];
+ 4 0 0 2 0 0 2 2 1 o->advanced = False;
+ 4 2 2 2 0 0 2 0 0 o->name = "opacity_step";
+ 4 0 0 2 0 0 2 1 1 o->group = N_("Main");
+ 4 0 0 2 0 0 2 0 0 o->subGroup = N_("");
+ 4 0 0 2 0 0 2 1 0 o->displayHints = "";
+ 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Opacity Step");
+ 4 2 2 2 0 0 2 0 0 o->longDesc = N_("Opacity change step");
+ 4 0 0 2 0 0 2 0 0 o->type = CompOptionTypeInt;
+ 4 0 0 2 0 0 2 0 0 o->value.i = OPACITY_STEP_DEFAULT;
+ 4 0 0 2 0 0 2 0 0 o->rest.i.min = OPACITY_STEP_MIN;
+ 4 0 0 2 0 0 2 0 0 o->rest.i.max = OPACITY_STEP_MAX;
+ . . . . . . . . .
+ 8 2 2 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_SATURATION_STEP];
+ 4 0 0 2 0 0 2 2 1 o->advanced = False;
+ 4 0 0 2 0 0 2 1 1 o->name = "saturation_step";
+ 4 0 0 2 0 0 2 0 0 o->group = N_("Main");
+ 4 0 0 2 0 0 2 1 0 o->subGroup = N_("");
+ 4 0 0 2 0 0 2 0 0 o->displayHints = "";
+ 4 2 2 2 0 0 2 0 0 o->shortDesc = N_("Saturation Step");
+ 4 0 0 2 0 0 2 0 0 o->longDesc = N_("Saturation change step");
+ 4 0 0 2 0 0 2 0 0 o->type = CompOptionTypeInt;
+ 4 0 0 2 0 0 2 0 0 o->value.i = SATURATION_STEP_DEFAULT;
+ 4 0 0 2 0 0 2 1 1 o->rest.i.min = SATURATION_STEP_MIN;
+ 4 2 2 2 0 0 2 0 0 o->rest.i.max = SATURATION_STEP_MAX;
+ . . . . . . . . .
+ 8 0 0 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_BRIGHTNESS_STEP];
+ 4 0 0 2 0 0 2 2 1 o->advanced = False;
+ 4 0 0 2 0 0 2 0 0 o->name = "brightness_step";
+ 4 0 0 2 0 0 2 1 0 o->group = N_("Main");
+ 4 2 2 2 0 0 2 0 0 o->subGroup = N_("");
+ 4 0 0 2 0 0 2 0 0 o->displayHints = "";
+ 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Brightness Step");
+ 4 0 0 2 0 0 2 0 0 o->longDesc = N_("Brightness change step");
+ 4 0 0 2 0 0 2 0 0 o->type = CompOptionTypeInt;
+ 4 2 2 2 0 0 2 1 1 o->value.i = BRIGHTNESS_STEP_DEFAULT;
+ 4 0 0 2 0 0 2 0 0 o->rest.i.min = BRIGHTNESS_STEP_MIN;
+ 4 0 0 2 0 0 2 0 0 o->rest.i.max = BRIGHTNESS_STEP_MAX;
+ . . . . . . . . .
+ 8 0 0 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_UNREDIRECT_FS];
+ 4 0 0 2 0 0 2 2 1 o->advanced = False;
+ 4 2 2 2 0 0 2 0 0 o->name = "unredirect_fullscreen_windows";
+ 4 0 0 2 0 0 2 1 0 o->group = N_("Main");
+ 4 0 0 2 0 0 2 0 0 o->subGroup = N_("");
+ 4 0 0 2 0 0 2 0 0 o->displayHints = "";
+ 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Unredirect Fullscreen Windows");
+ 4 2 2 2 0 0 2 0 0 o->longDesc =
+ . . . . . . . . . N_("Allow drawing of fullscreen windows to not be redirected "
+ . . . . . . . . . "to offscreen pixmaps");
+ 4 0 0 2 0 0 2 1 1 o->type = CompOptionTypeBool;
+ 4 0 0 2 0 0 2 0 0 o->value.b = UNREDIRECT_FS_DEFAULT;
+ . . . . . . . . .
+ 8 0 0 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_DEFAULT_ICON];
+ 4 0 0 2 0 0 2 2 1 o->advanced = False;
+ 4 2 2 2 0 0 2 0 0 o->name = "default_icon";
+ 4 0 0 2 0 0 2 1 0 o->group = N_("Main");
+ 4 0 0 2 0 0 2 0 0 o->subGroup = N_("");
+ 4 0 0 2 0 0 2 1 1 o->displayHints = "file;image;";
+ 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Default Icon");
+ 4 2 2 2 0 0 2 0 0 o->longDesc = N_("Default window icon image");
+ 4 0 0 2 0 0 2 0 0 o->type = CompOptionTypeString;
+10 0 0 2 0 0 4 0 0 o->value.s = strdup(DEFAULT_ICON_DEFAULT);
+ 4 0 0 2 0 0 2 0 0 o->rest.s.string = 0;
+ 4 0 0 2 0 0 2 0 0 o->rest.s.nString = 0;
+ . . . . . . . . .
+ . . . . . . . . . /* o = &screen->opt[COMP_SCREEN_OPTION_SLOWNESS_FIX];
+ . . . . . . . . . o->advanced=False;
+ . . . . . . . . . o->name = "slowness_fix";
+ . . . . . . . . . o->group=N_("");
+ . . . . . . . . . o->subGroup=N_("");
+ . . . . . . . . . o->displayHints="";
+ . . . . . . . . . o->shortDesc = N_("Slowness Fix");
+ . . . . . . . . . o->longDesc = N_("Toggle this option if beryl is slow or choppy. "
+ . . . . . . . . . "On some cards, enabling it makes beryl smoother, and on "
+ . . . . . . . . . "others, disabling makes beryl smoother.");
+ . . . . . . . . . o->type = CompOptionTypeBool;
+ . . . . . . . . . o->value.b = TRUE;*/
+ . . . . . . . . .
+ 8 2 2 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_SYNC_TO_VBLANK];
+ 4 0 0 2 0 0 2 0 0 o->advanced = False;
+ 4 0 0 2 0 0 2 1 0 o->name = "sync_to_vblank";
+ 4 0 0 2 0 0 2 0 0 o->group = N_("Main");
+ 4 0 0 2 0 0 2 1 1 o->subGroup = N_("");
+ 4 2 2 2 0 0 2 0 0 o->displayHints = "";
+ 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Sync To VBlank");
+ 4 0 0 2 0 0 2 0 0 o->longDesc = N_("Only perform screen updates during vertical "
+ . . . . . . . . . "blanking period");
+ 4 0 0 2 0 0 2 0 0 o->type = CompOptionTypeBool;
+ 4 0 0 2 0 0 2 0 0 o->value.b = SYNC_TO_VBLANK_DEFAULT;
+ . . . . . . . . .
+ 8 2 2 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_NUMBER_OF_DESKTOPS];
+ 4 0 0 2 0 0 2 2 1 o->advanced = False;
+ 4 0 0 2 0 0 2 0 0 o->name = "number_of_desktops";
+ 4 0 0 2 0 0 2 1 1 o->group = N_("Main");
+ 4 0 0 2 0 0 2 0 0 o->subGroup = N_("");
+ 4 2 2 2 0 0 2 0 0 o->displayHints = "";
+ 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Number of Desktops");
+ 4 0 0 2 0 0 2 0 0 o->longDesc = N_("Number of virtual desktops");
+ 4 0 0 2 0 0 2 1 0 o->type = CompOptionTypeInt;
+ 4 0 0 2 0 0 2 0 0 o->value.i = SCREEN_NUMBER_OF_DESKTOPS_DEFAULT;
+ 4 2 2 2 0 0 2 0 0 o->rest.i.min = SCREEN_NUMBER_OF_DESKTOPS_MIN;
+ 4 0 0 2 0 0 2 0 0 o->rest.i.max = SCREEN_NUMBER_OF_DESKTOPS_MAX;
+ . . . . . . . . .
+ 8 0 0 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_CUSTOM_OUTPUT_GRID];
+ 4 0 0 2 0 0 2 2 1 o->advanced = False;
+ 4 0 0 2 0 0 2 0 0 o->name = "custom_output_grid";
+ 4 2 2 2 0 0 2 1 1 o->group = N_("Main");
+ 4 0 0 2 0 0 2 0 0 o->subGroup = N_("");
+ 4 0 0 2 0 0 2 1 0 o->displayHints = "";
+ 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Custom Output Grid");
+ 4 0 0 2 0 0 2 0 0 o->longDesc = N_("Use custom output grid instead of Xinerama info.");
+ 4 0 0 2 0 0 2 0 0 o->type = CompOptionTypeBool;
+ 4 2 2 2 0 0 2 0 0 o->value.b = FALSE;
+ . . . . . . . . .
+ 8 0 0 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_OUTPUT_GRID_ROWS];
+ 4 0 0 2 0 0 2 2 1 o->advanced = False;
+ 4 0 0 2 0 0 2 1 1 o->name = "output_grid_rows";
+ 4 2 2 2 0 0 2 0 0 o->group = N_("Main");
+ 4 0 0 2 0 0 2 1 0 o->subGroup = N_("");
+ 4 0 0 2 0 0 2 0 0 o->displayHints = "";
+ 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Output grid rows");
+ 4 0 0 2 0 0 2 0 0 o->longDesc = N_("Number of rows in the custom output grid.");
+ 4 0 0 2 0 0 2 0 0 o->type = CompOptionTypeInt;
+ 4 2 2 2 0 0 2 0 0 o->value.i = 1;
+ 4 0 0 2 0 0 2 1 1 o->rest.i.min = 1;
+ 4 0 0 2 0 0 2 0 0 o->rest.i.max = 99;
+ . . . . . . . . .
+ 8 0 0 2 0 0 2 0 0 o = &screen->opt[COMP_SCREEN_OPTION_OUTPUT_GRID_COLS];
+ 4 2 2 2 0 0 2 0 0 o->advanced = False;
+ 4 0 0 2 0 0 2 0 0 o->name = "output_grid_cols";
+ 4 0 0 2 0 0 2 1 0 o->group = N_("Main");
+ 4 0 0 2 0 0 2 0 0 o->subGroup = N_("");
+ 4 0 0 2 0 0 2 0 0 o->displayHints = "";
+ 4 0 0 2 0 0 2 0 0 o->shortDesc = N_("Output grid columns");
+ 4 2 2 2 0 0 2 0 0 o->longDesc = N_("Number of columns in the custom output grid.");
+ 4 0 0 2 0 0 2 0 0 o->type = CompOptionTypeInt;
+ 4 0 0 2 0 0 2 1 1 o->value.i = 2;
+ 4 0 0 2 0 0 2 0 0 o->rest.i.min = 1;
+ 4 0 0 2 0 0 2 0 0 o->rest.i.max = 99;
+ 4 0 0 4 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . CompOption *compGetScreenOptions(CompScreen * screen, int *count)
+ 8 2 1 0 0 0 6 0 0 {
+ 4 0 0 2 0 0 2 1 0 *count = NUM_OPTIONS(screen);
+ 4 0 0 2 0 0 0 0 0 return screen->opt;
+ 4 0 0 4 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . CompOption *compGetOptions(int *count)
+ 4 1 1 0 0 0 2 0 0 {
+ . . . . . . . . . static CompScreen screen;
+ . . . . . . . . .
+ 2 0 0 0 0 0 1 0 0 compScreenInitOptions(&screen);
+ 3 0 0 1 0 0 1 0 0 return compGetScreenOptions(&screen, count);
+ 2 0 0 2 0 0 0 0 0 }
+
+--------------------------------------------------------------------------------
+-- User-annotated source: action.c
+--------------------------------------------------------------------------------
+ No information has been collected for action.c
+
+--------------------------------------------------------------------------------
+-- User-annotated source: plugin.c
+--------------------------------------------------------------------------------
+ Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw
+
+-- line 44 ----------------------------------------
+ . . . . . . . . .
+ . . . . . . . . . #if 0
+ . . . . . . . . . #define pr_debug_verbose(a, b...) do { fprintf(stderr, a, ##b); } while(0)
+ . . . . . . . . . #else
+ . . . . . . . . . #define pr_debug_verbose(a, b...) do { } while(0)
+ . . . . . . . . . #endif
+ . . . . . . . . .
+ . . . . . . . . . static Bool dlloaderLoadPlugin(CompPlugin * p, char *path, char *name)
+ 204 2 1 0 0 0 136 0 0 {
+ . . . . . . . . . char *file;
+ . . . . . . . . . void *dlhand;
+ . . . . . . . . .
+ 1,909 23 2 1,229 18 0 170 0 0 file = malloc((path ? strlen(path) : 0) + strlen(name) + 8);
+ 68 0 0 34 0 0 0 0 0 if (!file)
+ . . . . . . . . . return FALSE;
+ . . . . . . . . .
+ 68 17 1 34 0 0 0 0 0 if (path)
+ 238 0 0 102 0 0 34 0 0 sprintf(file, "%s/lib%s.so", path, name);
+ . . . . . . . . . else
+ . . . . . . . . . sprintf(file, "lib%s.so", name);
+ . . . . . . . . .
+ 136 35 1 34 0 0 68 32 0 dlhand = dlopen(file, RTLD_LAZY);
+ 68 0 0 34 0 0 0 0 0 if (dlhand)
+ . . . . . . . . . {
+ . . . . . . . . . PluginGetInfoProc getInfo;
+ . . . . . . . . . char *error;
+ . . . . . . . . .
+ 17 0 0 0 0 0 17 0 0 dlerror();
+ . . . . . . . . .
+ 68 0 0 17 0 0 34 0 0 getInfo = (PluginGetInfoProc) dlsym(dlhand, "getCompPluginInfo");
+ . . . . . . . . .
+ 34 0 0 0 0 0 34 0 0 error = dlerror();
+ 34 0 0 17 0 0 0 0 0 if (error)
+ . . . . . . . . . {
+ . . . . . . . . . fprintf(stderr, "%s: dlsym: %s\n", programName, error);
+ . . . . . . . . .
+ . . . . . . . . . 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_VERT:
+ . . . . . . . . . case COMP_DISPLAY_OPTION_TOGGLE_WINDOW_SHADED:
+ . . . . . . . . . case COMP_DISPLAY_OPTION_TOGGLE_WINDOW_FULLSCREEN:
+ . . . . . . . . . case COMP_DISPLAY_OPTION_RAISE_WINDOW:
+ 228 76 2 114 0 0 38 0 0 if (setDisplayAction(display, o, value))
+ . . . . . . . . . return TRUE;
+ . . . . . . . . . break;
+ . . . . . . . . . case COMP_DISPLAY_OPTION_AUDIBLE_BELL:
+ 5 1 0 2 0 0 1 0 0 if (compSetBoolOption(o, value))
+ . . . . . . . . . {
+ . . . . . . . . . setAudibleBell(display, o->value.b);
+ . . . . . . . . . return TRUE;
+ . . . . . . . . . }
+ . . . . . . . . . break;
+ . . . . . . . . . case COMP_DISPLAY_OPTION_DIM_DEAD:
+ 5 1 1 2 0 0 1 0 0 if (compSetBoolOption(o, value))
+ . . . . . . . . . {
+ . . . . . . . . . Bool b = o->value.b;
+ . . . . . . . . . CompScreen *s;
+ . . . . . . . . .
+ . . . . . . . . . for (s = display->screens; s; s = s->next)
+ . . . . . . . . . {
+ . . . . . . . . . CompWindow *w;
+ . . . . . . . . .
+-- line 907 ----------------------------------------
+-- line 924 ----------------------------------------
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . . default:
+ . . . . . . . . . break;
+ . . . . . . . . . }
+ . . . . . . . . .
+ . . . . . . . . .
+ 124 62 1 62 0 0 62 0 0 return FALSE;
+ 124 0 0 124 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . static Bool
+ . . . . . . . . . setDisplayOptionForPlugin(CompDisplay * display,
+ . . . . . . . . . char *plugin, char *name, CompOptionValue * value)
+ . . . . . . . . . {
+ . . . . . . . . . gboolean retval = FALSE;
+ . . . . . . . . . CompPlugin *p;
+ . . . . . . . . .
+-- line 941 ----------------------------------------
+-- line 948 ----------------------------------------
+ . . . . . . . . . beryl_settings_context_comp_set_option_value(display->context,plugin,name,FALSE,value);
+ . . . . . . . . . beryl_settings_context_write(display->context);
+ . . . . . . . . . }
+ . . . . . . . . .
+ . . . . . . . . . return retval;
+ . . . . . . . . . }
+ . . . . . . . . .
+ . . . . . . . . . static void addTimeout(CompTimeout * timeout)
+ 15 5 3 0 0 0 10 0 0 {
+ 5 5 3 0 0 0 5 0 0 CompTimeout *p = 0, *t;
+ . . . . . . . . .
+ 25 0 0 10 0 0 5 0 0 for (t = timeouts; t; t = t->next)
+ . . . . . . . . . {
+ . . . . . . . . . if (timeout->time < t->left)
+ . . . . . . . . . break;
+ . . . . . . . . .
+ . . . . . . . . . p = t;
+ . . . . . . . . . }
+ . . . . . . . . .
+ 15 4 2 10 0 0 5 0 0 timeout->next = t;
+ 20 0 0 15 0 0 5 0 0 timeout->left = timeout->time;
+ . . . . . . . . .
+ 10 0 0 5 0 0 0 0 0 if (p)
+ . . . . . . . . . p->next = timeout;
+ . . . . . . . . . else
+ 10 0 0 5 0 0 5 0 0 timeouts = timeout;
+ 10 0 0 10 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . CompTimeoutHandle
+ . . . . . . . . . compAddTimeout(int time, CallBackProc callBack, void *closure)
+ 6 2 2 0 0 0 4 0 0 {
+ . . . . . . . . . CompTimeout *timeout;
+ . . . . . . . . .
+ 3 0 0 0 0 0 2 0 0 timeout = malloc(sizeof(CompTimeout));
+ 2 0 0 1 0 0 0 0 0 if (!timeout)
+ . . . . . . . . . return 0;
+ . . . . . . . . .
+ 3 0 0 2 0 0 1 0 0 timeout->time = time;
+ 3 0 0 2 0 0 1 0 0 timeout->callBack = callBack;
+ 3 1 1 2 0 0 1 0 0 timeout->closure = closure;
+ 5 0 0 2 1 0 2 0 0 timeout->handle = lastTimeoutHandle++;
+ . . . . . . . . .
+ 3 0 0 1 0 0 0 0 0 if (lastTimeoutHandle == MAXSHORT)
+ . . . . . . . . . lastTimeoutHandle = 1;
+ . . . . . . . . .
+ 3 1 1 1 1 1 0 0 0 if (!timeouts)
+ 3 0 0 0 0 0 1 0 0 gettimeofday(&lastTimeout, 0);
+ . . . . . . . . .
+ 2 0 0 1 0 0 1 0 0 addTimeout(timeout);
+ . . . . . . . . .
+ 4 0 0 3 0 0 1 0 0 return timeout->handle;
+ 2 0 0 2 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . void compRemoveTimeout(CompTimeoutHandle handle)
+ . . . . . . . . . {
+ . . . . . . . . . CompTimeout *p = 0, *t;
+ . . . . . . . . .
+ . . . . . . . . . for (t = timeouts; t; t = t->next)
+ . . . . . . . . . {
+ . . . . . . . . . if (t->handle == handle)
+-- line 1007 ----------------------------------------
+-- line 1018 ----------------------------------------
+ . . . . . . . . . timeouts = t->next;
+ . . . . . . . . .
+ . . . . . . . . . free(t);
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . .
+ . . . . . . . . . CompWatchFdHandle
+ . . . . . . . . . compAddWatchFd(int fd, short int events, CallBackProc callBack, void *closure)
+ 7 1 1 0 0 0 5 0 0 {
+ . . . . . . . . . CompWatchFd *watchFd;
+ . . . . . . . . .
+ 3 1 1 0 0 0 2 0 0 watchFd = malloc(sizeof(CompWatchFd));
+ 2 0 0 1 0 0 0 0 0 if (!watchFd)
+ . . . . . . . . . return 0;
+ . . . . . . . . .
+ 3 0 0 2 0 0 1 0 0 watchFd->fd = fd;
+ 3 0 0 2 0 0 1 0 0 watchFd->callBack = callBack;
+ 3 1 1 2 0 0 1 0 0 watchFd->closure = closure;
+ 5 0 0 2 1 0 2 0 0 watchFd->handle = lastWatchFdHandle++;
+ . . . . . . . . .
+ 3 0 0 1 0 0 0 0 0 if (lastWatchFdHandle == MAXSHORT)
+ . . . . . . . . . lastWatchFdHandle = 1;
+ . . . . . . . . .
+ 3 0 0 2 0 0 1 0 0 watchFd->next = watchFds;
+ 2 1 1 1 0 0 1 0 0 watchFds = watchFd;
+ . . . . . . . . .
+ 3 0 0 1 0 0 1 0 0 nWatchFds++;
+ . . . . . . . . .
+ 6 0 0 2 0 0 2 0 0 watchPollFds = realloc(watchPollFds, nWatchFds * sizeof(struct pollfd));
+ . . . . . . . . .
+ 9 1 1 3 0 0 1 0 0 watchPollFds[nWatchFds - 1].fd = fd;
+ 9 1 1 3 0 0 1 0 0 watchPollFds[nWatchFds - 1].events = events;
+ . . . . . . . . .
+ 4 0 0 3 0 0 1 0 0 return watchFd->handle;
+ 2 0 0 2 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . void compRemoveWatchFd(CompWatchFdHandle handle)
+ . . . . . . . . . {
+ . . . . . . . . . CompWatchFd *p = 0, *w;
+ . . . . . . . . . int i;
+ . . . . . . . . .
+ . . . . . . . . . for (i = nWatchFds - 1, w = watchFds; w; i--, w = w->next)
+ . . . . . . . . . {
+-- line 1060 ----------------------------------------
+-- line 1086 ----------------------------------------
+ . . . . . . . . . ((((tv1)->tv_sec - (tv2)->tv_sec) * 1000000) + \
+ . . . . . . . . . ((tv1)->tv_usec - (tv2)->tv_usec)) / 1000 : \
+ . . . . . . . . . ((((tv1)->tv_sec - 1 - (tv2)->tv_sec) * 1000000) + \
+ . . . . . . . . . (1000000 + (tv1)->tv_usec - (tv2)->tv_usec)) / 1000
+ . . . . . . . . .
+ . . . . . . . . . static int
+ . . . . . . . . . getTimeToNextRedraw(CompScreen * s,
+ . . . . . . . . . struct timeval *tv, struct timeval *lastTv, Bool idle)
+ 2,541 325 2 0 0 0 2,178 0 0 {
+ . . . . . . . . . int diff, next;
+ . . . . . . . . .
+ 9,801 651 4 3,267 21 0 1,089 0 0 diff = TIMEVALDIFF(tv, lastTv);
+ . . . . . . . . .
+ . . . . . . . . . /* handle clock rollback */
+ 726 0 0 363 0 0 0 0 0 if (diff < 0)
+ . . . . . . . . . diff = 0;
+ . . . . . . . . .
+ 2,115 0 0 1,057 18 0 0 0 0 if (idle ||
+ . . . . . . . . . (s->getVideoSync
+ . . . . . . . . . && s->opt[COMP_SCREEN_OPTION_SYNC_TO_VBLANK].value.b))
+ . . . . . . . . . {
+ 64 16 2 32 0 0 0 0 0 if (s->timeMult > 1)
+ . . . . . . . . . {
+ 2 0 0 1 0 0 1 0 0 s->frameStatus = -1;
+ 4 0 0 3 0 0 1 0 0 s->redrawTime = s->optimalRedrawTime;
+ 5 1 0 3 0 0 1 0 0 s->timeMult--;
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . . else
+ . . . . . . . . . {
+ 1,388 311 1 1,041 0 0 0 0 0 if (diff > s->redrawTime)
+ . . . . . . . . . {
+ 208 0 0 104 0 0 0 0 0 if (s->frameStatus > 0)
+ 8 0 0 4 0 0 4 0 0 s->frameStatus = 0;
+ . . . . . . . . .
+ 364 52 1 208 0 0 52 0 0 next = s->optimalRedrawTime * (s->timeMult + 1);
+ 156 0 0 104 0 0 0 0 0 if (diff > next)
+ . . . . . . . . . {
+ 55 0 0 33 0 0 11 0 0 s->frameStatus--;
+ 44 11 1 22 0 0 0 0 0 if (s->frameStatus < -1)
+ . . . . . . . . . {
+ 25 0 0 15 0 0 5 0 0 s->timeMult++;
+ 30 0 0 15 0 0 10 0 0 s->redrawTime = diff = next;
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . . }
+ 1,180 534 1 885 0 0 0 0 0 else if (diff < s->redrawTime)
+ . . . . . . . . . {
+ 1,140 0 0 570 0 0 0 0 0 if (s->frameStatus < 0)
+ 14 0 0 7 0 0 7 0 0 s->frameStatus = 0;
+ . . . . . . . . .
+ 1,140 0 0 570 0 0 0 0 0 if (s->timeMult > 1)
+ . . . . . . . . . {
+ 1,148 142 1 656 0 0 164 0 0 next = s->optimalRedrawTime * (s->timeMult - 1);
+ 492 0 0 328 0 0 0 0 0 if (diff < next)
+ . . . . . . . . . {
+ 100 0 0 60 0 0 20 0 0 s->frameStatus++;
+ 80 19 0 40 0 0 0 0 0 if (s->frameStatus > 4)
+ . . . . . . . . . {
+ 20 0 0 12 0 0 4 0 0 s->timeMult--;
+ 12 0 0 8 0 0 4 0 0 s->redrawTime = next;
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . .
+ 1,452 319 2 1,089 0 0 0 0 0 if (diff > s->redrawTime)
+ 126 0 0 0 0 0 63 0 0 return 0;
+ . . . . . . . . .
+ 1,863 325 2 1,263 0 0 300 0 0 return s->redrawTime - diff;
+ 1,089 0 0 1,089 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . static const int maskTable[] = {
+ . . . . . . . . . ShiftMask, LockMask, ControlMask, Mod1Mask,
+ . . . . . . . . . Mod2Mask, Mod3Mask, Mod4Mask, Mod5Mask
+ . . . . . . . . . };
+ . . . . . . . . . static const int maskTableSize = sizeof(maskTable) / sizeof(int);
+ . . . . . . . . .
+ . . . . . . . . . void updateModifierMappings(CompDisplay * d)
+ 4 1 1 0 0 0 2 0 0 {
+ . . . . . . . . . unsigned int modMask[CompModNum];
+ 3 0 0 0 0 0 3 0 0 int i, minKeycode = 0, maxKeycode = 0, keysymsPerKeycode = 0;
+ . . . . . . . . . KeySym *keyboard_sym;
+ . . . . . . . . .
+ 25 1 1 15 0 0 1 0 0 for (i = 0; i < CompModNum; i++)
+ 21 0 0 7 0 0 7 0 0 modMask[i] = 0;
+ . . . . . . . . .
+ 5 0 0 2 1 0 1 0 0 XDisplayKeycodes(d->display, &minKeycode, &maxKeycode);
+ 13 1 1 5 0 0 2 0 0 keyboard_sym =
+ . . . . . . . . . XGetKeyboardMapping(d->display, minKeycode,
+ . . . . . . . . . (maxKeycode - minKeycode + 1),
+ . . . . . . . . . &keysymsPerKeycode);
+ . . . . . . . . .
+ 2 0 0 1 0 0 0 0 0 if (keyboard_sym)
+ 2 0 0 1 0 0 1 0 0 XFree(keyboard_sym);
+ . . . . . . . . .
+ 4 0 0 2 1 0 0 0 0 if (d->modMap)
+ . . . . . . . . . XFreeModifiermap(d->modMap);
+ . . . . . . . . .
+ 6 1 1 3 1 0 2 0 0 d->modMap = XGetModifierMapping(d->display);
+ 9 1 1 5 0 0 0 0 0 if (d->modMap && d->modMap->max_keypermod > 0)
+ . . . . . . . . . {
+ 1 0 0 0 0 0 1 0 0 KeySym keysym = 0;
+ . . . . . . . . . int index, size, mask;
+ . . . . . . . . .
+ 6 0 0 4 1 1 1 1 0 size = maskTableSize * d->modMap->max_keypermod;
+ . . . . . . . . .
+ 101 1 1 74 0 0 1 0 0 for (i = 0; i < size; i++)
+ . . . . . . . . . {
+ 216 1 1 120 0 0 0 0 0 if (!d->modMap->modifiermap[i])
+ . . . . . . . . . continue;
+ . . . . . . . . .
+ 14 0 0 0 0 0 14 0 0 index = 0;
+ . . . . . . . . . do
+ . . . . . . . . . {
+ 270 1 1 162 1 0 36 1 0 keysym = XKeycodeToKeysym(d->display,
+ . . . . . . . . . d->modMap->modifiermap[i], index++);
+ . . . . . . . . . }
+ 48 0 0 26 0 0 0 0 0 while (!keysym && index < keysymsPerKeycode);
+ . . . . . . . . .
+ 28 0 0 14 0 0 0 0 0 if (keysym)
+ . . . . . . . . . {
+ 154 1 1 70 4 1 14 0 0 mask = maskTable[i / d->modMap->max_keypermod];
+ . . . . . . . . .
+ 54 0 0 26 0 0 0 0 0 if (keysym == XK_Alt_L || keysym == XK_Alt_R)
+ . . . . . . . . . {
+ 8 0 0 4 0 0 2 0 0 modMask[CompModAlt] |= mask;
+ . . . . . . . . . }
+ 47 1 1 23 0 0 0 0 0 else if (keysym == XK_Meta_L || keysym == XK_Meta_R)
+ . . . . . . . . . {
+ 4 0 0 2 0 0 1 0 0 modMask[CompModMeta] |= mask;
+ . . . . . . . . . }
+ 43 0 0 21 0 0 0 0 0 else if (keysym == XK_Super_L || keysym == XK_Super_R)
+ . . . . . . . . . {
+ 4 0 0 2 0 0 1 0 0 modMask[CompModSuper] |= mask;
+ . . . . . . . . . }
+ 39 1 1 19 0 0 0 0 0 else if (keysym == XK_Hyper_L || keysym == XK_Hyper_R)
+ . . . . . . . . . {
+ 4 0 0 2 0 0 1 0 0 modMask[CompModHyper] |= mask;
+ . . . . . . . . . }
+ 18 0 0 9 0 0 0 0 0 else if (keysym == XK_Mode_switch)
+ . . . . . . . . . {
+ 5 0 0 2 0 0 1 0 0 modMask[CompModModeSwitch] |= mask;
+ . . . . . . . . . }
+ 16 0 0 8 0 0 0 0 0 else if (keysym == XK_Scroll_Lock)
+ . . . . . . . . . {
+ . . . . . . . . . modMask[CompModScrollLock] |= mask;
+ . . . . . . . . . }
+ 16 0 0 8 0 0 0 0 0 else if (keysym == XK_Num_Lock)
+ . . . . . . . . . {
+ 4 0 0 2 0 0 1 0 0 modMask[CompModNumLock] |= mask;
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . .
+ 25 1 1 15 0 0 1 0 0 for (i = 0; i < CompModNum; i++)
+ . . . . . . . . . {
+ 35 0 0 14 0 0 0 0 0 if (!modMask[i])
+ 3 0 0 1 0 0 1 0 0 modMask[i] = CompNoMask;
+ . . . . . . . . . }
+ . . . . . . . . .
+ 19 1 1 6 0 0 3 0 0 if (memcmp(modMask, d->modMask, sizeof(modMask)))
+ . . . . . . . . . {
+ . . . . . . . . . CompScreen *s;
+ . . . . . . . . .
+ 11 1 1 5 0 0 4 0 0 memcpy(d->modMask, modMask, sizeof(modMask));
+ . . . . . . . . .
+ 8 0 0 3 0 0 1 0 0 d->ignoredModMask = LockMask |
+ . . . . . . . . . (modMask[CompModNumLock] & ~CompNoMask) |
+ . . . . . . . . . (modMask[CompModScrollLock] & ~CompNoMask);
+ . . . . . . . . .
+ 6 1 1 3 0 0 1 0 0 for (s = d->screens; s; s = s->next)
+ . . . . . . . . . updatePassiveGrabs(s);
+ . . . . . . . . . }
+ . . . . . . . . . }
+ 2 0 0 2 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . unsigned int virtualToRealModMask(CompDisplay * d, unsigned int modMask)
+ 5,548 44 4 0 0 0 4,161 17 1 {
+ . . . . . . . . . int i;
+ . . . . . . . . .
+34,675 54 5 20,805 0 0 1,387 0 0 for (i = 0; i < CompModNum; i++)
+ . . . . . . . . . {
+58,254 0 0 29,127 58 3 0 0 0 if (modMask & virtualModMask[i])
+ . . . . . . . . . {
+ 6,264 36 3 3,132 25 2 0 0 0 if (d->modMask[i] == CompNoMask)
+ . . . . . . . . . return 0xFFFFFFFF; // should help on no-super-key type situations
+ 5,220 0 0 3,132 0 0 0 0 0 modMask &= ~virtualModMask[i];
+ 5,220 0 0 4,176 0 0 0 0 0 modMask |= d->modMask[i];
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . .
+ 4,161 0 0 2,774 0 0 1,387 0 0 return modMask;
+ 2,774 0 0 2,774 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . unsigned int keycodeToModifiers(CompDisplay * d, int keycode)
+ . . . . . . . . . {
+ . . . . . . . . . unsigned int mods = 0;
+ . . . . . . . . . int mod, k;
+ . . . . . . . . .
+ . . . . . . . . . for (mod = 0; mod < maskTableSize; mod++)
+ . . . . . . . . . {
+-- line 1288 ----------------------------------------
+-- line 1293 ----------------------------------------
+ . . . . . . . . . mods |= maskTable[mod];
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . .
+ . . . . . . . . . return mods;
+ . . . . . . . . . }
+ . . . . . . . . .
+ . . . . . . . . . static int doPoll(int timeout)
+ 1,276 275 1 0 0 0 638 0 0 {
+ . . . . . . . . . int rv;
+ . . . . . . . . .
+ 1,914 275 1 957 0 0 638 0 0 rv = poll(watchPollFds, nWatchFds, timeout);
+ 638 0 0 319 0 0 0 0 0 if (rv)
+ . . . . . . . . . {
+ . . . . . . . . . CompWatchFd *w;
+ . . . . . . . . . int i;
+ . . . . . . . . .
+ 994 49 0 497 53 1 213 0 0 for (i = nWatchFds - 1, w = watchFds; w; i--, w = w->next)
+ . . . . . . . . . {
+ 923 0 0 355 105 2 0 0 0 if (watchPollFds[i].revents != 0 && w->callBack)
+ . . . . . . . . . w->callBack(w->closure);
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . .
+ 319 274 1 319 0 0 0 0 0 return rv;
+ 638 0 0 638 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . static void handleTimeouts(struct timeval *tv)
+ 1,795 54 2 0 0 0 1,077 0 0 {
+ . . . . . . . . . CompTimeout *t;
+ . . . . . . . . . int timeDiff;
+ . . . . . . . . .
+ 8,975 203 2 2,513 27 0 1,077 0 0 timeDiff = TIMEVALDIFF(tv, &lastTimeout);
+ . . . . . . . . .
+ . . . . . . . . . /* handle clock rollback */
+ 718 0 0 359 0 0 0 0 0 if (timeDiff < 0)
+ . . . . . . . . . timeDiff = 0;
+ . . . . . . . . .
+ 3,590 209 2 1,795 0 0 718 0 0 for (t = timeouts; t; t = t->next)
+ 2,154 0 0 1,436 319 2 359 0 0 t->left -= timeDiff;
+ . . . . . . . . .
+ 2,900 333 2 1,089 0 0 0 0 0 while (timeouts && timeouts->left <= 0)
+ . . . . . . . . . {
+ 8 4 2 4 0 0 4 0 0 t = timeouts;
+ 28 0 0 16 0 0 4 0 0 if ((*t->callBack) (t->closure))
+ . . . . . . . . . {
+ 12 0 0 8 0 0 4 0 0 timeouts = t->next;
+ 12 0 0 4 0 0 4 0 0 addTimeout(t);
+ . . . . . . . . . }
+ . . . . . . . . . else
+ . . . . . . . . . {
+ . . . . . . . . . timeouts = t->next;
+ . . . . . . . . . free(t);
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . .
+ 1,795 0 0 1,077 0 0 718 4 0 lastTimeout = *tv;
+ 1,436 10 1 1,077 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . static void waitForVideoSync(CompScreen * s)
+ 1,296 322 1 0 0 0 648 0 0 {
+ . . . . . . . . . unsigned int sync;
+ . . . . . . . . .
+ 1,296 0 0 648 324 1 0 0 0 if (!s->opt[COMP_SCREEN_OPTION_SYNC_TO_VBLANK].value.b)
+ . . . . . . . . . return;
+ . . . . . . . . .
+ 972 0 0 324 324 0 0 0 0 if (disable_vsync)
+ . . . . . . . . . return;
+ . . . . . . . . .
+ . . . . . . . . . /* we currently can't handle sync to vblank when we have more than one
+ . . . . . . . . . output device */
+ 1,296 0 0 648 0 0 0 0 0 if (s->nOutputDev > 1)
+ . . . . . . . . . return;
+ . . . . . . . . .
+ 1,296 324 0 648 324 0 0 0 0 if (s->getVideoSync)
+ . . . . . . . . . {
+ . . . . . . . . . glFlush();
+ . . . . . . . . .
+ . . . . . . . . . (*s->getVideoSync) (&sync);
+ . . . . . . . . . (*s->waitVideoSync) (2, (sync + 1) % 2, &sync);
+ . . . . . . . . . }
+ 648 0 0 648 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . /* Sets up a projection matrix for global perspective
+ . . . . . . . . . * The M() stuff and the translation should be combined so we can store
+ . . . . . . . . . * the individual outputdev matrices instead of storing x,y,a,b,c,d...
+ . . . . . . . . . */
+ . . . . . . . . . static inline void
+ . . . . . . . . . frustum(GLfloat x, GLfloat y, GLfloat a, GLfloat b, GLfloat c, GLfloat d)
+ . . . . . . . . . {
+-- line 1382 ----------------------------------------
+-- line 1407 ----------------------------------------
+ . . . . . . . . .
+ . . . . . . . . . /* Calls frustum() for the current output dev, call glFrustum() if
+ . . . . . . . . . * we're doing local perspective, calculate multiPerspective[] if
+ . . . . . . . . . * needed.
+ . . . . . . . . . */
+ . . . . . . . . . static void
+ . . . . . . . . . perspective(GLfloat fovy, GLfloat aspect, GLfloat zNear, GLfloat zFar,
+ . . . . . . . . . int output, CompScreen * s)
+ 9 2 2 0 0 0 7 1 1 {
+ . . . . . . . . . GLfloat xmin, xmax, ymin, ymax;
+ . . . . . . . . . GLfloat x, y, a, b, c, d;
+ . . . . . . . . . short int head;
+ . . . . . . . . .
+ 2 0 0 0 0 0 1 0 0 glMatrixMode(GL_PROJECTION);
+ 1 0 0 0 0 0 1 0 0 glLoadIdentity();
+ . . . . . . . . .
+ 4 1 1 2 0 0 0 0 0 if (s->projectionStyle == COMP_PERSPECTIVE_GLOBAL_REAL)
+ . . . . . . . . . {
+ . . . . . . . . . frustum(multiPerspective[output].x,
+ . . . . . . . . . multiPerspective[output].y,
+ . . . . . . . . . multiPerspective[output].a,
+ . . . . . . . . . multiPerspective[output].b,
+ . . . . . . . . . multiPerspective[output].c, multiPerspective[output].d);
+ . . . . . . . . . glMatrixMode(GL_MODELVIEW);
+ . . . . . . . . . return;
+ . . . . . . . . . }
+ . . . . . . . . .
+ 13 2 2 5 1 1 3 0 0 ymax = zNear * tan(fovy * M_PI / 360.0);
+ 4 0 0 2 0 0 1 0 0 ymin = -ymax;
+ 3 1 1 2 0 0 1 0 0 xmin = ymin * aspect;
+ 3 0 0 2 0 0 1 0 0 xmax = ymax * aspect;
+ 4 0 0 2 0 0 0 0 0 if (s->projectionStyle == COMP_PERSPECTIVE_LOCAL)
+ . . . . . . . . . {
+ 13 1 1 6 0 0 1 0 0 glFrustum(xmin, xmax, ymin, ymax, zNear, zFar);
+ 2 0 0 1 0 0 1 0 0 s->projectionStyle = COMP_PERSPECTIVE_LOCAL_REAL;
+ 2 0 0 0 0 0 1 0 0 glMatrixMode(GL_MODELVIEW);
+ 1 0 0 0 0 0 0 0 0 return;
+ . . . . . . . . . }
+ . . . . . . . . .
+ . . . . . . . . . for (head = 0; head < s->nOutputDev; head++)
+ . . . . . . . . . {
+ . . . . . . . . . x = (2.0 * zNear) / (xmax - xmin);
+ . . . . . . . . . y = (2.0 * zNear) / (ymax - ymin);
+ . . . . . . . . .
+ . . . . . . . . .
+-- line 1451 ----------------------------------------
+-- line 1469 ----------------------------------------
+ . . . . . . . . . }
+ . . . . . . . . . frustum(multiPerspective[output].x,
+ . . . . . . . . . multiPerspective[output].y,
+ . . . . . . . . . multiPerspective[output].a,
+ . . . . . . . . . multiPerspective[output].b,
+ . . . . . . . . . multiPerspective[output].c, multiPerspective[output].d);
+ . . . . . . . . . glMatrixMode(GL_MODELVIEW);
+ . . . . . . . . . s->projectionStyle = COMP_PERSPECTIVE_GLOBAL_REAL;
+ 2 1 1 2 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . int eventLoop(void)
+ 7 2 2 1 0 0 3 0 0 {
+ . . . . . . . . . XEvent event;
+ . . . . . . . . . int timeDiff, i;
+ . . . . . . . . . struct timeval tv;
+ . . . . . . . . . Region tmpRegion, outputRegion;
+ 2 0 0 1 1 0 1 1 0 CompDisplay *display = compDisplays;
+ . . . . . . . . . CompScreen *s;
+ 1 0 0 0 0 0 1 1 1 int time, timeToNextRedraw = 0;
+ . . . . . . . . . CompWindow *w;
+ . . . . . . . . . unsigned int damageMask, mask;
+ . . . . . . . . .
+ 2 0 0 0 0 0 2 0 0 tmpRegion = XCreateRegion();
+ 2 0 0 0 0 0 2 0 0 outputRegion = XCreateRegion();
+ 4 1 1 2 0 0 0 0 0 if (!tmpRegion || !outputRegion)
+ . . . . . . . . . {
+ . . . . . . . . . fprintf(stderr, "%s: Couldn't create temporary regions\n",
+ . . . . . . . . . programName);
+ . . . . . . . . . return 0;
+ . . . . . . . . . }
+ . . . . . . . . .
+ 8 1 1 3 2 0 1 0 0 compAddWatchFd(ConnectionNumber(display->display), POLLIN, NULL, NULL);
+ . . . . . . . . .
+ . . . . . . . . . for (;;)
+ . . . . . . . . . {
+ 1,588 326 1 794 328 1 0 0 0 if (display->dirtyPluginList)
+ 2 1 1 1 0 0 1 0 0 updatePlugins(display);
+ . . . . . . . . .
+ 1,191 327 2 397 265 0 0 0 0 if (restartSignal)
+ . . . . . . . . . {
+ . . . . . . . . . execvp(programName, programArgv);
+ . . . . . . . . . return 1;
+ . . . . . . . . . }
+ 1,191 0 0 397 325 1 0 0 0 else if (shutDown)
+ . . . . . . . . . {
+ . . . . . . . . . return 0;
+ . . . . . . . . . }
+ . . . . . . . . .
+34,785 331 2 13,914 28 1 6,957 0 0 while (XPending(display->display))
+ . . . . . . . . . {
+26,240 103 2 13,120 0 0 6,560 0 0 XNextEvent(display->display, &event);
+ . . . . . . . . .
+27,527 99 2 13,978 162 8 6,560 0 0 switch (event.type)
+ . . . . . . . . . {
+ . . . . . . . . . case ButtonPress:
+ . . . . . . . . . case ButtonRelease:
+ 6 0 0 4 0 0 2 0 0 display->pointerX = event.xbutton.x_root;
+ 6 0 0 4 0 0 2 0 0 display->pointerY = event.xbutton.y_root;
+ 2 0 0 0 0 0 0 0 0 break;
+ . . . . . . . . . case KeyPress:
+ . . . . . . . . . case KeyRelease:
+ 108 27 1 72 0 0 36 0 0 display->pointerX = event.xkey.x_root;
+ 108 0 0 72 0 0 36 0 0 display->pointerY = event.xkey.y_root;
+ 36 0 0 0 0 0 0 0 0 break;
+ . . . . . . . . . case MotionNotify:
+ 315 42 0 210 0 0 105 0 0 display->pointerX = event.xmotion.x_root;
+ 315 47 0 210 0 0 105 0 0 display->pointerY = event.xmotion.y_root;
+ 105 0 0 0 0 0 0 0 0 break;
+ . . . . . . . . . case EnterNotify:
+ . . . . . . . . . case LeaveNotify:
+ 18 6 1 12 0 0 6 0 0 display->pointerX = event.xcrossing.x_root;
+ 18 0 0 12 0 0 6 0 0 display->pointerY = event.xcrossing.y_root;
+ 6 0 0 0 0 0 0 0 0 break;
+ . . . . . . . . . case ClientMessage:
+ 30 4 0 18 3 1 0 0 0 if (event.xclient.message_type == display->xdndPositionAtom)
+ . . . . . . . . . {
+ . . . . . . . . . display->pointerX = event.xclient.data.l[2] >> 16;
+ . . . . . . . . . display->pointerY = event.xclient.data.l[2] & 0xffff;
+ . . . . . . . . . }
+ . . . . . . . . . default:
+ . . . . . . . . . break;
+ . . . . . . . . . }
+ . . . . . . . . .
+26,240 100 2 13,120 128 2 6,560 0 0 sn_display_process_event(display->snDisplay, &event);
+ . . . . . . . . .
+ 6,560 0 0 0 0 0 6,560 2 0 inHandleEvent = TRUE;
+ . . . . . . . . .
+32,800 0 0 19,680 2 0 6,560 0 0 (*display->handleEvent) (display, &event);
+ . . . . . . . . .
+ 6,560 5 0 0 0 0 6,560 102 0 inHandleEvent = FALSE;
+ . . . . . . . . .
+26,240 0 0 19,680 79 0 6,560 0 0 display->lastPointerX = display->pointerX;
+26,240 0 0 19,680 0 0 6,560 0 0 display->lastPointerY = display->pointerY;
+ . . . . . . . . . }
+ . . . . . . . . .
+ 4,367 328 2 2,382 0 0 794 41 1 for (s = display->screens; s; s = s->next)
+ . . . . . . . . . {
+ 1,588 0 0 794 26 0 0 0 0 if (s->damageMask)
+ . . . . . . . . . {
+ 1,089 0 0 363 0 0 363 0 0 finishScreenDrawing(s);
+ . . . . . . . . . }
+ . . . . . . . . . else
+ . . . . . . . . . {
+ 68 0 0 34 0 0 34 6 0 s->idle = TRUE;
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . .
+ 397 0 0 0 0 0 397 0 0 damageMask = 0;
+ 397 328 2 0 0 0 397 0 0 timeToNextRedraw = MAXSHORT;
+ . . . . . . . . .
+ 4,367 330 2 2,382 0 0 794 0 0 for (s = display->screens; s; s = s->next)
+ . . . . . . . . . {
+ 1,588 0 0 794 0 0 0 0 0 if (!s->damageMask)
+ . . . . . . . . . continue;
+ . . . . . . . . .
+ 726 0 0 363 0 0 0 0 0 if (!damageMask)
+ . . . . . . . . . {
+ 1,089 325 2 0 0 0 363 0 0 gettimeofday(&tv, 0);
+ 1,089 0 0 1,089 0 0 0 0 0 damageMask |= s->damageMask;
+ . . . . . . . . . }
+ . . . . . . . . .
+ 3,630 325 2 1,815 0 0 726 0 0 s->timeLeft =
+ . . . . . . . . . getTimeToNextRedraw(s, &tv, &s->lastRedraw, s->idle);
+ 1,452 0 0 1,089 0 0 0 0 0 if (s->timeLeft < timeToNextRedraw)
+ 1,089 0 0 726 0 0 363 0 0 timeToNextRedraw = s->timeLeft;
+ . . . . . . . . . }
+ . . . . . . . . .
+ 794 0 0 397 0 0 0 0 0 if (damageMask)
+ . . . . . . . . . {
+ 726 326 2 363 0 0 363 0 0 time = timeToNextRedraw;
+ 726 0 0 363 0 0 0 0 0 if (time)
+ 855 0 0 285 0 0 570 0 0 time = doPoll(time);
+ . . . . . . . . .
+ 726 0 0 363 0 0 0 0 0 if (time == 0)
+ . . . . . . . . . {
+ 975 0 0 0 0 0 325 0 0 gettimeofday(&tv, 0);
+ . . . . . . . . .
+ 975 325 2 325 0 0 0 0 0 if (timeouts)
+ 650 0 0 0 0 0 325 0 0 handleTimeouts(&tv);
+ . . . . . . . . .
+ 3,894 7 1 1,947 3 0 649 0 0 for (s = display->screens; s; s = s->next)
+ . . . . . . . . . {
+ 2,600 325 2 1,625 6 0 0 0 0 if (!s->damageMask || s->timeLeft > timeToNextRedraw)
+ . . . . . . . . . continue;
+ . . . . . . . . .
+ 650 0 0 325 0 0 325 0 0 targetScreen = s;
+ . . . . . . . . .
+ 8,125 650 4 2,275 0 0 975 0 0 timeDiff = TIMEVALDIFF(&tv, &s->lastRedraw);
+ . . . . . . . . .
+ . . . . . . . . . /* handle clock rollback */
+ 650 0 0 325 0 0 0 0 0 if (timeDiff < 0)
+ . . . . . . . . . timeDiff = 0;
+ . . . . . . . . .
+ 650 325 2 325 0 0 325 0 0 s->stencilRef = 0;
+ . . . . . . . . .
+ 650 0 0 325 0 0 325 0 0 makeScreenCurrent(s);
+ . . . . . . . . .
+ 1,300 0 0 650 0 0 0 0 0 if (s->slowAnimations)
+ . . . . . . . . . {
+ . . . . . . . . . (*s->
+ . . . . . . . . . preparePaintScreen) (s,
+ . . . . . . . . . s->
+ . . . . . . . . . idle
+ . . . . . . . . . ? 2
+ . . . . . . . . . :
+ . . . . . . . . . (timeDiff * 2) / s->redrawTime);
+ . . . . . . . . . }
+ . . . . . . . . . else
+ 3,932 650 3 2,616 37 0 975 0 0 (*s->
+ . . . . . . . . . preparePaintScreen) (s,
+ . . . . . . . . . s->
+ . . . . . . . . . idle
+ . . . . . . . . . ? s->redrawTime : timeDiff);
+ . . . . . . . . .
+ 325 1 1 0 0 0 325 4 0 IPCS_lock = TRUE;
+ . . . . . . . . . /* substract top most overlay window region */
+ 1,300 325 1 650 649 2 0 0 0 if (s->overlayWindowCount)
+ . . . . . . . . . {
+ . . . . . . . . . for (w = s->reverseWindows; w; w = w->prev)
+ . . . . . . . . . {
+ . . . . . . . . . if (w->destroyed || w->invisible)
+ . . . . . . . . . continue;
+ . . . . . . . . .
+ . . . . . . . . . if (!w->redirected)
+ . . . . . . . . . XSubtractRegion
+-- line 1653 ----------------------------------------
+-- line 1658 ----------------------------------------
+ . . . . . . . . .
+ . . . . . . . . . if (s->damageMask & COMP_SCREEN_DAMAGE_ALL_MASK)
+ . . . . . . . . . {
+ . . . . . . . . . s->damageMask &= ~COMP_SCREEN_DAMAGE_ALL_MASK;
+ . . . . . . . . . s->damageMask |= COMP_SCREEN_DAMAGE_REGION_MASK;
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . .
+ 1,625 325 1 650 323 0 0 0 0 if (s->damageMask & COMP_SCREEN_DAMAGE_REGION_MASK)
+ . . . . . . . . . {
+ 84 0 0 56 14 0 14 0 0 XIntersectRegion(s->damage, &s->region, tmpRegion);
+ . . . . . . . . .
+ 143 16 1 81 2 0 0 0 0 if (tmpRegion->numRects ==
+ . . . . . . . . . 1
+ . . . . . . . . . && tmpRegion->rects->
+ . . . . . . . . . x1 == 0
+ . . . . . . . . . && tmpRegion->rects->
+ . . . . . . . . . y1 == 0
+ . . . . . . . . . && tmpRegion->rects->
+ . . . . . . . . . x2 == s->width
+ . . . . . . . . . && tmpRegion->rects->y2 == s->height)
+ . . . . . . . . . damageScreen(s);
+ . . . . . . . . . }
+ . . . . . . . . .
+ 975 325 1 650 0 0 325 311 1 EMPTY_REGION(s->damage);
+ 975 0 0 650 0 0 325 0 0 mask = s->damageMask;
+ 650 0 0 325 0 0 325 0 0 s->damageMask = 0;
+ . . . . . . . . .
+ 3,570 336 2 2,271 324 0 325 0 0 for (i = 0; i < s->nOutputDev; i++)
+ . . . . . . . . . {
+ 650 0 0 325 0 0 325 325 1 targetScreen = s;
+ 650 0 0 325 0 0 325 0 0 targetOutput = i;
+ . . . . . . . . .
+ 1,300 0 0 650 5 0 0 0 0 if (s->projectionStyle != COMP_PERSPECTIVE_LOCAL_REAL)
+ 7 1 1 6 1 1 1 0 0 perspective(60.0f, 1.0f, 0.1f, 100.0f, i, s);
+ . . . . . . . . .
+ 1,300 324 0 650 0 0 0 0 0 if (s->nOutputDev > 1)
+ . . . . . . . . . {
+ . . . . . . . . . glViewport(s->
+ . . . . . . . . . outputDev
+ . . . . . . . . . [i].
+ . . . . . . . . . region.
+ . . . . . . . . . extents.
+ . . . . . . . . . x1,
+ . . . . . . . . . s->
+-- line 1702 ----------------------------------------
+-- line 1707 ----------------------------------------
+ . . . . . . . . . region.
+ . . . . . . . . . extents.
+ . . . . . . . . . y2,
+ . . . . . . . . . s->
+ . . . . . . . . . outputDev
+ . . . . . . . . . [i].width, s->outputDev[i].height);
+ . . . . . . . . . }
+ . . . . . . . . .
+ 1,300 325 1 325 0 0 0 0 0 if (mask & COMP_SCREEN_DAMAGE_ALL_MASK)
+ . . . . . . . . . {
+ 5,597 269 1 2,177 0 0 311 0 0 (*s->
+ . . . . . . . . . paintScreen) (s,
+ . . . . . . . . . &defaultScreenPaintAttrib,
+ . . . . . . . . . &s->
+ . . . . . . . . . outputDev
+ . . . . . . . . . [i].
+ . . . . . . . . . region,
+ . . . . . . . . . i,
+ . . . . . . . . . PAINT_SCREEN_REGION_MASK
+ . . . . . . . . . | PAINT_SCREEN_FULL_MASK);
+ . . . . . . . . . }
+ 56 28 1 14 0 0 0 0 0 else if (mask & COMP_SCREEN_DAMAGE_REGION_MASK)
+ . . . . . . . . . {
+ 182 4 1 70 0 0 14 0 0 XIntersectRegion
+ . . . . . . . . . (tmpRegion,
+ . . . . . . . . . &s->outputDev[i].region, outputRegion);
+ 140 1 0 70 0 0 14 0 0 if (!
+ . . . . . . . . . (*s->
+ . . . . . . . . . paintScreen)
+ . . . . . . . . . (s, &defaultScreenPaintAttrib, outputRegion,
+ . . . . . . . . . i, PAINT_SCREEN_REGION_MASK))
+ . . . . . . . . . {
+ . . . . . . . . . (*s->
+ . . . . . . . . . paintScreen)
+ . . . . . . . . . (s,
+-- line 1741 ----------------------------------------
+-- line 1746 ----------------------------------------
+ . . . . . . . . .
+ . . . . . . . . . XUnionRegion
+ . . . . . . . . . (tmpRegion,
+ . . . . . . . . . &s->outputDev[i].region, tmpRegion);
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . .
+ 648 122 1 324 0 0 324 0 0 waitForVideoSync(s);
+ . . . . . . . . .
+ 1,296 0 0 324 0 0 0 0 0 if (mask & COMP_SCREEN_DAMAGE_ALL_MASK)
+ . . . . . . . . . {
+ 1,860 0 0 1,240 930 1 310 0 0 glXSwapBuffers(display->display, s->output);
+ . . . . . . . . . }
+ . . . . . . . . . else
+ . . . . . . . . . {
+ . . . . . . . . . BoxPtr pBox;
+ . . . . . . . . . int nBox, y;
+ . . . . . . . . .
+ 42 6 1 28 28 0 14 0 0 pBox = tmpRegion->rects;
+ 42 0 0 28 0 0 14 0 0 nBox = tmpRegion->numRects;
+ . . . . . . . . .
+ 56 0 0 28 0 0 0 0 0 if (s->copySubBuffer)
+ . . . . . . . . . {
+ 418 14 1 260 0 0 0 0 0 while (nBox--)
+ . . . . . . . . . {
+ 1,044 6 1 464 25 0 116 0 0 y = s->height - pBox->y2;
+ . . . . . . . . .
+ 3,596 13 1 1,972 26 0 116 0 0 (*s->
+ . . . . . . . . . copySubBuffer)
+ . . . . . . . . . (display->
+ . . . . . . . . . display,
+ . . . . . . . . . s->
+ . . . . . . . . . output,
+ . . . . . . . . . pBox->
+ . . . . . . . . . x1, y,
+ . . . . . . . . . pBox->
+ . . . . . . . . . x2 - pBox->x1, pBox->y2 - pBox->y1);
+ . . . . . . . . .
+ 116 0 0 116 0 0 0 0 0 pBox++;
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . . else
+ . . . . . . . . . {
+ . . . . . . . . . glEnable(GL_SCISSOR_TEST);
+ . . . . . . . . . glDrawBuffer(GL_FRONT);
+ . . . . . . . . .
+ . . . . . . . . . while (nBox--)
+-- line 1793 ----------------------------------------
+-- line 1823 ----------------------------------------
+ . . . . . . . . . }
+ . . . . . . . . .
+ . . . . . . . . . glDrawBuffer(GL_BACK);
+ . . . . . . . . . glDisable(GL_SCISSOR_TEST);
+ . . . . . . . . . glFlush();
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . .
+ 324 324 1 0 0 0 324 1 0 targetScreen = NULL;
+ 324 0 0 0 0 0 324 0 0 targetOutput = 0;
+ . . . . . . . . .
+ 1,620 270 1 972 0 0 648 324 1 s->lastRedraw = tv;
+ . . . . . . . . .
+ 324 0 0 0 0 0 324 324 0 IPCS_lock = FALSE;
+ . . . . . . . . .
+ 1,296 0 0 972 0 0 324 0 0 (*s->donePaintScreen) (s);
+ . . . . . . . . . /* XXX:
+ . . . . . . . . . * I belive the intention is for aiglx only.
+ . . . . . . . . . * I added the conditional,
+ . . . . . . . . . * this needs to be tested.
+ . . . . . . . . . */
+ . . . . . . . . . //if (!useCow)
+ . . . . . . . . . // glFinish(); // patch from redhat
+ . . . . . . . . . // removed due to fix from upstream
+ . . . . . . . . .
+ . . . . . . . . . /* remove destroyed windows */
+ 1,636 633 2 656 1 0 0 0 0 while (s->pendingDestroys)
+ . . . . . . . . . {
+ . . . . . . . . . CompWindow *w;
+ . . . . . . . . .
+ 4,684 2 1 2,808 826 0 936 0 0 for (w = s->windows; w; w = w->next)
+ . . . . . . . . . {
+ 3,744 0 0 1,872 875 0 0 0 0 if (w->destroyed)
+ . . . . . . . . . {
+ 8 0 0 4 0 0 4 0 0 addWindowDamage(w);
+ 8 0 0 4 0 0 4 0 0 removeWindow(w);
+ 4 0 0 0 0 0 0 0 0 break;
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . .
+ 20 0 0 12 8 0 4 0 0 s->pendingDestroys--;
+ . . . . . . . . . }
+ . . . . . . . . .
+ 648 0 0 324 0 0 324 324 0 s->idle = FALSE;
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . . else
+ . . . . . . . . . {
+ 102 18 1 34 1 0 0 0 0 if (timeouts)
+ . . . . . . . . . {
+ 136 0 0 68 18 0 0 0 0 if (timeouts->left > 0)
+ 102 0 0 68 0 0 34 0 0 doPoll(timeouts->left);
+ . . . . . . . . .
+ 102 0 0 0 0 0 34 0 0 gettimeofday(&tv, 0);
+ . . . . . . . . .
+ 102 16 1 0 0 0 34 0 0 handleTimeouts(&tv);
+ . . . . . . . . . }
+ . . . . . . . . . else
+ . . . . . . . . . {
+ . . . . . . . . . doPoll(1000);
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . .
+ . . . . . . . . . return 0;
+ . . . . . . . . . }
+ . . . . . . . . .
+ . . . . . . . . . static int errors = 0;
+ . . . . . . . . .
+ . . . . . . . . . static int errorHandler(Display * dpy, XErrorEvent * e)
+ 124 16 4 0 0 0 93 0 0 {
+ . . . . . . . . .
+ . . . . . . . . . #ifdef DEBUG
+ . . . . . . . . . char str[128];
+ . . . . . . . . . char *name = 0;
+ . . . . . . . . . int o;
+ . . . . . . . . . #endif
+ . . . . . . . . .
+ 93 0 0 31 6 1 31 0 0 errors++;
+ . . . . . . . . .
+ . . . . . . . . . #ifdef DEBUG
+ . . . . . . . . . XGetErrorDatabaseText(dpy, "XlibMessage", "XError", "", str, 128);
+ . . . . . . . . . fprintf(stderr, "%s", str);
+ . . . . . . . . .
+ . . . . . . . . . o = e->error_code - compDisplays->damageError;
+ . . . . . . . . . switch (o)
+ . . . . . . . . . {
+-- line 1910 ----------------------------------------
+-- line 1940 ----------------------------------------
+ . . . . . . . . .
+ . . . . . . . . . XGetErrorDatabaseText(dpy, "XlibMessage", "ResourceID", "%d", str, 128);
+ . . . . . . . . . fprintf(stderr, str, e->resourceid);
+ . . . . . . . . . fprintf(stderr, "\n");
+ . . . . . . . . .
+ . . . . . . . . . /* abort (); */
+ . . . . . . . . . #endif
+ . . . . . . . . .
+ 31 0 0 0 0 0 0 0 0 return 0;
+ 62 0 0 62 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . int compCheckForError(Display * dpy)
+ 2,036 24 1 0 0 0 1,018 0 0 {
+ . . . . . . . . . int e;
+ . . . . . . . . .
+ 1,527 0 0 509 0 0 509 0 0 XSync(dpy, FALSE);
+ . . . . . . . . .
+ 1,018 0 0 509 31 2 509 0 0 e = errors;
+ 509 30 2 0 0 0 509 0 0 errors = 0;
+ . . . . . . . . .
+ 509 0 0 509 0 0 0 0 0 return e;
+ 1,018 0 0 1,018 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . #define PING_DELAY 5000
+ . . . . . . . . .
+ . . . . . . . . . static Bool pingTimeout(void *closure)
+ 28 4 1 4 0 0 12 0 0 {
+ 8 0 0 4 0 0 4 0 0 CompDisplay *d = closure;
+ . . . . . . . . . CompScreen *s;
+ . . . . . . . . . CompWindow *w;
+ . . . . . . . . . XEvent ev;
+ 16 4 2 8 3 0 4 0 0 int ping = d->lastPing + 1;
+ . . . . . . . . .
+ 4 0 0 0 0 0 4 0 0 ev.type = ClientMessage;
+ 4 0 0 0 0 0 4 0 0 ev.xclient.window = 0;
+ 12 0 0 8 4 0 4 0 0 ev.xclient.message_type = d->wmProtocolsAtom;
+ 4 4 2 0 0 0 4 0 0 ev.xclient.format = 32;
+ 12 0 0 8 0 0 4 0 0 ev.xclient.data.l[0] = d->wmPingAtom;
+ 12 0 0 4 0 0 4 0 0 ev.xclient.data.l[1] = ping;
+ 4 0 0 0 0 0 4 0 0 ev.xclient.data.l[2] = 0;
+ 4 0 0 0 0 0 4 0 0 ev.xclient.data.l[3] = 0;
+ 4 4 2 0 0 0 4 0 0 ev.xclient.data.l[4] = 0;
+ . . . . . . . . .
+ 44 4 2 24 0 0 8 0 0 for (s = d->screens; s; s = s->next)
+ . . . . . . . . . {
+ 4,619 4 2 2,769 851 0 923 0 0 for (w = s->windows; w; w = w->next)
+ . . . . . . . . . {
+ 3,676 4 2 1,838 882 54 0 0 0 if (w->attrib.map_state != IsViewable)
+ . . . . . . . . . continue;
+ . . . . . . . . .
+ 45 0 0 18 8 1 0 0 0 if (!(w->type & CompWindowTypeNormalMask))
+ . . . . . . . . . continue;
+ . . . . . . . . .
+ 5 0 0 2 1 0 0 0 0 if (w->protocols & CompWindowProtocolPingMask)
+ . . . . . . . . . {
+ 4 1 1 2 1 0 0 0 0 if (w->transientFor)
+ . . . . . . . . . continue;
+ . . . . . . . . .
+ 6 0 0 4 1 0 0 0 0 if (w->lastPong < d->lastPing)
+ . . . . . . . . . {
+ . . . . . . . . . if (w->alive)
+ . . . . . . . . . {
+ . . . . . . . . . w->alive = FALSE;
+ . . . . . . . . . if (d->opt[COMP_DISPLAY_OPTION_DIM_DEAD].value.b)
+ . . . . . . . . . {
+ . . . . . . . . . w->paint.brightness = 0xa8a8;
+ . . . . . . . . . w->paint.saturation = 0;
+-- line 2006 ----------------------------------------
+-- line 2017 ----------------------------------------
+ . . . . . . . . .
+ . . . . . . . . . w->closeRequests = 0;
+ . . . . . . . . . }
+ . . . . . . . . .
+ . . . . . . . . . addWindowDamage(w);
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . .
+ 3 1 1 2 1 0 1 0 0 ev.xclient.window = w->id;
+ 3 0 0 2 0 0 1 0 0 ev.xclient.data.l[2] = w->id;
+ . . . . . . . . .
+ 9 0 0 4 0 0 1 0 0 XSendEvent(d->display, w->id, FALSE, NoEventMask, &ev);
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . .
+ 12 0 0 8 0 0 4 0 0 d->lastPing = ping;
+ . . . . . . . . .
+ 4 0 0 0 0 0 0 0 0 return TRUE;
+ 20 0 0 16 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . static void addScreenActions(CompDisplay * d, CompScreen * s)
+ 5 2 2 0 0 0 3 0 0 {
+ 4 0 0 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->opt[COMP_DISPLAY_OPTION_CLOSE_WINDOW].value.action);
+ 4 0 0 2 0 0 1 0 0 addScreenAction(s, &d->opt[COMP_DISPLAY_OPTION_MAIN_MENU].value.action);
+ 4 1 1 2 0 0 1 0 0 addScreenAction(s, &d->opt[COMP_DISPLAY_OPTION_RUN_DIALOG].value.action);
+ 4 0 0 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->opt[COMP_DISPLAY_OPTION_MINIMIZE_WINDOW].value.
+ . . . . . . . . . action);
+ 4 0 0 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->opt[COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW].value.
+ . . . . . . . . . action);
+ 4 1 1 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->opt[COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW_HORZ].
+ . . . . . . . . . value.action);
+ 4 0 0 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->opt[COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW_VERT].
+ . . . . . . . . . value.action);
+ 4 0 0 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->opt[COMP_DISPLAY_OPTION_UNMAXIMIZE_WINDOW].
+ . . . . . . . . . value.action);
+ 4 1 1 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->opt[COMP_DISPLAY_OPTION_SHOW_DESKTOP].value.action);
+ 4 0 0 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->opt[COMP_DISPLAY_OPTION_RUN_COMMAND0].value.action);
+ 4 0 0 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->opt[COMP_DISPLAY_OPTION_RUN_COMMAND1].value.action);
+ 4 0 0 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->opt[COMP_DISPLAY_OPTION_RUN_COMMAND2].value.action);
+ 4 1 1 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->opt[COMP_DISPLAY_OPTION_RUN_COMMAND3].value.action);
+ 4 0 0 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->opt[COMP_DISPLAY_OPTION_RUN_COMMAND4].value.action);
+ 4 0 0 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->opt[COMP_DISPLAY_OPTION_RUN_COMMAND5].value.action);
+ 4 1 1 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->opt[COMP_DISPLAY_OPTION_RUN_COMMAND6].value.action);
+ 4 0 0 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->opt[COMP_DISPLAY_OPTION_RUN_COMMAND7].value.action);
+ 4 0 0 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->opt[COMP_DISPLAY_OPTION_RUN_COMMAND8].value.action);
+ 4 1 1 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->opt[COMP_DISPLAY_OPTION_RUN_COMMAND9].value.action);
+ 4 0 0 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->opt[COMP_DISPLAY_OPTION_RUN_COMMAND10].value.action);
+ 4 0 0 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->opt[COMP_DISPLAY_OPTION_RUN_COMMAND11].value.action);
+ 4 1 1 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->opt[COMP_DISPLAY_OPTION_SLOW_ANIMATIONS].value.
+ . . . . . . . . . action);
+ 4 0 0 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->opt[COMP_DISPLAY_OPTION_LOWER_WINDOW].value.action);
+ 4 0 0 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->opt[COMP_DISPLAY_OPTION_RAISE_WINDOW].value.action);
+ 4 1 1 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->opt[COMP_DISPLAY_OPTION_OPACITY_INCREASE].
+ . . . . . . . . . value.action);
+ 4 0 0 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->opt[COMP_DISPLAY_OPTION_OPACITY_DECREASE].
+ . . . . . . . . . value.action);
+ 4 0 0 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->opt[COMP_DISPLAY_OPTION_RUN_SCREENSHOT].value.action);
+ 4 0 0 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->opt[COMP_DISPLAY_OPTION_RUN_WINDOW_SCREENSHOT].
+ . . . . . . . . . value.action);
+ 4 1 1 2 0 0 1 0 0 addScreenAction(s, &d->opt[COMP_DISPLAY_OPTION_WINDOW_MENU].value.action);
+ 4 0 0 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->
+ . . . . . . . . . opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED].
+ . . . . . . . . . value.action);
+ 4 0 0 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->
+ . . . . . . . . . opt
+ . . . . . . . . . [COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED_HORZ].
+ . . . . . . . . . value.action);
+ 4 1 0 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->
+ . . . . . . . . . opt
+ . . . . . . . . . [COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED_VERT].
+ . . . . . . . . . value.action);
+ 4 0 0 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_SHADED].
+ . . . . . . . . . value.action);
+ 4 0 0 2 0 0 1 0 0 addScreenAction(s,
+ . . . . . . . . . &d->
+ . . . . . . . . . opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_FULLSCREEN].
+ . . . . . . . . . value.action);
+ 2 0 0 2 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . void addScreenToDisplay(CompDisplay * display, CompScreen * s)
+ 5 2 2 0 0 0 3 0 0 {
+ . . . . . . . . . CompScreen *prev;
+ . . . . . . . . .
+ 6 0 0 3 1 0 1 0 0 for (prev = display->screens; prev && prev->next; prev = prev->next);
+ . . . . . . . . .
+ 2 0 0 1 0 0 0 0 0 if (prev)
+ . . . . . . . . . prev->next = s;
+ . . . . . . . . . else
+ 3 1 1 2 0 0 1 0 0 display->screens = s;
+ . . . . . . . . .
+ 3 0 0 2 0 0 1 0 0 addScreenActions(display, s);
+ 2 0 0 2 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . static void compDisplaySetBindingFuncs(CompDisplay * display)
+ 3 1 1 0 0 0 2 0 0 {
+ . . . . . . . . . CompOption *o;
+ . . . . . . . . .
+ 4 0 0 1 0 0 1 0 0 o = &display->opt[COMP_DISPLAY_OPTION_CLOSE_WINDOW];
+ 2 1 1 1 0 0 1 1 0 o->value.action.initiate = closeWin;
+ 2 0 0 1 0 0 1 0 0 o->value.action.terminate = 0;
+ . . . . . . . . .
+ 4 0 0 1 0 0 1 0 0 o = &display->opt[COMP_DISPLAY_OPTION_MAIN_MENU];
+ 2 0 0 1 0 0 1 1 0 o->value.action.initiate = mainMenu;
+ 2 1 1 1 0 0 1 0 0 o->value.action.terminate = 0;
+ . . . . . . . . .
+ 4 0 0 1 0 0 1 0 0 o = &display->opt[COMP_DISPLAY_OPTION_RUN_DIALOG];
+ 2 0 0 1 0 0 1 0 0 o->value.action.initiate = runDialog;
+ 2 0 0 1 0 0 1 1 0 o->value.action.terminate = 0;
+ . . . . . . . . .
+ 4 1 1 1 0 0 1 0 0 o = &display->opt[COMP_DISPLAY_OPTION_UNMAXIMIZE_WINDOW];
+ 2 0 0 1 0 0 1 0 0 o->value.action.initiate = unmaximize;
+ 2 0 0 1 0 0 1 0 0 o->value.action.terminate = 0;
+ . . . . . . . . .
+ 4 0 0 1 0 0 1 0 0 o = &display->opt[COMP_DISPLAY_OPTION_MINIMIZE_WINDOW];
+ 2 0 0 1 0 0 1 1 0 o->value.action.initiate = minimize;
+ 2 1 1 1 0 0 1 0 0 o->value.action.terminate = 0;
+ . . . . . . . . .
+ 4 0 0 1 0 0 1 0 0 o = &display->opt[COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW];
+ 2 0 0 1 0 0 1 1 0 o->value.action.initiate = maximize;
+ 2 0 0 1 0 0 1 0 0 o->value.action.terminate = 0;
+ . . . . . . . . .
+ 4 1 1 1 0 0 1 0 0 o = &display->opt[COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW_HORZ];
+ 2 0 0 1 0 0 1 0 0 o->value.action.initiate = maximizeHorizontally;
+ 2 0 0 1 0 0 1 0 0 o->value.action.terminate = 0;
+ . . . . . . . . .
+ 4 0 0 1 0 0 1 0 0 o = &display->opt[COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW_VERT];
+ 2 0 0 1 0 0 1 1 0 o->value.action.initiate = maximizeVertically;
+ 2 1 1 1 0 0 1 0 0 o->value.action.terminate = 0;
+ . . . . . . . . .
+ 4 0 0 1 0 0 1 0 0 o = &display->opt[COMP_DISPLAY_OPTION_SHOW_DESKTOP];
+ 2 0 0 1 0 0 1 0 0 o->value.action.initiate = showDesktop;
+ 2 0 0 1 0 0 1 0 0 o->value.action.terminate = 0;
+ . . . . . . . . .
+ . . . . . . . . . #define COMMAND_OPTION(num) \
+ . . . . . . . . . o = &display->opt[COMP_DISPLAY_OPTION_RUN_COMMAND ## num ]; \
+ . . . . . . . . . o->value.action.initiate = runCommandDispatch; \
+ . . . . . . . . . o->value.action.terminate = 0; \
+ . . . . . . . . .
+ 8 1 1 3 0 0 3 0 0 COMMAND_OPTION(0);
+ 8 1 1 3 0 0 3 0 0 COMMAND_OPTION(1);
+ 8 0 0 3 0 0 3 0 0 COMMAND_OPTION(2);
+ 8 1 1 3 0 0 3 0 0 COMMAND_OPTION(3);
+ 8 1 1 3 0 0 3 0 0 COMMAND_OPTION(4);
+ 8 0 0 3 0 0 3 0 0 COMMAND_OPTION(5);
+ 8 1 1 3 0 0 3 0 0 COMMAND_OPTION(6);
+ 8 1 1 3 0 0 3 0 0 COMMAND_OPTION(7);
+ 8 1 1 3 0 0 3 0 0 COMMAND_OPTION(8);
+ 8 1 0 3 0 0 3 0 0 COMMAND_OPTION(9);
+ 8 1 1 3 0 0 3 0 0 COMMAND_OPTION(10);
+ 8 1 1 3 0 0 3 0 0 COMMAND_OPTION(11);
+ . . . . . . . . .
+ 4 0 0 1 0 0 1 0 0 o = &display->opt[COMP_DISPLAY_OPTION_SLOW_ANIMATIONS];
+ 2 0 0 1 0 0 1 0 0 o->value.action.initiate = toggleSlowAnimations;
+ 2 0 0 1 0 0 1 0 0 o->value.action.terminate = 0;
+ . . . . . . . . .
+ 4 1 1 1 0 0 1 0 0 o = &display->opt[COMP_DISPLAY_OPTION_LOWER_WINDOW];
+ 2 0 0 1 0 0 1 0 0 o->value.action.initiate = lower;
+ 2 0 0 1 0 0 1 0 0 o->value.action.terminate = 0;
+ . . . . . . . . .
+ 4 0 0 1 0 0 1 0 0 o = &display->opt[COMP_DISPLAY_OPTION_RAISE_WINDOW];
+ 2 0 0 1 0 0 1 0 0 o->value.action.initiate = raise;
+ 2 1 1 1 0 0 1 0 0 o->value.action.terminate = 0;
+ . . . . . . . . .
+ 4 0 0 1 0 0 1 0 0 o = &display->opt[COMP_DISPLAY_OPTION_OPACITY_INCREASE];
+ 2 0 0 1 0 0 1 0 0 o->value.action.initiate = increaseOpacity;
+ 2 0 0 1 0 0 1 0 0 o->value.action.terminate = 0;
+ . . . . . . . . .
+ 4 1 1 1 0 0 1 0 0 o = &display->opt[COMP_DISPLAY_OPTION_OPACITY_DECREASE];
+ 2 0 0 1 0 0 1 0 0 o->value.action.initiate = decreaseOpacity;
+ 2 0 0 1 0 0 1 0 0 o->value.action.terminate = 0;
+ . . . . . . . . .
+ 4 0 0 1 0 0 1 0 0 o = &display->opt[COMP_DISPLAY_OPTION_SATURATION_INCREASE];
+ 2 1 1 1 0 0 1 0 0 o->value.action.initiate = increaseSaturation;
+ 2 0 0 1 0 0 1 0 0 o->value.action.terminate = 0;
+ . . . . . . . . .
+ 4 0 0 1 0 0 1 0 0 o = &display->opt[COMP_DISPLAY_OPTION_SATURATION_DECREASE];
+ 2 0 0 1 0 0 1 0 0 o->value.action.initiate = decreaseSaturation;
+ 2 0 0 1 0 0 1 0 0 o->value.action.terminate = 0;
+ . . . . . . . . .
+ 4 1 1 1 0 0 1 0 0 o = &display->opt[COMP_DISPLAY_OPTION_BRIGHTNESS_INCREASE];
+ 2 0 0 1 0 0 1 0 0 o->value.action.initiate = increaseBrightness;
+ 2 0 0 1 0 0 1 0 0 o->value.action.terminate = 0;
+ . . . . . . . . .
+ 4 0 0 1 0 0 1 0 0 o = &display->opt[COMP_DISPLAY_OPTION_BRIGHTNESS_DECREASE];
+ 2 1 1 1 0 0 1 0 0 o->value.action.initiate = decreaseBrightness;
+ 2 0 0 1 0 0 1 0 0 o->value.action.terminate = 0;
+ . . . . . . . . .
+ 4 0 0 1 0 0 1 0 0 o = &display->opt[COMP_DISPLAY_OPTION_RUN_SCREENSHOT];
+ 2 0 0 1 0 0 1 0 0 o->value.action.initiate = runCommandScreenshot;
+ 2 0 0 1 0 0 1 0 0 o->value.action.terminate = 0;
+ . . . . . . . . .
+ 4 1 1 1 0 0 1 0 0 o = &display->opt[COMP_DISPLAY_OPTION_RUN_WINDOW_SCREENSHOT];
+ 2 0 0 1 0 0 1 0 0 o->value.action.initiate = runCommandWindowScreenshot;
+ 2 0 0 1 0 0 1 0 0 o->value.action.terminate = 0;
+ . . . . . . . . .
+ 4 0 0 1 0 0 1 0 0 o = &display->opt[COMP_DISPLAY_OPTION_WINDOW_MENU];
+ 2 1 1 1 0 0 1 0 0 o->value.action.initiate = windowMenu;
+ 2 0 0 1 0 0 1 0 0 o->value.action.terminate = 0;
+ . . . . . . . . .
+ 4 0 0 1 0 0 1 0 0 o = &display->opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED];
+ 2 0 0 1 0 0 1 0 0 o->value.action.initiate = toggleMaximized;
+ 2 1 1 1 0 0 1 0 0 o->value.action.terminate = 0;
+ . . . . . . . . .
+ 3 0 0 1 0 0 1 0 0 o = &display->opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_FULLSCREEN];
+ 2 0 0 1 0 0 1 0 0 o->value.action.initiate = toggleFullscreen;
+ 2 0 0 1 0 0 1 0 0 o->value.action.terminate = 0;
+ . . . . . . . . .
+ 4 0 0 1 0 0 1 0 0 o = &display->opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED_HORZ];
+ 2 1 1 1 0 0 1 0 0 o->value.action.initiate = toggleMaximizedHorizontally;
+ 2 0 0 1 0 0 1 0 0 o->value.action.terminate = 0;
+ . . . . . . . . .
+ 4 0 0 1 0 0 1 0 0 o = &display->opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED_VERT];
+ 2 0 0 1 0 0 1 0 0 o->value.action.initiate = toggleMaximizedVertically;
+ 2 1 1 1 0 0 1 0 0 o->value.action.terminate = 0;
+ . . . . . . . . .
+ 4 0 0 1 0 0 1 0 0 o = &display->opt[COMP_DISPLAY_OPTION_TOGGLE_WINDOW_SHADED];
+ 2 0 0 1 0 0 1 0 0 o->value.action.initiate = shade;
+ 2 0 0 1 0 0 1 0 0 o->value.action.terminate = 0;
+ 2 0 0 2 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . static CompRequestFlag *addRequestFlag(CompDisplay * d, char *request)
+ 18 3 1 0 0 0 12 1 0 {
+ 15 3 1 9 0 0 3 0 0 d->nRequestFlags++;
+ 33 3 1 15 0 0 6 0 0 d->requestFlags = realloc(d->requestFlags,
+ . . . . . . . . . d->nRequestFlags * sizeof(CompRequestFlag));
+ . . . . . . . . . int i;
+ . . . . . . . . .
+ 84 3 1 51 0 0 3 0 0 for (i = 0; i < 8; i++)
+ 264 0 0 120 0 0 24 0 0 d->requestFlags[d->nRequestFlags - 1].data[i] = 0;
+ 33 0 0 15 0 0 6 0 0 d->requestFlags[d->nRequestFlags - 1].name = strdup(request);
+ 24 0 0 12 0 0 0 0 0 return &(d->requestFlags[d->nRequestFlags - 1]);
+ 12 0 0 9 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . static CompRequestFlag *getRequestFlag(CompDisplay * d, char *request)
+ 905 181 1 0 0 0 543 99 0 {
+ . . . . . . . . . int i;
+ . . . . . . . . .
+ 2,541 181 1 1,707 181 1 181 0 0 for (i = 0; i < d->nRequestFlags; i++)
+ . . . . . . . . . {
+ 5,159 180 1 2,345 295 0 469 0 0 if (!strcasecmp(request, d->requestFlags[i].name))
+ 1,424 0 0 534 0 0 178 0 0 return &(d->requestFlags[i]);
+ . . . . . . . . . }
+ 193 0 0 187 0 0 6 0 0 return addRequestFlag(d, request);
+ 362 0 0 362 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . Bool compDisplayGetRequestFlagForPlugin(CompDisplay * d,
+ . . . . . . . . . char *plugin, char *request)
+ . . . . . . . . . {
+ . . . . . . . . . int idx = findActivePluginIndex(plugin);
+ . . . . . . . . .
+ . . . . . . . . . if (idx < 0)
+ . . . . . . . . . return False;
+ . . . . . . . . . CompRequestFlag *f = getRequestFlag(d, request);
+ . . . . . . . . .
+ . . . . . . . . . return (f->data[idx / 8] & (1 << (idx % 8))) ? True : False;
+ . . . . . . . . . }
+ . . . . . . . . .
+ . . . . . . . . . Bool compDisplayGetRequestFlagForAny(CompDisplay * d, char *request)
+ 880 176 1 0 0 0 528 0 0 {
+ 704 176 1 352 0 0 352 0 0 CompRequestFlag *f = getRequestFlag(d, request);
+ . . . . . . . . . int i;
+ . . . . . . . . .
+ 4,928 0 0 2,992 0 0 176 0 0 for (i = 0; i < 8; i++)
+ 8,448 0 0 4,224 0 0 0 0 0 if (f->data[i])
+ . . . . . . . . . return True;
+ 352 176 0 176 0 0 176 0 0 return False;
+ 352 0 0 352 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . void compDisplaySetRequestFlagForPlugin(CompDisplay * d,
+ . . . . . . . . . char *plugin, char *request)
+ 18 3 1 0 0 0 12 0 0 {
+ 9 0 0 3 0 0 6 0 0 int idx = findActivePluginIndex(plugin);
+ . . . . . . . . .
+ 6 0 0 3 0 0 0 0 0 if (idx < 0)
+ . . . . . . . . . return;
+ 12 0 0 6 0 0 6 0 0 CompRequestFlag *f = getRequestFlag(d, request);
+ . . . . . . . . .
+ 78 6 2 15 0 0 3 0 0 f->data[idx / 8] |= (1 << (idx % 8));
+ 6 0 0 6 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . void compDisplayClearRequestFlagForPlugin(CompDisplay * d,
+ . . . . . . . . . char *plugin, char *request)
+ 12 2 0 0 0 0 8 0 0 {
+ 6 0 0 2 0 0 4 0 0 int idx = findActivePluginIndex(plugin);
+ . . . . . . . . .
+ 4 0 0 2 0 0 0 0 0 if (idx < 0)
+ . . . . . . . . . return;
+ 8 0 0 4 0 0 4 0 0 CompRequestFlag *f = getRequestFlag(d, request);
+ . . . . . . . . .
+ 54 4 2 10 0 0 2 0 0 f->data[idx / 8] &= ~(1 << (idx % 8));
+ 4 0 0 4 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . void releaseDisplay(void)
+ . . . . . . . . . {
+ . . . . . . . . . finiPlugins(&compDisplay);
+ . . . . . . . . .
+ . . . . . . . . . while (compDisplay.screens)
+ . . . . . . . . . releaseScreen(compDisplay.screens);
+ . . . . . . . . .
+-- line 2346 ----------------------------------------
+-- line 2349 ----------------------------------------
+ . . . . . . . . . if (compDisplay.display)
+ . . . . . . . . . XCloseDisplay(compDisplay.display);
+ . . . . . . . . .
+ . . . . . . . . . if (compDisplay.privates)
+ . . . . . . . . . free(compDisplay.privates);
+ . . . . . . . . . }
+ . . . . . . . . .
+ . . . . . . . . . Bool addDisplay(char *name, int screenNum, char **plugin, int nPlugin)
+ 10 2 2 1 0 0 6 0 0 {
+ . . . . . . . . . CompDisplay *d;
+ . . . . . . . . . Display *dpy;
+ . . . . . . . . . Window focus;
+ . . . . . . . . . int revertTo, i;
+ . . . . . . . . . int compositeMajor, compositeMinor;
+ . . . . . . . . . int xkbOpcode;
+ . . . . . . . . .
+ 1 0 0 0 0 0 1 0 0 d = &compDisplay;
+ . . . . . . . . .
+ 2 0 0 1 0 0 1 1 1 d->nRequestFlags = 0;
+ 2 1 1 1 0 0 1 0 0 d->requestFlags = 0;
+ . . . . . . . . .
+ 6 0 0 4 0 0 2 1 1 d->pointerX = d->lastPointerX = 0;
+ 6 1 1 4 0 0 2 0 0 d->pointerY = d->lastPointerY = 0;
+ . . . . . . . . .
+ 2 0 0 1 0 0 1 1 1 d->focusStealingLevel = FSP_NONE;
+ . . . . . . . . .
+ 8 1 1 4 0 0 4 0 0 IPCS_INITOBJ(d);
+ . . . . . . . . .
+ 3 1 1 1 1 1 0 0 0 if (displayPrivateLen)
+ . . . . . . . . . {
+ . . . . . . . . . d->privates = malloc(displayPrivateLen * sizeof(CompPrivate));
+ . . . . . . . . . if (!d->privates)
+ . . . . . . . . . return FALSE;
+ . . . . . . . . . }
+ . . . . . . . . . else
+ 2 1 1 1 0 0 1 0 0 d->privates = 0;
+ . . . . . . . . .
+ 2 0 0 1 0 0 1 0 0 d->screenPrivateIndices = 0;
+ 2 0 0 1 0 0 1 0 0 d->screenPrivateLen = 0;
+ . . . . . . . . .
+ 2 1 1 1 0 0 1 1 1 d->modMap = 0;
+ . . . . . . . . .
+ 25 1 1 15 0 0 1 0 0 for (i = 0; i < CompModNum; i++)
+ 28 0 0 14 0 0 7 0 0 d->modMask[i] = CompNoMask;
+ . . . . . . . . .
+ 2 0 0 1 0 0 1 0 0 d->ignoredModMask = LockMask;
+ . . . . . . . . .
+ 2 0 0 1 0 0 1 1 1 d->plugin.list.type = CompOptionTypeString;
+ 2 0 0 1 0 0 1 0 0 d->plugin.list.nValue = 0;
+ 2 1 1 1 0 0 1 0 0 d->plugin.list.value = 0;
+ . . . . . . . . .
+ 2 0 0 1 0 0 1 1 1 d->textureFilter = GL_LINEAR;
+ 2 0 0 1 0 0 1 1 1 d->below = None;
+ . . . . . . . . .
+ 2 0 0 1 0 0 1 0 0 d->activeWindow = 0;
+ . . . . . . . . .
+ 2 1 1 1 0 0 1 1 1 d->autoRaiseHandle = 0;
+ 2 0 0 1 0 0 1 1 1 d->autoRaiseWindow = None;
+ . . . . . . . . .
+ 6 2 1 3 0 0 3 2 0 d->display = dpy = XOpenDisplay(name);
+ 4 0 0 2 0 0 0 0 0 if (!d->display)
+ . . . . . . . . . {
+ . . . . . . . . . fprintf(stderr, _("%s: Couldn't open display %s\n"),
+ . . . . . . . . . programName, XDisplayName(name));
+ . . . . . . . . . return FALSE;
+ . . . . . . . . . }
+ . . . . . . . . .
+ 4 1 1 3 1 0 1 0 0 compDisplayInitOptions(d, plugin, nPlugin);
+ 2 0 0 1 0 0 1 0 0 compDisplaySetBindingFuncs(d);
+ . . . . . . . . .
+ 8 1 1 3 1 0 1 0 0 snprintf(d->displayString, 255, "DISPLAY=%s", DisplayString(dpy));
+ . . . . . . . . .
+ . . . . . . . . . #ifdef DEBUG
+ . . . . . . . . . XSynchronize(dpy, TRUE);
+ . . . . . . . . . #endif
+ . . . . . . . . .
+ 2 0 0 0 0 0 1 0 0 XSetErrorHandler(errorHandler);
+ . . . . . . . . .
+ 2 0 0 1 0 0 1 0 0 updateModifierMappings(d);
+ . . . . . . . . .
+ 4 1 1 1 1 1 2 1 1 d->context= beryl_settings_context_new();
+ 3 0 0 2 0 0 1 0 0 beryl_settings_context_read(d->context);
+ . . . . . . . . .
+ 2 1 0 1 1 0 1 1 1 d->setDisplayOption = setDisplayOption;
+ 2 1 1 1 0 0 1 0 0 d->setDisplayOptionForPlugin = setDisplayOptionForPlugin;
+ . . . . . . . . .
+ 2 0 0 1 0 0 1 0 0 d->initPluginForDisplay = initPluginForDisplay;
+ 2 0 0 1 0 0 1 0 0 d->finiPluginForDisplay = finiPluginForDisplay;
+ . . . . . . . . .
+ 2 0 0 1 0 0 1 0 0 d->handleEvent = handleEvent;
+ 2 1 1 1 0 0 1 0 0 d->handleBerylEvent = handleBerylEvent;
+ . . . . . . . . .
+ 2 0 0 1 0 0 1 1 1 d->fileToImage = fileToImage;
+ 2 0 0 1 0 0 1 0 0 d->imageToFile = imageToFile;
+ . . . . . . . . .
+ 7 1 1 2 1 0 2 1 1 d->reloadSettingsAtom=XInternAtom(dpy,"_BERYL_SETTINGS_RELOAD",0);
+ . . . . . . . . .
+ 7 1 1 2 0 0 2 1 1 d->supportedAtom = XInternAtom(dpy, "_NET_SUPPORTED", 0);
+ 7 0 0 2 0 0 2 0 0 d->supportingWmCheckAtom =
+ . . . . . . . . . XInternAtom(dpy, "_NET_SUPPORTING_WM_CHECK", 0);
+ . . . . . . . . .
+ 7 1 1 2 0 0 2 0 0 d->utf8StringAtom = XInternAtom(dpy, "UTF8_STRING", 0);
+ . . . . . . . . .
+ 7 0 0 2 0 0 2 0 0 d->wmNameAtom = XInternAtom(dpy, "_NET_WM_NAME", 0);
+ . . . . . . . . .
+ 7 1 1 2 0 0 2 0 0 d->winTypeAtom = XInternAtom(dpy, "_NET_WM_WINDOW_TYPE", 0);
+ 7 1 1 2 0 0 2 0 0 d->winTypeDesktopAtom =
+ . . . . . . . . . XInternAtom(dpy, "_NET_WM_WINDOW_TYPE_DESKTOP", 0);
+ 7 0 0 2 0 0 2 0 0 d->winTypeDockAtom = XInternAtom(dpy, "_NET_WM_WINDOW_TYPE_DOCK", 0);
+ 7 1 1 2 0 0 2 1 1 d->winTypeToolbarAtom =
+ . . . . . . . . . XInternAtom(dpy, "_NET_WM_WINDOW_TYPE_TOOLBAR", 0);
+ 7 0 0 2 0 0 2 0 0 d->winTypeMenuAtom = XInternAtom(dpy, "_NET_WM_WINDOW_TYPE_MENU", 0);
+ 7 1 1 2 0 0 2 0 0 d->winTypeUtilAtom = XInternAtom(dpy, "_NET_WM_WINDOW_TYPE_UTILITY", 0);
+ 7 1 1 2 0 0 2 0 0 d->winTypeSplashAtom = XInternAtom(dpy, "_NET_WM_WINDOW_TYPE_SPLASH", 0);
+ 7 0 0 2 0 0 2 0 0 d->winTypeDialogAtom = XInternAtom(dpy, "_NET_WM_WINDOW_TYPE_DIALOG", 0);
+ 7 1 1 2 0 0 2 0 0 d->winTypeNormalAtom = XInternAtom(dpy, "_NET_WM_WINDOW_TYPE_NORMAL", 0);
+ . . . . . . . . .
+ 7 0 0 2 0 0 2 0 0 d->winTypeDropdownMenuAtom =
+ . . . . . . . . . XInternAtom(dpy, "_NET_WM_WINDOW_TYPE_DROPDOWN_MENU", 0);
+ 7 1 1 2 0 0 2 0 0 d->winTypePopupMenuAtom =
+ . . . . . . . . . XInternAtom(dpy, "_NET_WM_WINDOW_TYPE_POPUP_MENU", 0);
+ 7 1 1 2 0 0 2 1 1 d->winTypeTooltipAtom =
+ . . . . . . . . . XInternAtom(dpy, "_NET_WM_WINDOW_TYPE_TOOLTIP", 0);
+ 7 0 0 2 0 0 2 0 0 d->winTypeNotificationAtom =
+ . . . . . . . . . XInternAtom(dpy, "_NET_WM_WINDOW_TYPE_NOTIFICATION", 0);
+ 7 1 1 2 0 0 2 0 0 d->winTypeComboAtom = XInternAtom(dpy, "_NET_WM_WINDOW_TYPE_COMBO", 0);
+ 7 0 0 2 0 0 2 0 0 d->winTypeDndAtom = XInternAtom(dpy, "_NET_WM_WINDOW_TYPE_DND", 0);
+ . . . . . . . . .
+ 7 1 1 2 0 0 2 0 0 d->winOpacityAtom = XInternAtom(dpy, "_NET_WM_WINDOW_OPACITY", 0);
+ 7 1 1 2 0 0 2 0 0 d->winBrightnessAtom = XInternAtom(dpy, "_NET_WM_WINDOW_BRIGHTNESS", 0);
+ 7 0 0 2 0 0 2 0 0 d->winSaturationAtom = XInternAtom(dpy, "_NET_WM_WINDOW_SATURATION", 0);
+ . . . . . . . . .
+ 7 1 1 2 0 0 2 0 0 d->winActiveAtom = XInternAtom(dpy, "_NET_ACTIVE_WINDOW", 0);
+ . . . . . . . . .
+ 7 1 1 2 0 0 2 1 1 d->winDesktopAtom = XInternAtom(dpy, "_NET_WM_DESKTOP", 0);
+ . . . . . . . . .
+ 7 0 0 2 0 0 2 0 0 d->workareaAtom = XInternAtom(dpy, "_NET_WORKAREA", 0);
+ . . . . . . . . .
+ 7 1 1 2 0 0 2 0 0 d->desktopViewportAtom = XInternAtom(dpy, "_NET_DESKTOP_VIEWPORT", 0);
+ 7 0 0 2 0 0 2 0 0 d->desktopGeometryAtom = XInternAtom(dpy, "_NET_DESKTOP_GEOMETRY", 0);
+ 7 1 1 2 0 0 2 0 0 d->currentDesktopAtom = XInternAtom(dpy, "_NET_CURRENT_DESKTOP", 0);
+ 7 1 1 2 0 0 2 0 0 d->numberOfDesktopsAtom = XInternAtom(dpy, "_NET_NUMBER_OF_DESKTOPS", 0);
+ . . . . . . . . .
+ 7 0 0 2 0 0 2 0 0 d->winStateAtom = XInternAtom(dpy, "_NET_WM_STATE", 0);
+ 7 2 1 2 0 0 2 0 0 d->winStateModalAtom = XInternAtom(dpy, "_NET_WM_STATE_MODAL", 0);
+ 7 0 0 2 0 0 2 1 1 d->winStateStickyAtom = XInternAtom(dpy, "_NET_WM_STATE_STICKY", 0);
+ 7 1 1 2 0 0 2 0 0 d->winStateMaximizedVertAtom =
+ . . . . . . . . . XInternAtom(dpy, "_NET_WM_STATE_MAXIMIZED_VERT", 0);
+ 7 1 1 2 0 0 2 0 0 d->winStateMaximizedHorzAtom =
+ . . . . . . . . . XInternAtom(dpy, "_NET_WM_STATE_MAXIMIZED_HORZ", 0);
+ 7 0 0 2 0 0 2 0 0 d->winStateShadedAtom = XInternAtom(dpy, "_NET_WM_STATE_SHADED", 0);
+ 7 1 1 2 0 0 2 0 0 d->winStateSkipTaskbarAtom =
+ . . . . . . . . . XInternAtom(dpy, "_NET_WM_STATE_SKIP_TASKBAR", 0);
+ 7 0 0 2 0 0 2 0 0 d->winStateSkipPagerAtom =
+ . . . . . . . . . XInternAtom(dpy, "_NET_WM_STATE_SKIP_PAGER", 0);
+ 7 1 1 2 0 0 2 0 0 d->winStateHiddenAtom = XInternAtom(dpy, "_NET_WM_STATE_HIDDEN", 0);
+ 7 1 1 2 0 0 2 0 0 d->winStateFullscreenAtom =
+ . . . . . . . . . XInternAtom(dpy, "_NET_WM_STATE_FULLSCREEN", 0);
+ 7 0 0 2 0 0 2 1 1 d->winStateAboveAtom = XInternAtom(dpy, "_NET_WM_STATE_ABOVE", 0);
+ 7 1 1 2 0 0 2 0 0 d->winStateBelowAtom = XInternAtom(dpy, "_NET_WM_STATE_BELOW", 0);
+ 7 1 1 2 0 0 2 0 0 d->winStateDemandsAttentionAtom =
+ . . . . . . . . . XInternAtom(dpy, "_NET_WM_STATE_DEMANDS_ATTENTION", 0);
+ 7 0 0 2 0 0 2 0 0 d->winStateDisplayModalAtom =
+ . . . . . . . . . XInternAtom(dpy, "_NET_WM_STATE_DISPLAY_MODAL", 0);
+ 7 1 1 2 0 0 2 0 0 d->winStateNoFocusAtom = XInternAtom(dpy, "_COMPIZ_WM_STATE_NO_FOCUS", 0);
+ . . . . . . . . .
+ 7 0 0 2 0 0 2 0 0 d->winActionMoveAtom = XInternAtom(dpy, "_NET_WM_ACTION_MOVE", 0);
+ 7 1 1 2 0 0 2 0 0 d->winActionResizeAtom = XInternAtom(dpy, "_NET_WM_ACTION_RESIZE", 0);
+ 7 1 1 2 0 0 2 0 0 d->winActionStickAtom = XInternAtom(dpy, "_NET_WM_ACTION_STICK", 0);
+ 7 0 0 2 0 0 2 1 1 d->winActionMinimizeAtom = XInternAtom(dpy, "_NET_WM_ACTION_MINIMIZE", 0);
+ 7 1 1 2 0 0 2 0 0 d->winActionMaximizeHorzAtom =
+ . . . . . . . . . XInternAtom(dpy, "_NET_WM_ACTION_MAXIMIZE_HORZ", 0);
+ 7 0 0 2 0 0 2 0 0 d->winActionMaximizeVertAtom =
+ . . . . . . . . . XInternAtom(dpy, "_NET_WM_ACTION_MAXIMIZE_VERT", 0);
+ 7 1 1 2 0 0 2 0 0 d->winActionFullscreenAtom =
+ . . . . . . . . . XInternAtom(dpy, "_NET_WM_ACTION_FULLSCREEN", 0);
+ 7 1 1 2 0 0 2 0 0 d->winActionCloseAtom = XInternAtom(dpy, "_NET_WM_ACTION_CLOSE", 0);
+ 7 0 0 2 0 0 2 0 0 d->winActionShadeAtom = XInternAtom(dpy, "_NET_WM_ACTION_SHADE", 0);
+ 7 1 1 2 0 0 2 0 0 d->winActionChangeDesktopAtom =
+ . . . . . . . . . XInternAtom(dpy, "_NET_WM_ACTION_CHANGE_DESKTOP", 0);
+ . . . . . . . . .
+ 7 0 0 2 0 0 2 0 0 d->wmAllowedActionsAtom = XInternAtom(dpy, "_NET_WM_ALLOWED_ACTIONS", 0);
+ . . . . . . . . .
+ 7 1 1 2 0 0 2 1 1 d->wmStrutAtom = XInternAtom(dpy, "_NET_WM_STRUT", 0);
+ 7 1 1 2 0 0 2 0 0 d->wmStrutPartialAtom = XInternAtom(dpy, "_NET_WM_STRUT_PARTIAL", 0);
+ . . . . . . . . .
+ 7 0 0 2 0 0 2 0 0 d->wmUserTimeAtom = XInternAtom(dpy, "_NET_WM_USER_TIME", 0);
+ . . . . . . . . .
+ 7 1 1 2 0 0 2 0 0 d->wmIconAtom = XInternAtom(dpy, "_NET_WM_ICON", 0);
+ . . . . . . . . .
+ 7 0 0 2 0 0 2 0 0 d->clientListAtom = XInternAtom(dpy, "_NET_CLIENT_LIST", 0);
+ 7 1 1 2 0 0 2 0 0 d->clientListStackingAtom =
+ . . . . . . . . . XInternAtom(dpy, "_NET_CLIENT_LIST_STACKING", 0);
+ . . . . . . . . .
+ 7 1 1 2 0 0 2 0 0 d->frameExtentsAtom = XInternAtom(dpy, "_NET_FRAME_EXTENTS", 0);
+ 7 0 0 2 0 0 2 0 0 d->frameWindowAtom = XInternAtom(dpy, "_NET_FRAME_WINDOW", 0);
+ . . . . . . . . .
+ 7 1 1 2 0 0 2 1 1 d->wmStateAtom = XInternAtom(dpy, "WM_STATE", 0);
+ 7 1 1 2 0 0 2 0 0 d->wmChangeStateAtom = XInternAtom(dpy, "WM_CHANGE_STATE", 0);
+ 7 0 0 2 0 0 2 0 0 d->wmProtocolsAtom = XInternAtom(dpy, "WM_PROTOCOLS", 0);
+ 7 1 1 2 0 0 2 0 0 d->wmClientLeaderAtom = XInternAtom(dpy, "WM_CLIENT_LEADER", 0);
+ . . . . . . . . .
+ 7 0 0 2 0 0 2 0 0 d->wmDeleteWindowAtom = XInternAtom(dpy, "WM_DELETE_WINDOW", 0);
+ 7 1 1 2 0 0 2 0 0 d->wmTakeFocusAtom = XInternAtom(dpy, "WM_TAKE_FOCUS", 0);
+ 7 1 1 2 0 0 2 0 0 d->wmPingAtom = XInternAtom(dpy, "_NET_WM_PING", 0);
+ 7 0 0 2 0 0 2 0 0 d->wmSyncRequestAtom = XInternAtom(dpy, "_NET_WM_SYNC_REQUEST", 0);
+ . . . . . . . . .
+ 7 1 1 2 0 0 2 1 1 d->wmSyncRequestCounterAtom =
+ . . . . . . . . . XInternAtom(dpy, "_NET_WM_SYNC_REQUEST_COUNTER", 0);
+ . . . . . . . . .
+ 7 0 0 2 0 0 2 0 0 d->closeWindowAtom = XInternAtom(dpy, "_NET_CLOSE_WINDOW", 0);
+ 7 1 1 2 0 0 2 0 0 d->wmMoveResizeAtom = XInternAtom(dpy, "_NET_WM_MOVERESIZE", 0);
+ 7 1 1 2 0 0 2 0 0 d->moveResizeWindowAtom = XInternAtom(dpy, "_NET_MOVERESIZE_WINDOW", 0);
+ 7 0 0 2 0 0 2 0 0 d->restackWindowAtom = XInternAtom(dpy, "_NET_RESTACK_WINDOW", 0);
+ . . . . . . . . .
+ 7 1 1 2 0 0 2 0 0 d->showingDesktopAtom = XInternAtom(dpy, "_NET_SHOWING_DESKTOP", 0);
+ . . . . . . . . .
+ 7 0 0 2 0 0 2 0 0 d->xBackgroundAtom[0] = XInternAtom(dpy, "_XSETROOT_ID", 0);
+ 7 1 1 2 0 0 2 0 0 d->xBackgroundAtom[1] = XInternAtom(dpy, "_XROOTPMAP_ID", 0);
+ . . . . . . . . .
+ 7 1 1 2 0 0 2 1 1 d->toolkitActionAtom = XInternAtom(dpy, "_COMPIZ_TOOLKIT_ACTION", 0);
+ 7 0 0 2 0 0 2 0 0 d->toolkitActionMainMenuAtom =
+ . . . . . . . . . XInternAtom(dpy, "_COMPIZ_TOOLKIT_ACTION_MAIN_MENU", 0);
+ 7 1 1 2 0 0 2 0 0 d->toolkitActionRunDialogAtom =
+ . . . . . . . . . XInternAtom(dpy, "_COMPIZ_TOOLKIT_ACTION_RUN_DIALOG", 0);
+ 7 0 0 2 0 0 2 0 0 d->toolkitActionWindowMenuAtom =
+ . . . . . . . . . XInternAtom(dpy, "_COMPIZ_TOOLKIT_ACTION_WINDOW_MENU", 0);
+ 7 1 1 2 0 0 2 0 0 d->toolkitActionForceQuitDialogAtom =
+ . . . . . . . . . XInternAtom(dpy, "_COMPIZ_TOOLKIT_ACTION_FORCE_QUIT_DIALOG", 0);
+ . . . . . . . . .
+ 7 1 1 2 0 0 2 0 0 d->mwmHintsAtom = XInternAtom(dpy, "_MOTIF_WM_HINTS", 0);
+ . . . . . . . . .
+ 7 0 0 2 0 0 2 0 0 d->xdndAwareAtom = XInternAtom(dpy, "XdndAware", 0);
+ 7 1 1 2 0 0 2 0 0 d->xdndEnterAtom = XInternAtom(dpy, "XdndEnter", 0);
+ 7 1 1 2 0 0 2 1 1 d->xdndLeaveAtom = XInternAtom(dpy, "XdndLeave", 0);
+ 7 0 0 2 0 0 2 0 0 d->xdndPositionAtom = XInternAtom(dpy, "XdndPosition", 0);
+ 7 1 1 2 0 0 2 0 0 d->xdndStatusAtom = XInternAtom(dpy, "XdndStatus", 0);
+ 7 0 0 2 0 0 2 0 0 d->xdndDropAtom = XInternAtom(dpy, "XdndDrop", 0);
+ . . . . . . . . .
+ 7 1 1 2 0 0 2 0 0 d->managerAtom = XInternAtom(dpy, "MANAGER", 0);
+ 7 1 1 2 0 0 2 0 0 d->targetsAtom = XInternAtom(dpy, "TARGETS", 0);
+ 7 0 0 2 0 0 2 0 0 d->multipleAtom = XInternAtom(dpy, "MULTIPLE", 0);
+ 7 1 1 2 0 0 2 0 0 d->timestampAtom = XInternAtom(dpy, "TIMESTAMP", 0);
+ 7 0 0 2 0 0 2 1 1 d->versionAtom = XInternAtom(dpy, "VERSION", 0);
+ 7 1 1 2 0 0 2 0 0 d->atomPairAtom = XInternAtom(dpy, "ATOM_PAIR", 0);
+ . . . . . . . . .
+ 7 1 1 2 0 0 2 0 0 d->startupIdAtom = XInternAtom(dpy, "_NET_STARTUP_ID", 0);
+ . . . . . . . . .
+ 7 0 0 2 0 0 2 0 0 d->vertRestoreGeometryAtom =
+ . . . . . . . . . XInternAtom(dpy, "_XNET_VERT_RESTORE_GEOMETRY", 0);
+ 7 1 1 2 0 0 2 0 0 d->horzRestoreGeometryAtom =
+ . . . . . . . . . XInternAtom(dpy, "_XNET_HORZ_RESTORE_GEOMETRY", 0);
+ . . . . . . . . .
+ 7 0 0 2 0 0 2 0 0 d->changeFrameWindowAtom =
+ . . . . . . . . . XInternAtom(dpy, "_BERYL_CHANGE_FRAME_WINDOW", 0);
+ . . . . . . . . .
+ 7 1 1 2 0 0 2 0 0 d->snDisplay = sn_display_new(dpy, NULL, NULL);
+ 4 0 0 2 0 0 0 0 0 if (!d->snDisplay)
+ . . . . . . . . . return FALSE;
+ . . . . . . . . .
+ 2 1 1 1 0 0 1 0 0 d->lastPing = 1;
+ . . . . . . . . .
+ 12 1 1 4 0 0 1 0 0 if (!XQueryExtension(dpy,
+ . . . . . . . . . COMPOSITE_NAME,
+ . . . . . . . . . &d->compositeOpcode,
+ . . . . . . . . . &d->compositeEvent, &d->compositeError))
+ . . . . . . . . . {
+ . . . . . . . . . fprintf(stderr, _("%s: No composite extension\n"), programName);
+ . . . . . . . . . return FALSE;
+ . . . . . . . . . }
+ . . . . . . . . .
+ 4 1 1 1 0 0 1 0 0 XCompositeQueryVersion(dpy, &compositeMajor, &compositeMinor);
+ 6 0 0 2 0 0 0 0 0 if (compositeMajor == 0 && compositeMinor < 2)
+ . . . . . . . . . {
+ . . . . . . . . . fprintf(stderr, _("%s: Old composite extension\n"), programName);
+ . . . . . . . . . return FALSE;
+ . . . . . . . . . }
+ . . . . . . . . .
+ 8 1 1 3 1 0 1 0 0 if (!XDamageQueryExtension(dpy, &d->damageEvent, &d->damageError))
+ . . . . . . . . . {
+ . . . . . . . . . fprintf(stderr, _("%s: No damage extension\n"), programName);
+ . . . . . . . . . return FALSE;
+ . . . . . . . . . }
+ . . . . . . . . .
+ 8 2 2 3 1 0 1 0 0 if (!XRRQueryExtension(dpy, &d->randrEvent, &d->randrError))
+ . . . . . . . . . {
+ . . . . . . . . . fprintf(stderr, _("%s: No RandR extension\n"), programName);
+ . . . . . . . . . return FALSE;
+ . . . . . . . . . }
+ . . . . . . . . .
+ 8 1 1 3 1 0 1 0 0 if (!XSyncQueryExtension(dpy, &d->syncEvent, &d->syncError))
+ . . . . . . . . . {
+ . . . . . . . . . fprintf(stderr, _("%s: No sync extension\n"), programName);
+ . . . . . . . . . return FALSE;
+ . . . . . . . . . }
+ . . . . . . . . .
+ 9 1 1 4 1 0 2 0 0 d->shapeExtension = XShapeQueryExtension(dpy,
+ . . . . . . . . . &d->shapeEvent, &d->shapeError);
+ . . . . . . . . .
+ 12 1 1 4 0 0 2 0 0 d->xkbExtension = XkbQueryExtension(dpy,
+ . . . . . . . . . &xkbOpcode,
+ . . . . . . . . . &d->xkbEvent,
+ . . . . . . . . . &d->xkbError, NULL, NULL);
+ 4 1 1 2 0 0 0 0 0 if (d->xkbExtension)
+ . . . . . . . . . {
+ 6 0 0 1 0 0 1 0 0 XkbSelectEvents(dpy,
+ . . . . . . . . . XkbUseCoreKbd,
+ . . . . . . . . . XkbBellNotifyMask | XkbStateNotifyMask,
+ . . . . . . . . . XkbAllEventsMask);
+ . . . . . . . . . }
+ . . . . . . . . . else
+ . . . . . . . . . {
+ . . . . . . . . . fprintf(stderr, _("%s: No XKB extension\n"), programName);
+ . . . . . . . . .
+ . . . . . . . . . d->xkbEvent = d->xkbError = -1;
+ . . . . . . . . . }
+ . . . . . . . . .
+ 9 2 2 4 1 0 2 1 0 d->xineramaExtension = XineramaQueryExtension(dpy,
+ . . . . . . . . . &d->xineramaEvent,
+ . . . . . . . . . &d->xineramaError);
+ 4 0 0 2 0 0 0 0 0 if (d->xineramaExtension)
+ . . . . . . . . . {
+ . . . . . . . . . d->screenInfo = XineramaQueryScreens(dpy, &d->nScreenInfo);
+ . . . . . . . . . }
+ . . . . . . . . . else
+ . . . . . . . . . {
+ 2 1 1 1 0 0 1 0 0 d->screenInfo = NULL;
+ 2 0 0 1 0 0 1 0 0 d->nScreenInfo = 0;
+ . . . . . . . . . }
+ . . . . . . . . .
+ 2 0 0 1 0 0 1 1 1 compDisplays = d;
+ . . . . . . . . .
+ 8 1 1 2 0 0 3 1 1 d->escapeKeyCode = XKeysymToKeycode(dpy, XStringToKeysym("Escape"));
+ 8 1 1 2 0 0 3 0 0 d->returnKeyCode = XKeysymToKeycode(dpy, XStringToKeysym("Return"));
+ . . . . . . . . .
+ . . . . . . . . . {
+ . . . . . . . . . XSetWindowAttributes attr;
+ . . . . . . . . . Atom atom;
+ . . . . . . . . .
+ 1 0 0 0 0 0 1 1 1 attr.override_redirect = TRUE;
+ 20 2 2 3 0 0 9 2 2 d->glIncludeInferiorsOwner =
+ . . . . . . . . . XCreateWindow(dpy, XRootWindow(dpy, 0),
+ . . . . . . . . . -100, -100, 1, 1, 0,
+ . . . . . . . . . CopyFromParent, CopyFromParent,
+ . . . . . . . . . CopyFromParent, CWOverrideRedirect, &attr);
+ . . . . . . . . .
+ 5 0 0 1 0 0 2 0 0 atom = XInternAtom(dpy, "_COMPIZ_GL_INCLUDE_INFERIORS", False);
+ 6 1 1 4 0 0 1 0 0 XSetSelectionOwner(dpy, atom, d->glIncludeInferiorsOwner,
+ . . . . . . . . . CurrentTime);
+ . . . . . . . . . }
+ . . . . . . . . .
+ 4 0 0 3 0 0 0 0 0 if (screenNum >= ScreenCount(dpy))
+ . . . . . . . . . {
+ . . . . . . . . . fprintf(stderr,
+ . . . . . . . . . _("%s: Screen %d on display \"%s\" does not "
+ . . . . . . . . . "exist; defaulting to manage all existing screens.\n"),
+ . . . . . . . . . programName, screenNum, DisplayString(dpy));
+ . . . . . . . . . screenNum = -1;
+ . . . . . . . . . }
+ 4 1 1 2 0 0 1 1 0 for (i = screenNum < 0 ? 0 : screenNum;
+ 20 3 3 11 1 0 2 0 0 i < (screenNum < 0 ? ScreenCount(dpy) : screenNum + 1); i++)
+ . . . . . . . . . {
+ 2 1 1 0 0 0 2 0 0 Window newWmSnOwner = None, newCmSnOwner = None;
+ 2 0 0 0 0 0 2 1 0 Atom wmSnAtom = 0, cmSnAtom = 0;
+ 1 0 0 0 0 0 1 0 0 Time wmSnTimestamp = 0;
+ . . . . . . . . . XEvent event;
+ . . . . . . . . . XSetWindowAttributes attr;
+ . . . . . . . . . Window currentWmSnOwner, currentCmSnOwner;
+ . . . . . . . . . char buf[128];
+ . . . . . . . . . Window rootDummy, childDummy;
+ . . . . . . . . . unsigned int uDummy;
+ . . . . . . . . . int x, y, dummy;
+ . . . . . . . . .
+ 5 1 1 1 0 0 1 0 0 sprintf(buf, "WM_S%d", i);
+ 5 0 0 1 0 0 2 0 0 wmSnAtom = XInternAtom(dpy, buf, 0);
+ . . . . . . . . .
+ 4 1 1 2 0 0 2 0 0 currentWmSnOwner = XGetSelectionOwner(dpy, wmSnAtom);
+ . . . . . . . . .
+ 2 0 0 1 0 0 0 0 0 if (currentWmSnOwner != None)
+ . . . . . . . . . {
+ 3 0 0 1 1 1 0 0 0 if (!replaceCurrentWm)
+ . . . . . . . . . {
+ . . . . . . . . . fprintf(stderr,
+ . . . . . . . . . _
+ . . . . . . . . . ("%s: Screen %d on display \"%s\" already "
+ . . . . . . . . . "has a window manager; try using the "
+ . . . . . . . . . "--replace option to replace the current "
+ . . . . . . . . . "window manager.\n"), programName,
+ . . . . . . . . . i, DisplayString(dpy));
+ . . . . . . . . .
+ . . . . . . . . . continue;
+ . . . . . . . . . }
+ . . . . . . . . .
+ 4 1 1 2 0 0 1 0 0 XSelectInput(dpy, currentWmSnOwner, StructureNotifyMask);
+ . . . . . . . . . }
+ . . . . . . . . .
+ 5 1 1 1 0 0 1 0 0 sprintf(buf, "_NET_WM_CM_S%d", i);
+ 5 0 0 1 0 0 2 0 0 cmSnAtom = XInternAtom(dpy, buf, 0);
+ . . . . . . . . .
+ 4 1 1 2 0 0 2 0 0 currentCmSnOwner = XGetSelectionOwner(dpy, cmSnAtom);
+ . . . . . . . . .
+ 2 0 0 1 0 0 0 0 0 if (currentCmSnOwner != None)
+ . . . . . . . . . {
+ 3 0 0 1 0 0 0 0 0 if (!replaceCurrentWm)
+ . . . . . . . . . {
+ . . . . . . . . . fprintf(stderr,
+ . . . . . . . . . _
+ . . . . . . . . . ("%s: Screen %d on display \"%s\" already "
+ . . . . . . . . . "has a compositing manager; try using the "
+ . . . . . . . . . "--replace option to replace the current "
+ . . . . . . . . . "compositing manager .\n"),
+ . . . . . . . . . programName, i, DisplayString(dpy));
+ . . . . . . . . .
+ . . . . . . . . . continue;
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . .
+ 1 1 1 0 0 0 1 0 0 attr.override_redirect = TRUE;
+ 1 0 0 0 0 0 1 0 0 attr.event_mask = PropertyChangeMask;
+ . . . . . . . . .
+ 20 2 2 4 0 0 10 1 0 newCmSnOwner = newWmSnOwner =
+ . . . . . . . . . XCreateWindow(dpy, XRootWindow(dpy, i),
+ . . . . . . . . . -100, -100, 1, 1, 0,
+ . . . . . . . . . CopyFromParent, CopyFromParent,
+ . . . . . . . . . CopyFromParent,
+ . . . . . . . . . CWOverrideRedirect | CWEventMask, &attr);
+ . . . . . . . . .
+ 13 1 1 6 1 0 3 0 0 XChangeProperty(dpy,
+ . . . . . . . . . newWmSnOwner,
+ . . . . . . . . . d->wmNameAtom,
+ . . . . . . . . . d->utf8StringAtom, 8,
+ . . . . . . . . . PropModeReplace,
+ . . . . . . . . . (unsigned char *)WMNAME, strlen(WMNAME));
+ . . . . . . . . .
+ 5 1 1 2 0 0 1 0 0 XWindowEvent(dpy, newWmSnOwner, PropertyChangeMask, &event);
+ . . . . . . . . .
+ 2 0 0 1 0 0 1 1 0 wmSnTimestamp = event.xproperty.time;
+ . . . . . . . . .
+ 5 1 1 4 0 0 1 0 0 XSetSelectionOwner(dpy, wmSnAtom, newWmSnOwner, wmSnTimestamp);
+ . . . . . . . . .
+ 5 0 0 3 0 0 1 0 0 if (XGetSelectionOwner(dpy, wmSnAtom) != newWmSnOwner)
+ . . . . . . . . . {
+ . . . . . . . . . fprintf(stderr,
+ . . . . . . . . . _("%s: Could not acquire window manager "
+ . . . . . . . . . "selection on screen %d display \"%s\"\n"),
+ . . . . . . . . . programName, i, DisplayString(dpy));
+ . . . . . . . . .
+ . . . . . . . . . XDestroyWindow(dpy, newWmSnOwner);
+ . . . . . . . . .
+ . . . . . . . . . continue;
+ . . . . . . . . . }
+ . . . . . . . . .
+ . . . . . . . . . /* Send client message indicating that we are now the WM */
+ 1 1 1 0 0 0 1 0 0 event.xclient.type = ClientMessage;
+ 4 1 1 2 0 0 2 0 0 event.xclient.window = XRootWindow(dpy, i);
+ 3 0 0 2 1 0 1 0 0 event.xclient.message_type = d->managerAtom;
+ 1 0 0 0 0 0 1 0 0 event.xclient.format = 32;
+ 2 0 0 1 0 0 1 0 0 event.xclient.data.l[0] = wmSnTimestamp;
+ 2 1 1 1 0 0 1 0 0 event.xclient.data.l[1] = wmSnAtom;
+ 1 0 0 0 0 0 1 0 0 event.xclient.data.l[2] = 0;
+ 1 0 0 0 0 0 1 0 0 event.xclient.data.l[3] = 0;
+ 1 0 0 0 0 0 1 0 0 event.xclient.data.l[4] = 0;
+ . . . . . . . . .
+ 10 1 1 3 0 0 2 0 0 XSendEvent(dpy, XRootWindow(dpy, i), FALSE,
+ . . . . . . . . . StructureNotifyMask, &event);
+ . . . . . . . . .
+ . . . . . . . . . /* Wait for old window manager to go away */
+ 2 0 0 1 0 0 0 0 0 if (currentWmSnOwner != None)
+ . . . . . . . . . {
+ . . . . . . . . . do
+ . . . . . . . . . {
+ 5 1 1 2 0 0 1 0 0 XWindowEvent(dpy, currentWmSnOwner,
+ . . . . . . . . . StructureNotifyMask, &event);
+ . . . . . . . . . }
+ 3 0 0 1 0 0 0 0 0 while (event.type != DestroyNotify);
+ . . . . . . . . . }
+ . . . . . . . . .
+ 2 0 0 1 0 0 1 0 0 compCheckForError(dpy);
+ . . . . . . . . .
+ 7 1 1 3 0 0 2 0 0 XCompositeRedirectSubwindows(dpy, XRootWindow(dpy, i),
+ . . . . . . . . . CompositeRedirectManual);
+ . . . . . . . . .
+ 4 0 0 1 0 0 1 0 0 if (compCheckForError(dpy))
+ . . . . . . . . . {
+ . . . . . . . . . fprintf(stderr,
+ . . . . . . . . . _
+ . . . . . . . . . ("%s: Another composite manager is already "
+ . . . . . . . . . "running on screen: %d\n"), programName, i);
+ . . . . . . . . .
+ . . . . . . . . . continue;
+ . . . . . . . . . }
+ . . . . . . . . .
+ 5 1 1 4 0 0 1 0 0 XSetSelectionOwner(dpy, cmSnAtom, newCmSnOwner, wmSnTimestamp);
+ . . . . . . . . .
+ 5 0 0 3 0 0 1 0 0 if (XGetSelectionOwner(dpy, cmSnAtom) != newCmSnOwner)
+ . . . . . . . . . {
+ . . . . . . . . . fprintf(stderr,
+ . . . . . . . . . _
+ . . . . . . . . . ("%s: Could not acquire compositing manager "
+ . . . . . . . . . "selection on screen %d display \"%s\"\n"),
+ . . . . . . . . . programName, i, DisplayString(dpy));
+ . . . . . . . . .
+ . . . . . . . . . continue;
+ . . . . . . . . . }
+ . . . . . . . . .
+ 2 2 2 1 0 0 1 0 0 XGrabServer(dpy);
+ . . . . . . . . .
+ 7 0 0 3 0 0 2 0 0 XSelectInput(dpy, XRootWindow(dpy, i),
+ . . . . . . . . . SubstructureRedirectMask |
+ . . . . . . . . . SubstructureNotifyMask |
+ . . . . . . . . . StructureNotifyMask |
+ . . . . . . . . . PropertyChangeMask |
+ . . . . . . . . . LeaveWindowMask |
+ . . . . . . . . . EnterWindowMask |
+ . . . . . . . . . KeyPressMask |
+ . . . . . . . . . KeyReleaseMask |
+ . . . . . . . . . ButtonPressMask |
+ . . . . . . . . . ButtonReleaseMask | FocusChangeMask | ExposureMask);
+ . . . . . . . . .
+ 4 0 0 1 0 0 1 0 0 if (compCheckForError(dpy))
+ . . . . . . . . . {
+ . . . . . . . . . fprintf(stderr, _("%s: Another window manager is "
+ . . . . . . . . . "already running on screen: %d\n"),
+ . . . . . . . . . programName, i);
+ . . . . . . . . .
+ . . . . . . . . . XUngrabServer(dpy);
+ . . . . . . . . . continue;
+ . . . . . . . . . }
+ . . . . . . . . .
+ 9 3 2 5 0 0 1 0 0 if (!addScreen(d, i, newWmSnOwner, wmSnAtom, wmSnTimestamp))
+ . . . . . . . . . {
+ . . . . . . . . . fprintf(stderr,
+ . . . . . . . . . _("%s: Failed to manage screen: %d\n"), programName, i);
+ . . . . . . . . . }
+ . . . . . . . . .
+ 23 2 2 3 2 0 5 0 0 if (XQueryPointer(dpy, XRootWindow(dpy, i),
+ . . . . . . . . . &rootDummy, &childDummy,
+ . . . . . . . . . &x, &y, &dummy, &dummy, &uDummy))
+ . . . . . . . . . {
+ 7 1 1 5 0 0 2 1 1 d->lastPointerX = d->pointerX = x;
+ 7 1 0 5 0 0 2 0 0 d->lastPointerY = d->pointerY = y;
+ . . . . . . . . . }
+ . . . . . . . . .
+ 2 0 0 1 0 0 1 0 0 XUngrabServer(dpy);
+ . . . . . . . . . }
+ . . . . . . . . .
+ 4 0 0 2 1 0 0 0 0 if (!d->screens)
+ . . . . . . . . . {
+ . . . . . . . . . fprintf(stderr,
+ . . . . . . . . . _
+ . . . . . . . . . ("%s: No manageable screens found on display %s\n"),
+ . . . . . . . . . programName, XDisplayName(name));
+ . . . . . . . . . return FALSE;
+ . . . . . . . . . }
+ . . . . . . . . .
+ 4 1 1 3 1 1 1 0 0 setAudibleBell(d, d->opt[COMP_DISPLAY_OPTION_AUDIBLE_BELL].value.b);
+ . . . . . . . . .
+ 4 1 1 1 0 0 1 0 0 XGetInputFocus(dpy, &focus, &revertTo);
+ . . . . . . . . .
+ 7 0 0 2 0 0 0 0 0 if (focus == None || focus == PointerRoot)
+ . . . . . . . . . {
+ 2 0 0 1 0 0 1 0 0 focusDefaultWindow(d);
+ . . . . . . . . . }
+ . . . . . . . . . else
+ . . . . . . . . . {
+ . . . . . . . . . CompWindow *w;
+ . . . . . . . . .
+ . . . . . . . . . w = findWindowAtDisplay(d, focus);
+ . . . . . . . . . if (w)
+ . . . . . . . . . {
+ . . . . . . . . . moveInputFocusToWindow(w);
+ . . . . . . . . . }
+ . . . . . . . . . else
+ . . . . . . . . . focusDefaultWindow(d);
+ . . . . . . . . . }
+ . . . . . . . . .
+ 7 1 1 2 1 0 2 1 0 d->pingHandle = compAddTimeout(PING_DELAY, pingTimeout, d);
+ . . . . . . . . .
+ 3 0 0 1 1 0 0 0 0 if (!noShm)
+ . . . . . . . . . {
+ 7 1 1 1 0 0 2 1 0 d->shmInfo.shmid = shmget(IPC_PRIVATE, SHM_SIZE, IPC_CREAT | 0777);
+ 4 0 0 2 0 0 0 0 0 if (d->shmInfo.shmid < 0)
+ . . . . . . . . . {
+ . . . . . . . . . fprintf(stderr, _("%s: Error int SHM creation\n"), programName);
+ . . . . . . . . . noShm = TRUE;
+ . . . . . . . . . return TRUE;
+ . . . . . . . . . }
+ . . . . . . . . .
+ 8 2 2 3 0 0 2 1 0 d->shmInfo.shmaddr = (char *)shmat(d->shmInfo.shmid, 0, 0);
+ 4 0 0 2 0 0 0 0 0 if (d->shmInfo.shmaddr == ((char *)-1))
+ . . . . . . . . . {
+ . . . . . . . . . shmctl(d->shmInfo.shmid, IPC_RMID, 0);
+ . . . . . . . . . fprintf(stderr, _("%s: Error int SHM creation\n"), programName);
+ . . . . . . . . . noShm = TRUE;
+ . . . . . . . . . return TRUE;
+ . . . . . . . . . }
+ 2 1 1 1 0 0 1 1 0 d->shmInfo.readOnly = False;
+ . . . . . . . . .
+ 4 1 1 2 0 0 1 0 0 XShmAttach(dpy, &d->shmInfo);
+ . . . . . . . . . }
+ . . . . . . . . . CompOption *option;
+ . . . . . . . . . int nOption;
+ 1 0 0 0 0 0 1 1 0 nOption=0;
+ 4 0 0 1 0 0 2 0 0 option = compGetDisplayOptions(d, &nOption);
+ 379 65 3 126 62 0 63 0 0 while (nOption--)
+ . . . . . . . . . {
+ . . . . . . . . . CompOptionValue value;
+ 1,054 123 1 496 108 63 434 63 0 memcpy ( &value, &option->value, sizeof(CompOptionValue));
+ 682 0 0 248 91 18 62 0 0 if (beryl_settings_context_comp_get_option_value(d->context,NULL,option->name,FALSE,&value))
+ . . . . . . . . . {
+ 434 0 0 310 63 1 62 0 0 d->setDisplayOption(d,option->name,&value);
+ . . . . . . . . . }
+ 62 62 0 62 62 0 0 0 0 option++;
+ . . . . . . . . . }
+ 2 0 0 1 0 0 1 1 0 return TRUE;
+ 5 0 0 4 2 1 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . Time getCurrentTimeFromDisplay(CompDisplay * d)
+ . . . . . . . . . {
+ . . . . . . . . . XEvent event;
+ . . . . . . . . .
+ . . . . . . . . . XChangeProperty(d->display, d->screens->grabWindow,
+ . . . . . . . . . XA_PRIMARY, XA_STRING, 8, PropModeAppend, NULL, 0);
+ . . . . . . . . . XWindowEvent(d->display, d->screens->grabWindow,
+ . . . . . . . . . PropertyChangeMask, &event);
+ . . . . . . . . .
+ . . . . . . . . . return event.xproperty.time;
+ . . . . . . . . . }
+ . . . . . . . . .
+ . . . . . . . . . void focusDefaultWindow(CompDisplay * d)
+ 20 4 2 0 0 0 10 0 0 {
+ . . . . . . . . . CompScreen *s;
+ . . . . . . . . . CompWindow *w;
+ 5 0 0 0 0 0 5 0 0 CompWindow *focus = NULL;
+ . . . . . . . . .
+ 55 8 4 30 5 0 10 0 0 for (s = d->screens; s; s = s->next)
+ . . . . . . . . . {
+ 5,780 4 2 3,465 976 0 1,155 0 0 for (w = s->reverseWindows; w; w = w->prev)
+ . . . . . . . . . {
+11,450 0 0 4,580 1,121 100 0 0 0 if ((w->type & CompWindowTypeDockMask) ||
+ . . . . . . . . . (w->state & CompWindowStateNoFocusMask))
+ . . . . . . . . . continue;
+ . . . . . . . . .
+ 6,840 0 0 3,420 2 0 1,140 0 0 if ((*s->focusWindow) (w))
+ . . . . . . . . . {
+ 10 0 0 5 0 0 0 0 0 if (focus)
+ . . . . . . . . . {
+ . . . . . . . . . if (w->
+ . . . . . . . . . type &
+ . . . . . . . . . (CompWindowTypeNormalMask |
+ . . . . . . . . . CompWindowTypeDialogMask |
+ . . . . . . . . . CompWindowTypeModalDialogMask))
+ . . . . . . . . . {
+ . . . . . . . . . if (w->activeNum >
+ . . . . . . . . . focus->activeNum
+ . . . . . . . . . && !w->state & CompWindowStateStickyMask)
+ . . . . . . . . . focus = w;
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . . else
+ 10 0 0 5 0 0 5 0 0 focus = w;
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . .
+ 10 0 0 5 0 0 0 0 0 if (focus)
+ . . . . . . . . . {
+ 30 0 0 20 5 1 0 0 0 if (focus->id != d->activeWindow)
+ 9 0 0 3 0 0 3 0 0 moveInputFocusToWindow(focus);
+ . . . . . . . . . }
+ . . . . . . . . . else
+ . . . . . . . . . {
+ . . . . . . . . . XSetInputFocus(d->display, d->screens->root,
+ . . . . . . . . . RevertToPointerRoot, CurrentTime);
+ . . . . . . . . . }
+ 10 4 1 10 3 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . CompScreen *findScreenAtDisplay(CompDisplay * d, Window root)
+ 3,760 93 2 0 0 0 2,820 49 0 {
+ . . . . . . . . . CompScreen *s;
+ . . . . . . . . .
+ 6,410 98 3 3,282 2 0 1,094 0 0 for (s = d->screens; s; s = s->next)
+ . . . . . . . . . {
+ 3,760 0 0 2,820 29 0 0 0 0 if (s->root == root)
+ 2,358 0 0 786 0 0 786 119 0 return s;
+ . . . . . . . . . }
+ . . . . . . . . .
+ 1,094 0 0 940 0 0 154 0 0 return 0;
+ 1,880 0 0 1,880 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . void
+ . . . . . . . . . forEachWindowOnDisplay(CompDisplay * display,
+ . . . . . . . . . ForEachWindowProc proc, void *closure)
+ . . . . . . . . . {
+ . . . . . . . . . CompScreen *s;
+ . . . . . . . . .
+ . . . . . . . . . for (s = display->screens; s; s = s->next)
+ . . . . . . . . . forEachWindowOnScreen(s, proc, closure);
+ . . . . . . . . . }
+ . . . . . . . . .
+ . . . . . . . . . CompWindow *findWindowAtDisplay(CompDisplay * d, Window id)
+ 1,390 62 4 0 0 0 834 8 0 {
+ 1,910 0 0 1,085 73 0 0 0 0 if (lastFoundWindow && lastFoundWindow->id == id)
+ . . . . . . . . . {
+ 591 0 0 197 0 0 197 31 0 return lastFoundWindow;
+ . . . . . . . . . }
+ . . . . . . . . . else
+ . . . . . . . . . {
+ . . . . . . . . . CompScreen *s;
+ . . . . . . . . . CompWindow *w;
+ . . . . . . . . .
+ 596 9 1 309 1 0 103 0 0 for (s = d->screens; s; s = s->next)
+ . . . . . . . . . {
+ 324 0 0 162 0 0 162 21 0 w = findWindowAtScreen(s, id);
+ 162 0 0 81 0 0 0 0 0 if (w)
+ 177 0 0 59 0 0 59 0 0 return w;
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . .
+ 300 20 1 278 0 0 22 0 0 return 0;
+ 556 32 2 556 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . CompWindow *findTopLevelWindowAtDisplay(CompDisplay * d, Window id)
+ . . . . . . . . . {
+ . . . . . . . . . if (lastFoundWindow && lastFoundWindow->id == id)
+ . . . . . . . . . {
+ . . . . . . . . . return lastFoundWindow;
+ . . . . . . . . . }
+ . . . . . . . . . else
+-- line 3077 ----------------------------------------
+-- line 3334 ----------------------------------------
+ . . . . . . . . . event->xselectionclear.window,
+ . . . . . . . . . event->xselectionclear.selection);
+ . . . . . . . . .
+ . . . . . . . . . if (screen)
+ . . . . . . . . . shutDown = TRUE;
+ . . . . . . . . . }
+ . . . . . . . . .
+ . . . . . . . . . void warpPointer(CompDisplay * display, int dx, int dy)
+ 9 2 2 1 0 0 5 0 0 {
+ 3 0 0 2 0 0 1 0 0 CompScreen *s = display->screens;
+ . . . . . . . . . XEvent event;
+ . . . . . . . . .
+ 6 1 1 4 0 0 1 0 0 display->pointerX += dx;
+ 6 0 0 4 0 0 1 0 0 display->pointerY += dy;
+ . . . . . . . . .
+ 6 1 1 4 0 0 0 0 0 if (display->pointerX >= s->width)
+ . . . . . . . . . display->pointerX = s->width - 1;
+ 4 1 1 2 0 0 0 0 0 else if (display->pointerX < 0)
+ . . . . . . . . . display->pointerX = 0;
+ . . . . . . . . .
+ 6 0 0 4 0 0 0 0 0 if (display->pointerY >= s->height)
+ . . . . . . . . . display->pointerY = s->height - 1;
+ 4 1 1 2 0 0 0 0 0 else if (display->pointerY < 0)
+ . . . . . . . . . display->pointerY = 0;
+ . . . . . . . . .
+ 17 2 2 8 0 0 4 0 0 XWarpPointer(display->display,
+ . . . . . . . . . None, s->root, 0, 0, 0, 0, display->pointerX,
+ . . . . . . . . . display->pointerY);
+ . . . . . . . . .
+ 4 0 0 2 0 0 1 0 0 XSync(display->display, FALSE);
+ . . . . . . . . .
+ 14 1 1 4 0 0 2 0 0 while (XCheckMaskEvent(display->display,
+ . . . . . . . . . LeaveWindowMask |
+ . . . . . . . . . EnterWindowMask | PointerMotionMask, &event));
+ . . . . . . . . .
+ 3 0 0 1 1 0 0 0 0 if (!inHandleEvent)
+ . . . . . . . . . {
+ 4 0 0 3 1 0 1 0 0 display->lastPointerX = display->pointerX;
+ 4 1 1 3 0 0 1 0 0 display->lastPointerY = display->pointerY;
+ . . . . . . . . . }
+ 5 0 0 4 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . Bool
+ . . . . . . . . . setDisplayAction(CompDisplay * display,
+ . . . . . . . . . CompOption * o, CompOptionValue * value)
+ 600 44 2 0 0 0 400 0 0 {
+ . . . . . . . . . CompScreen *s;
+ . . . . . . . . .
+ 1,100 45 2 600 65 0 200 0 0 for (s = display->screens; s; s = s->next)
+ 400 0 0 200 0 0 100 0 0 removeScreenAction(s, &o->value.action);
+ . . . . . . . . .
+ 1,100 43 2 600 0 0 200 0 0 for (s = display->screens; s; s = s->next)
+ 300 0 0 200 0 0 100 0 0 addScreenAction(s, &value->action);
+ . . . . . . . . . // break;
+ . . . . . . . . .
+ . . . . . . . . . /* if (s)
+ . . . . . . . . . {
+ . . . . . . . . . CompScreen *failed = s;
+ . . . . . . . . .
+ . . . . . . . . . for (s = display->screens; s && s != failed; s = s->next)
+ . . . . . . . . . removeScreenAction (s, &value->action);
+ . . . . . . . . . for (s = display->screens; s; s = s->next)
+ . . . . . . . . . addScreenAction (s, &o->value.action);
+ . . . . . . . . . printf ("Couldn't set %s\n",o->name);
+ . . . . . . . . .
+ . . . . . . . . . return FALSE;
+ . . . . . . . . . } */
+ . . . . . . . . .
+ 500 0 0 200 0 0 100 0 0 if (compSetActionOption(o, value))
+ 6 0 0 0 0 0 3 0 0 return TRUE;
+ . . . . . . . . .
+ 197 0 0 100 0 0 97 0 0 return FALSE;
+ 200 0 0 200 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . void clearTargetOutput(CompDisplay * display, unsigned int mask)
+ . . . . . . . . . {
+ . . . . . . . . . if (targetScreen)
+ . . . . . . . . . clearScreenOutput(targetScreen, targetOutput, mask);
+ . . . . . . . . . }
+ . . . . . . . . .
+ . . . . . . . . . #define HOME_IMAGEDIR ".beryl/images"
+ . . . . . . . . .
+ . . . . . . . . . Bool
+ . . . . . . . . . readImageFromFile(CompDisplay * display,
+ . . . . . . . . . const char *name, int *width, int *height, void **data)
+ 81 18 6 0 0 0 63 0 0 {
+ . . . . . . . . . Bool status;
+ . . . . . . . . . int stride;
+ . . . . . . . . .
+ 153 9 4 63 2 1 27 6 0 status = (*display->fileToImage) (display, NULL, name, width, height,
+ . . . . . . . . . &stride, data);
+ 18 0 0 9 0 0 0 0 0 if (!status)
+ . . . . . . . . . {
+ . . . . . . . . . char *home;
+ . . . . . . . . .
+ 15 0 0 0 0 0 10 1 0 home = getenv("HOME");
+ 10 0 0 5 0 0 0 0 0 if (home)
+ . . . . . . . . . {
+ . . . . . . . . . char *path;
+ . . . . . . . . .
+ 115 5 2 65 0 0 15 1 0 path = malloc(strlen(home) + strlen(HOME_IMAGEDIR) + 2);
+ 10 0 0 5 0 0 0 0 0 if (path)
+ . . . . . . . . . {
+ 30 0 0 10 0 0 5 0 0 sprintf(path, "%s/%s", home, HOME_IMAGEDIR);
+ 90 5 2 40 0 0 15 0 0 status = (*display->fileToImage) (display, path, name,
+ . . . . . . . . . width, height, &stride,
+ . . . . . . . . . data);
+ . . . . . . . . .
+ 10 5 2 5 0 0 5 0 0 free(path);
+ . . . . . . . . .
+ 10 0 0 5 0 0 0 0 0 if (status)
+ . . . . . . . . . return TRUE;
+ . . . . . . . . . }
+ . . . . . . . . . }
+ . . . . . . . . .
+ 85 7 2 35 0 0 15 0 0 status = (*display->fileToImage) (display, IMAGEDIR, name,
+ . . . . . . . . . width, height, &stride, data);
+ . . . . . . . . . }
+ . . . . . . . . .
+ 27 4 2 18 0 0 9 0 0 return status;
+ 36 0 0 27 4 2 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . Bool
+ . . . . . . . . . writeImageToFile(CompDisplay * display,
+ . . . . . . . . . const char *path,
+ . . . . . . . . . const char *name,
+ . . . . . . . . . const char *format, int width, int height, void *data)
+ . . . . . . . . . {
+ . . . . . . . . . return (*display->imageToFile) (display, path, name, format, width,
+-- line 3462 ----------------------------------------
+-- line 3463 ----------------------------------------
+ . . . . . . . . . height, width * 4, data);
+ . . . . . . . . . }
+ . . . . . . . . .
+ . . . . . . . . . Bool
+ . . . . . . . . . fileToImage(CompDisplay * display,
+ . . . . . . . . . const char *path,
+ . . . . . . . . . const char *name,
+ . . . . . . . . . int *width, int *height, int *stride, void **data)
+ 104 5 2 0 0 0 91 0 0 {
+ 13 0 0 0 0 0 0 0 0 return FALSE;
+ 26 4 1 26 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . Bool
+ . . . . . . . . . imageToFile(CompDisplay * display,
+ . . . . . . . . . const char *path,
+ . . . . . . . . . const char *name,
+ . . . . . . . . . const char *format, int width, int height, int stride, void *data)
+ . . . . . . . . . {
+ . . . . . . . . . return FALSE;
+-- line 3481 ----------------------------------------
+
+--------------------------------------------------------------------------------
+-- User-annotated source: ipcs.c
+--------------------------------------------------------------------------------
+ Ir I1mr I2mr Dr D1mr D2mr Dw D1mw D2mw
+
+-- line 47 ----------------------------------------
+ . . . . . . . . .
+ . . . . . . . . . Bool IPCS_lock = FALSE;
+ . . . . . . . . .
+ . . . . . . . . . #define CHECK_LOCK if (IPCS_lock) { fprintf(stderr,"[IPCS]: Unable to change values during paint operations!\n"); return; }
+ . . . . . . . . . #define CHECK_LOCK_ERR if (IPCS_lock) { fprintf(stderr,"[IPCS]: Unable to change values during paint operations!\n"); return -1; }
+ . . . . . . . . . #define UNPACK_ATOM int type=(*atoms)[valueAtom].type, pos=(*atoms)[valueAtom].pos
+ . . . . . . . . .
+ . . . . . . . . . static void IPCSresize(unsigned int *size, unsigned char **data, int pos)
+ 1,548 15 2 0 0 0 1,032 5 0 {
+ 1,290 0 0 774 0 0 0 0 0 if (pos <= *size)
+ . . . . . . . . . return;
+ 1,920 0 0 960 0 0 480 0 0 *data = realloc(*data, pos);
+ 5,784 10 1 1,680 0 0 1,224 0 0 bzero((*data) + (*size), pos - (*size));
+ 720 0 0 480 0 0 240 0 0 *size = pos;
+ 516 7 1 516 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . int IPCS_GetType(char *type)
+ . . . . . . . . . {
+ . . . . . . . . . int i;
+ . . . . . . . . .
+ . . . . . . . . . for (i = 0; i < (sizeof(IPCSTypes) / sizeof(IPCS_Type)); i++)
+ . . . . . . . . . {
+ . . . . . . . . . if (!strcasecmp(type, IPCSTypes[i].name))
+ . . . . . . . . . return i;
+ . . . . . . . . . }
+ . . . . . . . . . return 0;
+ . . . . . . . . . }
+ . . . . . . . . .
+ . . . . . . . . . int IPCS_GetAtom(IPCS_OBJ, int type, char *name, Bool create)
+ 23,100 260 2 0 0 0 18,480 1,096 0 {
+ . . . . . . . . . int i;
+ . . . . . . . . .
+ . . . . . . . . . //look for existing atom
+ 49,134 260 3 28,906 1,290 156 2,310 0 0 for (i = 0; i < *atom_count; i++)
+ . . . . . . . . . {
+ 90,841 213 2 48,145 1,072 222 2,090 345 0 if ((*atoms)[i].type == type && !strcasecmp((*atoms)[i].name, name))
+ 6,135 0 0 2,045 0 0 2,045 0 0 return i;
+ . . . . . . . . . }
+ . . . . . . . . . //no existing atom
+ 530 0 0 265 0 0 0 0 0 if (create)
+ . . . . . . . . . {
+ 732 0 0 244 21 1 0 0 0 CHECK_LOCK_ERR;
+ 2,928 11 3 1,220 0 0 488 0 0 *atoms = realloc(*atoms, sizeof(IPCS_Atom) * (*atom_count + 1));
+ 2,440 7 3 1,220 0 0 488 0 0 (*atoms)[*atom_count].name = strdup(name);
+ 2,196 0 0 1,220 0 0 244 0 0 (*atoms)[*atom_count].type = type;
+ 976 7 3 488 0 0 0 0 0 if (*atom_count > 0)
+ 192 1 0 90 4 4 6 0 0 (*atoms)[*atom_count].pos =
+ . . . . . . . . . (*atoms)[*atom_count - 1].pos +
+ . . . . . . . . . IPCSTypes[(*atoms)[*atom_count - 1].type].size + 1;
+ . . . . . . . . . else
+ 1,904 14 4 952 0 0 238 0 0 (*atoms)[*atom_count].pos = 0;
+ 1,220 1 0 732 0 0 244 0 0 *atom_count = *atom_count + 1;
+ 1,220 0 0 488 0 0 244 0 0 return *atom_count - 1;
+ . . . . . . . . . }
+ 2,331 44 1 2,310 0 0 21 0 0 return -1;
+ 9,240 0 0 6,930 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . // is the value set?
+ . . . . . . . . . Bool IPCS_IsSet(IPCS_OBJ, int valueAtom)
+ 14,070 184 1 0 0 0 12,060 552 0 {
+ 4,020 0 0 2,010 0 0 0 0 0 if (valueAtom < 0)
+ . . . . . . . . . return FALSE;
+ 32,160 21 1 16,080 0 0 4,020 0 0 UNPACK_ATOM;
+ 2,010 0 0 0 0 0 2,010 0 0 type = 0; // compiler warning stupidity
+ 10,050 0 0 6,030 0 0 0 0 0 if (pos >= (*size))
+ . . . . . . . . . return FALSE;
+ 12,060 14 1 6,030 0 0 2,010 0 0 Bool *block = (Bool *) ((*data) + pos);
+ . . . . . . . . .
+ 8,040 0 0 6,030 998 0 2,010 0 0 return (*block);
+ 4,020 0 0 4,020 0 0 0 0 0 }
+ . . . . . . . . .
+ . . . . . . . . . Bool IPCS_IsSetN(IPCS_OBJ, int type, char *name)
+ . . . . . . . . . {
+ . . . . . . . . . return IPCS_IsSet(size, data, atom_count, atoms,
+ . . . . . . . . . IPCS_GetAtom(size, data, atom_count, atoms, type,
+ . . . . . . . . . name, FALSE));
+ . . . . . . . . . }
+ . . . . . . . . .
+-- line 124 ----------------------------------------
+-- line 213 ----------------------------------------
+ . . . . . . . . . ctype IPCS_Get ## itype ## ND (IPCS_OBJ,char * name , ctype def) \
+ . . . . . . . . . { \
+ . . . . . . . . . return IPCS_Get ## itype ## D (size,data,atom_count,atoms, \
+ . . . . . . . . . IPCS_GetAtom (size,data,atom_count,atoms, ipcs_type, name, FALSE), \
+ . . . . . . . . . def); \
+ . . . . . . . . . } \
+ . . . . . . . . .
+ . . . . . . . . .
+ 52,872 2,770 23 22,536 1,331 3 11,257 717 3 IPCS_GEN_FUNCTIONS(Bool, Bool, IPCS_BOOL)
+ . . . . . . . . . IPCS_GEN_FUNCTIONS(unsigned char, UChar, IPCS_UCHAR)
+ 66 5 5 28 0 0 14 0 0 IPCS_GEN_FUNCTIONS(int, Int, IPCS_INT)
+ . . . . . . . . . IPCS_GEN_FUNCTIONS(char, Char, IPCS_CHAR)
+ . . . . . . . . . IPCS_GEN_FUNCTIONS(unsigned int, UInt, IPCS_UINT)
+ . . . . . . . . . IPCS_GEN_FUNCTIONS(short, Short, IPCS_SHORT)
+ . . . . . . . . . IPCS_GEN_FUNCTIONS(unsigned short, UShort, IPCS_USHORT)
+ . . . . . . . . . IPCS_GEN_FUNCTIONS(long, Long, IPCS_LONG)
+ . . . . . . . . . IPCS_GEN_FUNCTIONS(unsigned long, ULong, IPCS_ULONG)
+ 231 20 10 99 1 0 49 0 0 IPCS_GEN_FUNCTIONS(float, Float, IPCS_FLOAT)
+ . . . . . . . . . IPCS_GEN_FUNCTIONS(double, Double, IPCS_DOUBLE)
+ . . . . . . . . . IPCS_GEN_FUNCTIONS(char *, CPtr, IPCS_CPTR)
+162,516 4,934 12 68,618 0 0 39,724 0 0 IPCS_GEN_FUNCTIONS(void *, VPtr, IPCS_VPTR)
+
+--------------------------------------------------------------------------------
+-- User-annotated source: settings-dump.c
+--------------------------------------------------------------------------------
+ No information has been collected for settings