diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-09-03 18:00:40 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-09-03 18:00:40 (GMT) |
commit | 27dc136121a6f97c5fbfeec6b642cf091324def4 (patch) | |
tree | 9b3cdd5350ab9252611eea919bcb46d435992e5e /src | |
parent | ba03aaaa33af1f405b91e57aa49958547c5ed39f (diff) | |
download | fluxbox_lack-27dc136121a6f97c5fbfeec6b642cf091324def4.zip fluxbox_lack-27dc136121a6f97c5fbfeec6b642cf091324def4.tar.bz2 |
add check to configure script to detect old versions of Xrandr
Diffstat (limited to 'src')
-rw-r--r-- | src/fluxbox.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 27a0b68..3963d89 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -865,7 +865,9 @@ void Fluxbox::handleEvent(XEvent * const e) { | |||
865 | 865 | ||
866 | #ifdef HAVE_RANDR | 866 | #ifdef HAVE_RANDR |
867 | if (e->type == m_randr_event_type) { | 867 | if (e->type == m_randr_event_type) { |
868 | #ifdef HAVE_RANDR1_2 | ||
868 | XRRUpdateConfiguration(e); | 869 | XRRUpdateConfiguration(e); |
870 | #endif | ||
869 | // update root window size in screen | 871 | // update root window size in screen |
870 | BScreen *scr = searchScreen(e->xany.window); | 872 | BScreen *scr = searchScreen(e->xany.window); |
871 | if (scr != 0) | 873 | if (scr != 0) |