| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GDK dropped support for multi-screen several years ago.
Unfortunately, the code in GDK's _gdk_wm_protocols_filter() checks for
the default root window when dealing with _NET_WM_PING messages, and
that will cause an event loop when trying to use it on a multi-screen
setup.
Avoid the issue by not using _NET_WM_PING on multi-screen setups.
Signed-off-by: Olivier Fourdan <fourdan@xfce.org>
Closes:https://gitlab.xfce.org/xfce/xfwm4/-/issues/506
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The function gdk_monitor_get_refresh_rate() can return 0 if there is no
real monitor attached (as with Xephyr or VNC for example).
The compositor use the value as a divisor to compute the frequency of
refresh when zooming, and if the value is 0, xfwm4 will crash with a
floating point exception (division by zero error).
Make sure we return something even if gdk_monitor_get_refresh_rate()
cannot get us a real refresh rate.
Signed-off-by: Olivier Fourdan <fourdan@xfce.org>
|
|
|
|
|
|
|
|
|
| |
Since 4.14 this is the minimum version for all of Xfce, which allows to
remove a bunch of dead code.
Refs !3
Signed-off-by: Dridi Boukelmoune <dridi@fedoraproject.org>
|
|
|
|
|
|
| |
It's a shorthand for gdk_monitor_is_primary when working from a screen.
Signed-off-by: Dridi Boukelmoune <dridi@fedoraproject.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug: 15852
The function `xfwm_get_primary_monitor_geometry()` assumes there is
always a primary monitor, which is not true if no monitor is connected,
in which case the size is not meaningful.
Make `xfwm_get_primary_monitor_geometry()` return a boolean value that
can be used by the caller to determine if the reported size is
meaningless.
Signed-off-by: Olivier Fourdan <fourdan@xfce.org>
|
|
|
|
|
|
| |
`xfwm_get_primary_monitor_geometry` returns logical dimensions instead
of device dimensions, which leads to incorrect `_NET_WORKAREA`
calculation.
|
|
|
|
|
|
|
|
|
| |
Bug 15391
Return the primary monitor refresh rate in Hertz if available from GDK,
or 60 as the default value.
Signed-off-by: Olivier Fourdan <fourdan@xfce.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug: 14931
On scaled display the tabwin is using unscaled window coordinates to calculate
its position. Let the callert choose scaled or unscaled display size and use
scaled in tabwin.
fixes: 9d5ac6a4 Introduce xfwm-common static library
Signed-off-by: Jonas Zetterberg <jozz@jozz.se>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug: 14566
`xfwm_get_monitor_geometry()` uses `gdk_monitor_get_geometry()` which
returns the monitor geometry ion logical coordinates, not device
coordinates.
Apply the scale back to the geometry to get the device pixels.
Signed-off-by: Olivier Fourdan <fourdan@xfce.org>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
updated X11.m4
updated xfwm4 to compile well with -Werror -Wall
updated xfce-mcs-plugins and added a hint to the README for XFree86 users
(Old svn revision: 11031)
|
|
|
|
| |
(Old svn revision: 10992)
|
|
|
|
|
|
|
| |
Fix deprecated gtk_widget_set_usize()
(Old svn revision: 10961)
|
|
|
|
|
|
|
|
| |
Replace all occurences of g_getenv("HOME") with g_get_home_dir()
Regenerate all Makefiles.on and configure scripts
(Old svn revision: 10952)
|
|
|
|
| |
(Old svn revision: 10908)
|
|
|
|
| |
(Old svn revision: 10872)
|
|
|
|
|
|
| |
Jakl <mj@int-x.org>
(Old svn revision: 10866)
|
|
|
|
| |
(Old svn revision: 10865)
|
|
|
|
| |
(Old svn revision: 10859)
|
|
|
|
|
|
|
|
|
|
| |
Add internationalization support
Add french locale
Add dependency on libxfcegui4 v .14
Other stuff I don't remember :)
(Old svn revision: 10854)
|
|
(Old svn revision: 10852)
|