FLTK logo

[fltk/fltk] [Wayland, libdecor] Wrong size of maximized window with hidden titlebar (Issue #474)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

[fltk/fltk] [Wayland, libdecor] Wrong size of maximized window with hidden titlebar (Issue #474) polter Jul 28, 2022  
 

GTK3 allows CSS customizations, headerbar as well. It could be hidden, e.g. for maximized windows (~/.config/gtk-3.0/gtk.css):

.maximized .titlebar.default-decoration {
  margin: -200px 0 0;
  opacity: 0;
}

This approach is used by different GNOME-shell extensions, such as unite or pixel-saver to hide decorations for maximized windows.

Issue is that with this CSS setting, maximized FLTK window on Wayland will have gap at the bottom:
Screenshot from 2022-07-28 17-21-38

On X11 it is handled correctly:
Screenshot from 2022-07-28 17-23-02

How to reproduce: put the CSS lines above to ~/.config/gtk-3.0/gtk.css, run any FLTK example and try to maximize it.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/issues/474@github.com>

Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.