Public bug reported:

Binary package hint: kwin-style-crystal

When a minimised window resizes itself in Kubuntu-Edgy with the Crystal
window decorations, the WM clipping area is not adjusted.  The following
small programme illustrates this:

#include <X11/Xlib.h>
#include <assert.h>
#include <unistd.h>
#include <stdio.h>

#define NIL (0)

int main()
{

    Display *dpy = XOpenDisplay(NIL);
    assert(dpy);

    int blackColor = BlackPixel(dpy, DefaultScreen(dpy));
    Window w = XCreateSimpleWindow(dpy, DefaultRootWindow(dpy), 0, 0,
                                   200, 100, 0, blackColor, blackColor);
    XMapWindow(dpy, w);
    XFlush(dpy);
    printf("The window will be resized when you press [ENTER].\n");
    printf("Please minimize the window first.  Then press [ENTER] to continue...
");
    getchar();
    XResizeWindow(dpy, w, 300, 100);
    XFlush(dpy);
    printf("Now maximize the window again, and look what happened!\n");
    printf("Press [ENTER] to exit (!)\n");
    getchar();
    return 0;
}

** Affects: kwin-style-crystal (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
Kubuntu/Crystal: minimised windows do not resize correctly
https://launchpad.net/bugs/82870

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to