diff options
author | Mathieu OTHACEHE <m.othacehe@gmail.com> | 2016-11-12 17:58:24 +0100 |
---|---|---|
committer | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2016-11-17 11:26:11 +0100 |
commit | b0839d05a60e59dfa2722e13586a4857a295d4fd (patch) | |
tree | b73b797e5c2d49daf1dff7b9847826f56984abd7 /src/xrandr.h | |
parent | 710ce5f7d25c96fed0390227d75f28f0c662a1fa (diff) | |
download | ratpoison-b0839d05a60e59dfa2722e13586a4857a295d4fd.zip |
Add xrandr support
Drop deprecated xinerama support and replace it with xrandr.
Signed-off-by: Mathieu OTHACEHE <m.othacehe@gmail.com>
Diffstat (limited to 'src/xrandr.h')
-rw-r--r-- | src/xrandr.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/xrandr.h b/src/xrandr.h new file mode 100644 index 0000000..d765789 --- /dev/null +++ b/src/xrandr.h @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2016 Mathieu OTHACEHE + * + * This file is part of ratpoison. + * + * ratpoison is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * ratpoison is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA + */ + +#ifndef XRANDR_H +#define XRANDR_H + +#include "ratpoison.h" + +void init_xrandr(void); +int *xrandr_query_screen(int *screen_count); +void xrandr_fill_screen(int rr_output, rp_screen *screen); +void xrandr_notify(XEvent *ev); + +#endif |