aboutsummaryrefslogtreecommitdiff
path: root/src/WinClient.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/WinClient.hh')
-rw-r--r--src/WinClient.hh24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/WinClient.hh b/src/WinClient.hh
index 2441af8..b52e8d2 100644
--- a/src/WinClient.hh
+++ b/src/WinClient.hh
@@ -56,7 +56,7 @@ public:
56 bool acceptsFocus() const; // will this window accept focus (according to hints) 56 bool acceptsFocus() const; // will this window accept focus (according to hints)
57 void sendClose(bool forceful = false); 57 void sendClose(bool forceful = false);
58 // not aware of anything that makes this false at present 58 // not aware of anything that makes this false at present
59 inline bool isClosable() const { return true; } 59 bool isClosable() const { return true; }
60 60
61 /// updates from wm class hints 61 /// updates from wm class hints
62 void updateWMClassHint(); 62 void updateWMClassHint();
@@ -111,26 +111,26 @@ public:
111 Focusable::WindowType getWindowType() const { return m_window_type; } 111 Focusable::WindowType getWindowType() const { return m_window_type; }
112 void setWindowType(Focusable::WindowType type) { m_window_type = type; } 112 void setWindowType(Focusable::WindowType type) { m_window_type = type; }
113 113
114 inline WinClient *transientFor() { return transient_for; } 114 WinClient *transientFor() { return transient_for; }
115 inline const WinClient *transientFor() const { return transient_for; } 115 const WinClient *transientFor() const { return transient_for; }
116 inline TransientList &transientList() { return transients; } 116 TransientList &transientList() { return transients; }
117 inline const TransientList &transientList() const { return transients; } 117 const TransientList &transientList() const { return transients; }
118 inline bool isTransient() const { return transient_for != 0; } 118 bool isTransient() const { return transient_for != 0; }
119 119
120 inline bool isModal() const { return m_modal_count > 0; } 120 bool isModal() const { return m_modal_count > 0; }
121 inline bool isStateModal() const { return m_modal; } 121 bool isStateModal() const { return m_modal; }
122 void setStateModal(bool state); 122 void setStateModal(bool state);
123 123
124 inline int gravity() const { return m_win_gravity; } 124 int gravity() const { return m_win_gravity; }
125 125
126 bool hasGroupLeftWindow() const; 126 bool hasGroupLeftWindow() const;
127 // grouping is tracked by remembering the window to the left in the group 127 // grouping is tracked by remembering the window to the left in the group
128 Window getGroupLeftWindow() const; 128 Window getGroupLeftWindow() const;
129 129
130 inline const MwmHints *getMwmHint() const { return m_mwm_hint; } 130 const MwmHints *getMwmHint() const { return m_mwm_hint; }
131 131
132 inline unsigned int maxWidth() const { return max_width; } 132 unsigned int maxWidth() const { return max_width; }
133 inline unsigned int maxHeight() const { return max_height; } 133 unsigned int maxHeight() const { return max_height; }
134 134
135 static const int PropMwmHintsElements = 3; 135 static const int PropMwmHintsElements = 3;
136 136