From 7725a2826a2508d6adde3db984ebe7db9246cb12 Mon Sep 17 00:00:00 2001 From: okan Date: Thu, 5 Jul 2012 17:35:13 +0000 Subject: the display's width and height are updated after an XRandR event so we don't need to pass down the new values to screen_update_geometry(); so just read the width/height values directly for both uses of screen_update_geometry(). prep for further changes in this area. --- calmwm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'calmwm.h') diff --git a/calmwm.h b/calmwm.h index 4c6c90f..db595fe 100644 --- a/calmwm.h +++ b/calmwm.h @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: calmwm.h,v 1.147 2012/07/03 13:49:03 okan Exp $ + * $OpenBSD: calmwm.h,v 1.148 2012/07/05 17:35:13 okan Exp $ */ #ifndef _CALMWM_H_ @@ -361,7 +361,7 @@ void search_print_client(struct menu *, int); XineramaScreenInfo *screen_find_xinerama(struct screen_ctx *, int, int); struct screen_ctx *screen_fromroot(Window); void screen_init_xinerama(struct screen_ctx *); -void screen_update_geometry(struct screen_ctx *, int, int); +void screen_update_geometry(struct screen_ctx *); void screen_updatestackingorder(struct screen_ctx *); void kbfunc_client_cycle(struct client_ctx *, union arg *); -- cgit v1.2.3-2-gb3c3