diff options
author | simonb <simonb> | 2005-04-26 04:18:10 (GMT) |
---|---|---|
committer | simonb <simonb> | 2005-04-26 04:18:10 (GMT) |
commit | e57a30f664f7fb2660967f40db2c10759c2e9e4f (patch) | |
tree | cab24eb65d78ccf35b9bdb182adfcbd971d6f66f /src/WinClient.cc | |
parent | 1c2f92a3d2288b1cae9500110a72173506a18072 (diff) | |
download | fluxbox_pavel-e57a30f664f7fb2660967f40db2c10759c2e9e4f.zip fluxbox_pavel-e57a30f664f7fb2660967f40db2c10759c2e9e4f.tar.bz2 |
fix systray client sizing
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 || |