Lines 237-247
panel_application_init (PanelApplication
Link Here
|
237 |
application->autosave_timer_id = g_timeout_add_seconds (AUTOSAVE_INTERVAL, |
237 |
application->autosave_timer_id = g_timeout_add_seconds (AUTOSAVE_INTERVAL, |
238 |
panel_application_autosave_timer, application); |
238 |
panel_application_autosave_timer, application); |
239 |
|
239 |
|
240 |
/* warn the user about restricted features on Wayland */ |
240 |
/* warn the user about restricted features on Wayland */ |
241 |
display = gdk_display_get_default (); |
241 |
display = gdk_display_get_default (); |
242 |
if (GDK_IS_WAYLAND_DISPLAY (display)) |
242 |
#ifdef GDK_WINDOWING_WAYLAND |
|
|
243 |
if (GDK_IS_WAYLAND_DISPLAY (display)) |
243 |
{ |
244 |
{ |
244 |
if (! gtk_layer_is_supported ()) |
245 |
if (! gtk_layer_is_supported ()) |
245 |
g_warning ("Wayland detected without layer-shell support (either because of your" |
246 |
g_warning ("Wayland detected without layer-shell support (either because of your" |
246 |
" compositor or because Xfce4-panel was built without this support):" |
247 |
" compositor or because Xfce4-panel was built without this support):" |
247 |
" Xfce4-panel might not look like a panel and many of its features will" |
248 |
" Xfce4-panel might not look like a panel and many of its features will" |
Lines 250-259
panel_application_init (PanelApplication
Link Here
|
250 |
g_warning ("Wayland detected without foreign-toplevel-management support (your" |
251 |
g_warning ("Wayland detected without foreign-toplevel-management support (your" |
251 |
" compositor does not seem to support it): Some Xfce4-panel features will" |
252 |
" compositor does not seem to support it): Some Xfce4-panel features will" |
252 |
" not work (e.g. intellihide), as well as some plugins (e.g. ShowDesktop," |
253 |
" not work (e.g. intellihide), as well as some plugins (e.g. ShowDesktop," |
253 |
" Tasklist, WindowMenu)"); |
254 |
" Tasklist, WindowMenu)"); |
254 |
} |
255 |
} |
|
|
256 |
#endif |
255 |
} |
257 |
} |
256 |
|
258 |
|
257 |
|
259 |
|
258 |
|
260 |
|
259 |
static void |
261 |
static void |