x11: fix break screen on multiple monitors#794
x11: fix break screen on multiple monitors#794archisman-panigrahi merged 1 commit intoslgobinath:masterfrom
Conversation
See the added comment for details.
|
I've tested this on XFCE (X11) with two screens - I can confirm this fixes the issue. |
Maybe blaming this on GTK was too hasty - it only seems to happen on XFCE. |
|
@deltragon It works! Tested in Linux Mint 22.2 XFCE. |
|
I wonder, how did you even figure out that switching the order of the two lines would fix the issue? |
|
@archisman-panigrahi Well, as I was speculating that this might be a bug in GTK, I was reading the source code of GTK. |
Description
Fixes #776.
Apparently GTK's fullscreen_on_monitor works differently on X11 if the window already exists vs before it is created.
(This however may just be a GTK bug too).
On Wayland either works fine in my testing.