diff options
author | fluxgen <fluxgen> | 2003-07-02 05:17:30 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-07-02 05:17:30 (GMT) |
commit | 2737e94b242ffc38f4d6760512ba794755603bf7 (patch) | |
tree | 7e710416f953b7c16af05ea4f33d3eb2c06206a1 /src/FbTk/FbWindow.cc | |
parent | 0703926d3a59e8979590e06930a7f25f6802138b (diff) | |
download | fluxbox_pavel-2737e94b242ffc38f4d6760512ba794755603bf7.zip fluxbox_pavel-2737e94b242ffc38f4d6760512ba794755603bf7.tar.bz2 |
added setInputFocus
Diffstat (limited to 'src/FbTk/FbWindow.cc')
-rw-r--r-- | src/FbTk/FbWindow.cc | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/FbTk/FbWindow.cc b/src/FbTk/FbWindow.cc index 587122e..509dd6c 100644 --- a/src/FbTk/FbWindow.cc +++ b/src/FbTk/FbWindow.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: FbWindow.cc,v 1.21 2003/06/24 10:12:57 fluxgen Exp $ | 22 | // $Id: FbWindow.cc,v 1.22 2003/07/02 05:17:30 fluxgen Exp $ |
23 | 23 | ||
24 | #include "FbWindow.hh" | 24 | #include "FbWindow.hh" |
25 | #include "EventManager.hh" | 25 | #include "EventManager.hh" |
@@ -179,11 +179,15 @@ void FbWindow::moveResize(int x, int y, unsigned int width, unsigned int height) | |||
179 | } | 179 | } |
180 | 180 | ||
181 | void FbWindow::lower() { | 181 | void FbWindow::lower() { |
182 | XLowerWindow(s_display, m_window); | 182 | XLowerWindow(s_display, window()); |
183 | } | 183 | } |
184 | 184 | ||
185 | void FbWindow::raise() { | 185 | void FbWindow::raise() { |
186 | XRaiseWindow(s_display, m_window); | 186 | XRaiseWindow(s_display, window()); |
187 | } | ||
188 | |||
189 | void FbWindow::setInputFocus(int revert_to, int time) { | ||
190 | XSetInputFocus(s_display, window(), revert_to, time); | ||
187 | } | 191 | } |
188 | 192 | ||
189 | void FbWindow::setCursor(Cursor cur) { | 193 | void FbWindow::setCursor(Cursor cur) { |