mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:57:44 +00:00
WindowServer: Show PID and window ID in title bars for now.
This is useful for debugging since I'm often wondering which process some window belongs to (and what the window ID is.)
This commit is contained in:
parent
e6fc84e234
commit
291922b1af
5 changed files with 13 additions and 1 deletions
|
@ -38,6 +38,8 @@ public:
|
|||
|
||||
GraphicsBitmap* backing() { return m_backing.ptr(); }
|
||||
|
||||
pid_t pid() const { return m_pid; }
|
||||
|
||||
// For InlineLinkedList.
|
||||
// FIXME: Maybe make a ListHashSet and then WSWindowManager can just use that.
|
||||
WSWindow* m_next { nullptr };
|
||||
|
@ -51,5 +53,6 @@ private:
|
|||
RetainPtr<GraphicsBitmap> m_backing;
|
||||
Process& m_process;
|
||||
int m_window_id { -1 };
|
||||
pid_t m_pid { -1 };
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue