remember last window on workspace
This commit is contained in:
parent
0ad261aa9c
commit
dacaf72e02
3 changed files with 27 additions and 3 deletions
|
|
@ -8,6 +8,8 @@ enum eFullscreenMode : uint8_t {
|
|||
FULLSCREEN_MAXIMIZED
|
||||
};
|
||||
|
||||
class CWindow;
|
||||
|
||||
class CWorkspace {
|
||||
public:
|
||||
CWorkspace(int monitorID, std::string name, bool special = false);
|
||||
|
|
@ -36,6 +38,9 @@ public:
|
|||
// "scratchpad"
|
||||
bool m_bIsSpecialWorkspace = false;
|
||||
|
||||
// last window
|
||||
CWindow* m_pLastFocusedWindow = nullptr;
|
||||
|
||||
// user-set
|
||||
bool m_bDefaultFloating = false;
|
||||
bool m_bDefaultPseudo = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue