As it turns out, window_info::type is really the window's "feel".
Basic support for the desktop window feel: WinBorder will now resize a window with kDesktopWindowFeel to span over the whole screen. Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13462 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -22,7 +22,7 @@ struct window_info {
|
||||
uint32 workspaces;
|
||||
|
||||
int32 layer; // whatever this is...
|
||||
uint32 type; // see below
|
||||
uint32 feel;
|
||||
uint32 flags;
|
||||
int32 window_left;
|
||||
int32 window_top;
|
||||
@@ -37,14 +37,6 @@ struct client_window_info : window_info {
|
||||
char name[1];
|
||||
} _PACKED;
|
||||
|
||||
enum {
|
||||
// taken from Deskbar
|
||||
kNormalWindow = 0,
|
||||
kDesktopWindow = 1024,
|
||||
kMenuWindow = 1025,
|
||||
kWindowScreen = 1026,
|
||||
};
|
||||
|
||||
enum window_action {
|
||||
B_MINIMIZE_WINDOW,
|
||||
B_BRING_TO_FRONT
|
||||
|
||||
Reference in New Issue
Block a user