diff options
Diffstat (limited to 'src/WinClient.cc')
-rw-r--r-- | src/WinClient.cc | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/WinClient.cc b/src/WinClient.cc index fe02187..42f8cae 100644 --- a/src/WinClient.cc +++ b/src/WinClient.cc | |||
@@ -129,29 +129,6 @@ WinClient::~WinClient() { | |||
129 | m_win = 0; | 129 | m_win = 0; |
130 | } | 130 | } |
131 | 131 | ||
132 | void WinClient::updateRect(int x, int y, | ||
133 | unsigned int width, unsigned int height) { | ||
134 | Display *disp = FbTk::App::instance()->display(); | ||
135 | XEvent event; | ||
136 | event.type = ConfigureNotify; | ||
137 | |||
138 | event.xconfigure.display = disp; | ||
139 | event.xconfigure.event = window(); | ||
140 | event.xconfigure.window = window(); | ||
141 | event.xconfigure.x = x; | ||
142 | event.xconfigure.y = y; | ||
143 | event.xconfigure.width = width; | ||
144 | event.xconfigure.height = height; | ||
145 | //!! TODO | ||
146 | event.xconfigure.border_width = 1;//client.old_bw; | ||
147 | //!! TODO | ||
148 | event.xconfigure.above = None; //m_frame.window().window(); | ||
149 | event.xconfigure.override_redirect = false; | ||
150 | |||
151 | XSendEvent(disp, window(), False, StructureNotifyMask, &event); | ||
152 | |||
153 | } | ||
154 | |||
155 | bool WinClient::acceptsFocus() const { | 132 | bool WinClient::acceptsFocus() const { |
156 | return (m_focus_mode == F_LOCALLYACTIVE || | 133 | return (m_focus_mode == F_LOCALLYACTIVE || |
157 | m_focus_mode == F_PASSIVE || | 134 | m_focus_mode == F_PASSIVE || |