Log of #mupdf at irc.freenode.net.

Search:
 <<<Back 1 day (to 2020/04/13)Fwd 1 day (to 2020/04/15)>>>20200414 
Kabouik Hi all. I'm looking for a way to hide the title bar with mupdf-gl. As you can see here, mupdf-x11 on the left has no title bar, while mupdf-gl on the right has one: https://0x0.st/iQan.png13:38.11 
  I'd be happy to use mupdf-x11 only, but turns out mupdf-x11 does not support showing the help window with F1, and I need it until I'm used to Mupdf keybindings13:38.46 
ator Kabouik: showing and hiding the title bar is up to your window manager, there's precious little mupdf can do itself14:44.24 
  Kabouik: that said, how did you tell your WM to hide mupdf-x11's title bar?14:44.46 
Kabouik That's what I thought too but then how to explain why mupdf-x11 and mupdf-gl running concurrently as in the screenshot are different?14:45.14 
  I don't think I did anything14:45.35 
ator they use different code to create the windows (one uses x11 directly, mupdf-gl uses freeglut which has its own code for creating x11 windows)14:45.40 
  so the window "class" etc will be different14:46.04 
Kabouik Hum14:46.09 
  Maybe i3 hides x11 titlebars by default and has no defaults for gl?14:46.27 
ator as can be seen with "xprop"14:46.34 
  and "xwininfo"14:46.49 
Kabouik Thank you, then I think I need a setting in my i3 config, I'll look into it ator14:47.51 
ator mupdf-x11 sets the X11 "class" to "MuPDF" -- mupdf-gl doesn't14:49.38 
  you can likely hack the freeglut implementation in mupdf/thirdparty/freeglut/ if you build from source to do what you want14:50.00 
  WM_CLASS(STRING) = "mupdf", "MuPDF"14:50.22 
  is set for x11 but I haven't found a way (without extending the library) to do the same with FreeGLUT14:50.43 
Kabouik Confirmed, using "new_window 1pixel" in my i3 config disables the title bar even for mupdf-gl. I don't know what setting was already disabling it for X11 windows though14:51.00 
  So now I can use mupdf-gl with no title bar and still show the F1 help14:53.26 
ator Kabouik: glad it worked out!14:53.53 
 <<<Back 1 day (to 2020/04/13)Forward 1 day (to 2020/04/15)>>> 
ghostscript.com #ghostscript
Search: