diff options
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 780e8ab..ab35aff 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: fluxbox.cc,v 1.141 2003/05/12 04:28:05 fluxgen Exp $ | 25 | // $Id: fluxbox.cc,v 1.142 2003/05/12 11:14:47 fluxgen Exp $ |
26 | 26 | ||
27 | #include "fluxbox.hh" | 27 | #include "fluxbox.hh" |
28 | 28 | ||
@@ -500,8 +500,15 @@ Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name, const char *rcfile | |||
500 | continue; | 500 | continue; |
501 | } | 501 | } |
502 | #ifdef HAVE_RANDR | 502 | #ifdef HAVE_RANDR |
503 | |||
504 | #ifdef X_RRScreenChangeSelectInput | ||
505 | // use old set randr event | ||
506 | XRRScreenChangeSelectInput(disp, screen->rootWindow().window(), True); | ||
507 | #else | ||
503 | XRRSelectInput(disp, screen->rootWindow().window(), | 508 | XRRSelectInput(disp, screen->rootWindow().window(), |
504 | RRScreenChangeNotifyMask); | 509 | RRScreenChangeNotifyMask); |
510 | #endif // X_RRScreenChangeSelectInput | ||
511 | |||
505 | #endif // HAVE_RANDR | 512 | #endif // HAVE_RANDR |
506 | 513 | ||
507 | m_screen_list.push_back(screen); | 514 | m_screen_list.push_back(screen); |