all repos — fluxbox @ 553cee1dde24c10efbaf031d460a365a5c948e48

custom fork of the fluxbox windowmanager

trying to use XRRScreenChangeSelectInput
fluxgen fluxgen
commit

553cee1dde24c10efbaf031d460a365a5c948e48

parent

47f5dbb143f7bc9d31ab4472bf5c643fad0583f3

1 files changed, 8 insertions(+), 1 deletions(-)

jump to
M src/fluxbox.ccsrc/fluxbox.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: fluxbox.cc,v 1.141 2003/05/12 04:28:05 fluxgen Exp $ +// $Id: fluxbox.cc,v 1.142 2003/05/12 11:14:47 fluxgen Exp $ #include "fluxbox.hh"

@@ -500,8 +500,15 @@ delete screen;

continue; } #ifdef HAVE_RANDR + +#ifdef X_RRScreenChangeSelectInput + // use old set randr event + XRRScreenChangeSelectInput(disp, screen->rootWindow().window(), True); +#else XRRSelectInput(disp, screen->rootWindow().window(), RRScreenChangeNotifyMask); +#endif // X_RRScreenChangeSelectInput + #endif // HAVE_RANDR m_screen_list.push_back(screen);