/* * This file is part of firk's window manager for x11 (fwm) * Copyright (C) 2016-2023 firk * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef _FWM_TASKBAR_H #define _FWM_TASKBAR_H extern int taskbar_created; extern Window taskbar_window; extern Window bg_window; extern GC taskbar_gc; extern int taskbar_x0; extern int taskbar_y0; extern int taskbar_width; extern int taskbar_height; extern void taskbar_update(int force_redraw); extern void taskbar_destroy(void); extern void taskbar_handle_event(XEvent * ev); extern WInfo * taskbar_add_winfo(Window window); extern int taskbar_upd_winfo(WInfo * wi); extern void taskbar_del_winfo(WInfo * wi); extern void taskbar_fix_focus(void); extern int taskbar_focus_window(WInfo * wi); extern int taskbar_minimize_window(WInfo * wi); extern int taskbar_toggle_maximize(WInfo * wi); extern void taskbar_save_maximized(WInfo * wi, int x0, int y0, int w, int h); extern WInfo * taskbar_get_focuswin(void); extern void taskbar_toggle_fullscreen_focus(void); extern void taskbar_toggle_ontop_focus(void); extern void taskbar_next_window(void); extern void taskbar_prev_window(void); extern void taskbar_zprev_window(void); extern void taskbar_zprev_window_finish(void); #endif