[ros-kernel] Desktops vs Windowstations
Skywing
skywing at valhallalegends.com
Thu Dec 18 16:14:08 CET 2003
Are you sure about window handles being unique across desktops? AFAIK you
can't send messages [or otherwise interact with via win32k] windows on other
desktops, so there shouldn't be any *need* for window handles to be global
to a winsta.
Also note that you cannot change the desktop (e.g. via SetThreadDesktop) if
you have any windows open, so you can't move windows between desktops. The
same goes for switching winstas.
-----Original Message-----
From: ros-kernel-bounces at reactos.com [mailto:ros-kernel-bounces at reactos.com]
On Behalf Of Thomas Weidenmueller
Sent: Thursday, December 18, 2003 8:54 AM
To: ReactOS Kernel List
Subject: Re: [ros-kernel] Desktops vs Windowstations
Richard Campbell wrote:
> windows are owned by the desktop, NOT by the windowstation:
First of all, all windows are of course owned by the desktop that their
thread is assigned to. But since you can change the desktop for the
current thread you would need to move the windows to the other desktop,
that would mean if another window in the other desktop had the same
handle it would be impossible without changing the handle. Latter is
impossible, so imo our implementation is not wrong, maybe not 100% right
but afaik all window handles are unique within one window station, that
means the handle table must be owned by the window station.
Thomas
_______________________________________________
Ros-kernel mailing list
Ros-kernel at reactos.com
http://reactos.com/mailman/listinfo/ros-kernel
More information about the Ros-kernel
mailing list