15 #include "config_x11display.h"
16 #include "x11GraphicsPipe.h"
17 #include "x11GraphicsWindow.h"
18 #include "graphicsPipeSelection.h"
20 #include "pandaSystem.h"
22 Configure(config_x11display);
23 NotifyCategoryDef(x11display,
"display");
25 ConfigureFn(config_x11display) {
31 PRC_DESC(
"Specify the X display string for the default display. If this "
32 "is not specified, $DISPLAY is used."));
35 (
"x-error-abort",
false,
36 PRC_DESC(
"Set this true to trigger and abort (and a stack trace) on receipt "
37 "of an error from the X window system. This can make it easier "
38 "to discover where these errors are generated."));
41 (
"x-wheel-up-button", 4,
42 PRC_DESC(
"This is the mouse button index of the wheel_up event: which "
43 "mouse button number does the system report when the mouse wheel "
44 "is rolled one notch up?"));
47 (
"x-wheel-down-button", 5,
48 PRC_DESC(
"This is the mouse button index of the wheel_down event: which "
49 "mouse button number does the system report when the mouse wheel "
50 "is rolled one notch down?"));
53 (
"x-wheel-left-button", 6,
54 PRC_DESC(
"This is the mouse button index of the wheel_left event: which "
55 "mouse button number does the system report when one scrolls "
59 (
"x-wheel-right-button", 7,
60 PRC_DESC(
"This is the mouse button index of the wheel_right event: which "
61 "mouse button number does the system report when one scrolls "
65 (
"x-wm-class-name",
"",
66 PRC_DESC(
"Specify the value to use for the res_name field of the window's "
67 "WM_CLASS property. Has no effect when x-wm-class is not set."));
71 PRC_DESC(
"Specify the value to use for the res_class field of the window's "
72 "WM_CLASS property."));
83 init_libx11display() {
84 static bool initialized =
false;
90 x11GraphicsPipe::init_type();
91 x11GraphicsWindow::init_type();
This is a convenience class to specialize ConfigVariable as a boolean type.
This is a convenience class to specialize ConfigVariable as a string type.
This is a convenience class to specialize ConfigVariable as an integer type.