Browse Source

x11: Fix doubled-up info print message

rdb 4 years ago
parent
commit
953cf898bc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/x11display/x11GraphicsPipe.cxx

+ 1 - 1
panda/src/x11display/x11GraphicsPipe.cxx

@@ -425,7 +425,7 @@ enable_raw_mouse() {
     XISetMask(mask, XI_RawMotion);
     XISetMask(mask, XI_RawMotion);
 
 
     if (_XISelectEvents(_display, _root, &event_mask, 1) == Success) {
     if (_XISelectEvents(_display, _root, &event_mask, 1) == Success) {
-      if (x11display_cat.info()) {
+      if (x11display_cat.is_info()) {
         x11display_cat.info()
         x11display_cat.info()
           << "Enabled raw mouse events using XInput2 extension\n";
           << "Enabled raw mouse events using XInput2 extension\n";
       }
       }