PATCH[3/6] server: Declarations for Active Desktop
shanmukha sainath addepalli
sainath.addepalli at gmail.com
Sat Aug 29 00:52:14 CDT 2009
Hi,
In this patch I have added the concept of Active Desktop.Active
desktop is the desktop which we interact.We will store the active desktop
value in the corresponding winstation structure.
A method *int is_active_desktop( struct desktop * ) *is defined to
check whether the desktop, the window belongs is active or not.
--
Regards
Sainath A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090829/d2c2dbd5/attachment.htm>
-------------- next part --------------
From fb3653d1cc5c5727ec24c3985f244d50398e2f9b Mon Sep 17 00:00:00 2001
From: Sainath Addepalli <sainath.addepalli at gmail.com>
Date: Fri, 28 Aug 2009 18:26:48 +0530
Subject: Active Desktop Declarations
---
server/user.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/server/user.h b/server/user.h
index 166d20b..eb665b0 100644
--- a/server/user.h
+++ b/server/user.h
@@ -48,6 +48,7 @@ struct winstation
struct list desktops; /* list of desktops of this winstation */
struct clipboard *clipboard; /* clipboard information */
struct atom_table *atom_table; /* global atom table */
+ struct desktop *active_desktop; /* Active Desktop of this winstation */
};
struct desktop
@@ -160,5 +161,6 @@ extern void set_process_default_desktop( struct process *process, struct desktop
obj_handle_t handle );
extern void close_process_desktop( struct process *process );
extern void close_thread_desktop( struct thread *thread );
+extern int is_active_desktop( struct desktop *desktop );
#endif /* __WINE_SERVER_USER_H */
--
1.6.0.4
More information about the wine-patches
mailing list