[openbox] Aterm resize very slow with option -sh (background image shading)

Mikael Magnusson mangosoft at comhem.se
Sun Aug 3 09:17:53 EDT 2003


On Sun, 3 Aug 2003, Valéry Febvre wrote:

> Hi,
> 
> If I launch an aterm with option -sh (background image shading) and
> then, try to resize it, the aterm's redraw is very slow and blinks.
> Did somebody already note this problem?
> 
> aterm command example: aterm -tr -sh 70
> I've this problem with ALL openbox alpha releases.
> 
> My environment:
> xfree-4.3.0 with ATI rage pro mobility (problem exists with and without
> 2D/3D acceleration)
> linux-2.4.21
> Openbox 3 alpha X

You can try applying this patch:

 
Index: kernel/moveresize.c
===================================================================
RCS file: /cvs/cvsroot/openbox/kernel/moveresize.c,v
retrieving revision 1.21
diff -u -r1.21 moveresize.c
--- kernel/moveresize.c	2003/07/10 19:01:41	1.21
+++ kernel/moveresize.c	2003/08/03 13:12:53
@@ -152,17 +153,17 @@
     if (corner == prop_atoms.net_wm_moveresize_move ||
         corner == prop_atoms.net_wm_moveresize_move_keyboard) {
         if (!config_opaque_move)
-            XMapWindow(ob_display, opaque_window.win);
-    } else {
-        if (!config_opaque_resize)
             XMapWindow(ob_display, opaque_window.win);
+//    } else {
+//        if (!config_opaque_resize)
+//            XMapWindow(ob_display, opaque_window.win);
     }
     first_draw = TRUE;
 }
 
 void moveresize_end(gboolean cancel)
 {
-    XUnmapWindow(ob_display, opaque_window.win);
+//    XUnmapWindow(ob_display, opaque_window.win);
 
     grab_keyboard(FALSE);
     grab_pointer(FALSE, None);

and then turn opaque resizing OFF, and see if you like it :)

> 
> Valéry



More information about the openbox mailing list