| src/PScreen.cc | |
| 117 | @@ -117,7 +117,7 @@ |
| 117 | |
| 118 | //! @brief PScreen constructor |
| 119 | PScreen::PScreen(Display *dpy, bool honour_randr) |
| 120 | : _dpy(dpy), _honour_randr(honour_randr), _fd(-1), |
| 121 | : _dpy(dpy), _honour_randr(honour_randr), |
| 122 | _screen(-1), _depth(-1), |
| 123 | _root(None), _visual(0), _colormap(None), |
| 124 | _modifier_map(0), |
| ... | |
| 136 | @@ -136,7 +136,6 @@ |
| 136 | |
| 137 | XGrabServer(_dpy); |
| 138 | |
| 139 | _fd = ConnectionNumber(dpy); |
| 140 | _screen = DefaultScreen(_dpy); |
| 141 | _root = RootWindow(_dpy, _screen); |
| 142 | |
| ... | |
| src/PScreen.hh | |
| 235 | @@ -235,16 +235,15 @@ |
| 235 | private: |
| 236 | Display *_dpy; |
| 237 | bool _honour_randr; /**< Boolean flag if randr should be honoured. */ |
| 238 | int _fd; |
| 239 | |
| 240 | int _screen, _depth; |
| 241 | |
| 242 | Geometry _screen_gm; /**< Screen geometry, no head information. */ |
| 243 | Geometry _screen_gm; /**< Screen geometry, no head information. */ |
| 244 | |
| 245 | Window _root; |
| 246 | PScreen::PVisual *_visual; |
| 247 | Colormap _colormap; |
| 248 | XModifierKeymap *_modifier_map; /**< Key to modifier mappings. */ |
| 249 | XModifierKeymap *_modifier_map; /**< Key to modifier mappings. */ |
| 250 | |
| 251 | uint _num_lock; |
| 252 | uint _scroll_lock; |
| ... | |