summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fluxbox.cc17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index 20f55fd..8c7fb9b 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: fluxbox.cc,v 1.70 2002/08/17 22:14:00 fluxgen Exp $ 25// $Id: fluxbox.cc,v 1.71 2002/08/18 11:01:52 fluxgen Exp $
26 26
27 27
28#include "fluxbox.hh" 28#include "fluxbox.hh"
@@ -331,6 +331,12 @@ key(0)
331 sigh->registerHandler(SIGUSR1, this); 331 sigh->registerHandler(SIGUSR1, this);
332 sigh->registerHandler(SIGUSR2, this); 332 sigh->registerHandler(SIGUSR2, this);
333 333
334 //setup cursor bitmaps
335 cursor.session = XCreateFontCursor(getXDisplay(), XC_left_ptr);
336 cursor.move = XCreateFontCursor(getXDisplay(), XC_fleur);
337 cursor.ll_angle = XCreateFontCursor(getXDisplay(), XC_ll_angle);
338 cursor.lr_angle = XCreateFontCursor(getXDisplay(), XC_lr_angle);
339
334 //singleton pointer 340 //singleton pointer
335 singleton = this; 341 singleton = this;
336 BaseDisplay::GrabGuard gg(*this); 342 BaseDisplay::GrabGuard gg(*this);
@@ -379,7 +385,7 @@ key(0)
379 385
380 screenList.push_back(screen); 386 screenList.push_back(screen);
381 } 387 }
382 388
383 I18n *i18n = I18n::instance(); 389 I18n *i18n = I18n::instance();
384 if (screenList.size() == 0) { 390 if (screenList.size() == 0) {
385 fprintf(stderr, 391 fprintf(stderr,
@@ -390,12 +396,7 @@ key(0)
390 396
391 throw static_cast<int>(3); 397 throw static_cast<int>(3);
392 } 398 }
393 //setup cursor bitmaps 399
394 cursor.session = XCreateFontCursor(getXDisplay(), XC_left_ptr);
395 cursor.move = XCreateFontCursor(getXDisplay(), XC_fleur);
396 cursor.ll_angle = XCreateFontCursor(getXDisplay(), XC_ll_angle);
397 cursor.lr_angle = XCreateFontCursor(getXDisplay(), XC_lr_angle);
398
399 XSynchronize(getXDisplay(), False); 400 XSynchronize(getXDisplay(), False);
400 XSync(getXDisplay(), False); 401 XSync(getXDisplay(), False);
401 402