emwm causes window to be moved

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
Pentium4User
Board Warrior
Board Warrior
Posts: 1329
Joined: 2019-04-24, 09:38

emwm causes window to be moved

Post by Pentium4User » 2025-04-29, 18:13

Operating system: Debian amd64 and Slackware i686 with emwm window manager
Browser version: 33.7.0 GTK3 self-compiled and 33.7.0 AVX2 from the PM ftp.

Hello!

I noticed that clicking on the white part of the menu bar causes the window to be moved, even when the mouse is not moved (tested with touchpad).
This only happens in the emwm window manager, not in the mwm window manager.

I talked to the developer and he said that applications itself can call window manager functions.

Is that a PM or window manager problem?

--
kind regards
The profile picture shows my Maico EC30 E ceiling fan.

vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2522
Joined: 2018-05-05, 13:29

Re: emwm causes window to be moved

Post by vannilla » 2025-04-29, 18:53

It's seems to be a GTK thing specifically. I use a window manager without titlebars driven by key-mouse chords and every GTK-based app has this behaviour.

User avatar
JesusOfSuburbia
Apollo supporter
Apollo supporter
Posts: 38
Joined: 2018-03-11, 15:50
Location: Rheinland

Re: emwm causes window to be moved

Post by JesusOfSuburbia » 2025-04-30, 16:19

As vannilla says, this is something GTK 3 introduced. If you want to get rid of this behavior, add the following lines to "$HOME/.config/gtk-3.0/gtk.css":

Code: Select all

menubar, .menubar {
	-GtkWidget-window-dragging: false;
}
Then reload your GTK 3 theme, and it should(TM) apply.
Such is life.