disable some X11 specific features when wayland is used

This commit is contained in:
speedie 2023-06-03 15:37:48 +02:00
parent a2cb373eb6
commit 86a7627f5e

View file

@ -482,6 +482,12 @@ void handle(void) {
loadhistory();
store_image_vars();
// Disable some X11 only features
menupaddingv = menupaddingh = 0;
xpos = ypos = 0;
borderwidth = 0;
managed = 0;
drw = drw_create_wl(protocol);
if (!drw_font_create(drw, fonts, LENGTH(fonts))) {