aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbWindow.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-05-17 10:43:20 (GMT)
committerfluxgen <fluxgen>2003-05-17 10:43:20 (GMT)
commit4ec9bdbee2cfc2f558f6b85c1dae9521595fa353 (patch)
tree1470756737557cb216f88d7e34ddf9b33c5ea493 /src/FbTk/FbWindow.cc
parentf1a34dc2f6d88f64dd9efd79ab804f71049b21c2 (diff)
downloadfluxbox-4ec9bdbee2cfc2f558f6b85c1dae9521595fa353.zip
fluxbox-4ec9bdbee2cfc2f558f6b85c1dae9521595fa353.tar.bz2
added set and unsetCursor
Diffstat (limited to 'src/FbTk/FbWindow.cc')
-rw-r--r--src/FbTk/FbWindow.cc10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/FbTk/FbWindow.cc b/src/FbTk/FbWindow.cc
index 14298ef..5634a5d 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.17 2003/05/13 14:07:24 fluxgen Exp $ 22// $Id: FbWindow.cc,v 1.18 2003/05/17 10:43:20 fluxgen Exp $
23 23
24#include "FbWindow.hh" 24#include "FbWindow.hh"
25#include "EventManager.hh" 25#include "EventManager.hh"
@@ -177,6 +177,14 @@ void FbWindow::raise() {
177 XRaiseWindow(s_display, m_window); 177 XRaiseWindow(s_display, m_window);
178} 178}
179 179
180void FbWindow::setCursor(Cursor cur) {
181 XDefineCursor(s_display, window(), cur);
182}
183
184void FbWindow::unsetCursor() {
185 XUndefineCursor(s_display, window());
186}
187
180int FbWindow::screenNumber() const { 188int FbWindow::screenNumber() const {
181 return m_screen_num; 189 return m_screen_num;
182} 190}