Beispiel #1
0
        /// <summary>
        /// Starts the Window Manager
        /// </summary>
        public void Start()
        {
            lock (Table.ActionQueue) // Empty queue for new run
            {
                Table.ActionQueue = new ConcurrentQueue <Table>();
            }
            IsRunning = true;

            // Start table manager
            GHelper.SafeThreadStart(() => ManageTables());

            // Start Window Mover
            GHelper.SafeThreadStart(() => RunMoveWindowQueue());

            // Start handlers
            PSLogHandler.Start();
            if (Config.Active.BwinSupportEnabled)
            {
                BwinHandler.Start();
            }
        }
Beispiel #2
0
 /// <summary>
 /// Stops the window manager
 /// </summary>
 public void Stop()
 {
     IsRunning = false;
     PSLogHandler.Stop();
     BwinHandler.Stop();
 }