1 /* -copyright- 2 #-# 3 #-# xsnow: let it snow on your desktop 4 #-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen 5 #-# 2019,2020,2021 Willem Vermin 6 #-# 7 #-# This program is free software: you can redistribute it and/or modify 8 #-# it under the terms of the GNU General Public License as published by 9 #-# the Free Software Foundation, either version 3 of the License, or 10 #-# (at your option) any later version. 11 #-# 12 #-# This program is distributed in the hope that it will be useful, 13 #-# but WITHOUT ANY WARRANTY; without even the implied warranty of 14 #-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 #-# GNU General Public License for more details. 16 #-# 17 #-# You should have received a copy of the GNU General Public License 18 #-# along with this program. If not, see <http://www.gnu.org/licenses/>. 19 #-# 20 */ 21 #pragma once 22 23 #include <gtk/gtk.h> 24 #include <X11/Intrinsic.h> 25 26 extern void windows_ui(void); 27 extern void windows_draw(void); 28 extern void windows_init(void); 29 extern int WorkspaceActive(void); // defined in main.c 30 extern int DetermineWindow(Window *xtrans, char **xtransname, GtkWidget **gtrans,const char *transname, int *IsDesktop); 31 extern void InitDisplayDimensions(void); 32 extern void DestroyWindow(Window w); 33 extern void setabove(GtkWindow *w); 34 extern void DisplayDimensions(void); 35 extern Window XWinInfo(char **name); 36 extern void UpdateFallenSnowRegions(void); 37 extern void UpdateWindows(void); 38 extern void SetBackground(void); 39 40 41