From: Mikko Rasa Date: Sun, 20 Dec 2015 13:01:35 +0000 (+0200) Subject: Refresh the screen on property changes X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=a52ec42b9ed2376642d95678983e421c48b81738;p=geometrycompositor.git Refresh the screen on property changes There might be no other events if properties are changed non-interactively, e.g. from a ~/.xsession script. --- diff --git a/source/main.c b/source/main.c index ea508d2..379b089 100644 --- a/source/main.c +++ b/source/main.c @@ -1322,9 +1322,15 @@ void process_property_event(Compositor *compositor, XPropertyEvent *event) return; if(event->atom==compositor->correction_atom) + { update_geometry_correction(compositor, screen); + mark_dirty(compositor, screen); + } else if(event->atom==compositor->root_pmap_atom) + { update_root_pixmap(compositor, screen); + mark_dirty(compositor, screen); + } } void process_selection_request_event(Compositor *compositor, XSelectionRequestEvent *event)