Kubuntu/Crystal: minimised windows do not resize correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kwin-style-crystal (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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(
Window w = XCreateSimpleWi
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();
XResizeWind
XFlush(dpy);
printf("Now maximize the window again, and look what happened!\n");
printf("Press [ENTER] to exit (!)\n");
getchar();
return 0;
}
This is a picture of what it looks like.