* Implemented AS_DIRECT_WINDOW_SET_FULLSCREEN so that it sets kWindowScreenFeel

when enabled, and B_NORMAL_WINDOW_FEEL when disabled. IOW when enabled, no
  other windows can interfere.
* Therefore, it's no longer necessary to have the screen_blanker window
  use kWindowScreenFeel - it will set its window to full screen as long
  as the blanker runs.
* Added a AS_APP_CRASHED notification in the app_server that will remove
  all kWindowScreenFeels from the windows of the crashed app.
* This is now used by the debugger to ensure that the debugger alert will
  be visible.
* Factored out a DesktopLink class out of the BRoster::_ActivateApp()
  method. This class is now also used in the new BRoster::_ApplicationCrashed()
  method as used in the debug_server (via BRoster::Private).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17785 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2006-06-09 21:46:40 +00:00
parent e4f35acf7c
commit 82584ab9c2
11 changed files with 193 additions and 58 deletions
+30
View File
@@ -0,0 +1,30 @@
/*
* Copyright 2006, Haiku.
* Distributed under the terms of the MIT License.
*
* Authors:
* Axel Dörfler, [email protected]
*/
#ifndef _DESKTOP_LINK_H
#define _DESKTOP_LINK_H
#include <PortLink.h>
namespace BPrivate {
class DesktopLink : public PortLink {
public:
DesktopLink();
virtual ~DesktopLink();
status_t InitCheck() const;
private:
port_id fReplyPort;
};
} // namespace BPrivate
#endif /* _DESKTOP_LINK_H */
+4
View File
@@ -70,6 +70,10 @@ class BRoster::Private {
void SaveRecentLists(const char *file) const
{ fRoster->_SaveRecentLists(file); }
// needed by the debug server
void ApplicationCrashed(team_id team) const
{ fRoster->_ApplicationCrashed(team); }
static void InitBeRoster();
static void DeleteBeRoster();
+1 -2
View File
@@ -44,8 +44,7 @@ enum {
AS_DELETE_APP,
AS_QUIT_APP,
AS_ACTIVATE_APP,
AS_SET_SERVER_PORT,
AS_APP_CRASHED,
AS_CREATE_WINDOW,
AS_CREATE_OFFSCREEN_WINDOW,