aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbWindow.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-07-02 05:17:30 (GMT)
committerfluxgen <fluxgen>2003-07-02 05:17:30 (GMT)
commit2737e94b242ffc38f4d6760512ba794755603bf7 (patch)
tree7e710416f953b7c16af05ea4f33d3eb2c06206a1 /src/FbTk/FbWindow.cc
parent0703926d3a59e8979590e06930a7f25f6802138b (diff)
downloadfluxbox_pavel-2737e94b242ffc38f4d6760512ba794755603bf7.zip
fluxbox_pavel-2737e94b242ffc38f4d6760512ba794755603bf7.tar.bz2
added setInputFocus
Diffstat (limited to 'src/FbTk/FbWindow.cc')
-rw-r--r--src/FbTk/FbWindow.cc10
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
181void FbWindow::lower() { 181void FbWindow::lower() {
182 XLowerWindow(s_display, m_window); 182 XLowerWindow(s_display, window());
183} 183}
184 184
185void FbWindow::raise() { 185void FbWindow::raise() {
186 XRaiseWindow(s_display, m_window); 186 XRaiseWindow(s_display, window());
187}
188
189void FbWindow::setInputFocus(int revert_to, int time) {
190 XSetInputFocus(s_display, window(), revert_to, time);
187} 191}
188 192
189void FbWindow::setCursor(Cursor cur) { 193void FbWindow::setCursor(Cursor cur) {