CTWM
|
#include "ctwm_config.h"
#include <stdbool.h>
#include <X11/Intrinsic.h>
#include "types.h"
#include "twm_window_struct.h"
Go to the source code of this file.
Data Structures | |
struct | MyFont |
struct | ColorPair |
struct | TitleButtonFunc |
struct | TitleButton |
struct | TBWindow |
struct | SqueezeInfo |
struct | TwmColormap |
struct | ColormapWindow |
struct | Colormaps |
struct | WindowRegion |
struct | WindowEntry |
struct | _ctwm_cl_args |
Typedefs | |
typedef struct _ctwm_cl_args | ctwm_cl_args |
Enumerations | |
enum | SIJust { SIJ_LEFT , SIJ_CENTER , SIJ_RIGHT } |
enum | IRAlignement { IRA_UNDEF , IRA_TOP , IRA_CENTER , IRA_BOTTOM , IRA_BORDER } |
enum | TitleJust { TJ_UNDEF , TJ_LEFT , TJ_CENTER , TJ_RIGHT } |
enum | IRJust { IRJ_UNDEF , IRJ_LEFT , IRJ_CENTER , IRJ_RIGHT , IRJ_BORDER } |
enum | RegGravity { GRAV_NORTH , GRAV_EAST , GRAV_SOUTH , GRAV_WEST } |
enum | RandPlac { RP_OFF , RP_ALL , RP_UNMAPPED } |
enum | UsePPoss { PPOS_OFF , PPOS_ON , PPOS_NON_ZERO } |
Definition at line 379 of file ctwm.h.
Referenced by AddWindow(), EwmhGetIcon(), and SweepWindow().
#define Alt1Mask (1<<8) |
Definition at line 64 of file ctwm.h.
Referenced by f_altkeymap_impl().
#define BW 2 /* border width */ |
Definition at line 53 of file ctwm.h.
Referenced by InitScreenInfo().
#define C_ALL_BITS |
#define C_ALTER_BIT (1 << C_ALTERNATE) |
#define C_ALTERNATE 8 |
Definition at line 83 of file ctwm.h.
Referenced by DeferExecution(), HandleButtonPress(), and HandleKeyPress().
#define C_FRAME 4 |
Definition at line 79 of file ctwm.h.
Referenced by f_popup_impl(), f_resize_impl(), HandleButtonPress(), HandleKeyPress(), and PopDownMenu().
#define C_ICON 2 |
Definition at line 77 of file ctwm.h.
Referenced by AddDefaultFuncButtons(), f_movetitlebar_impl(), f_winrefresh_impl(), GrabKeys(), HandleButtonPress(), HandleKeyPress(), movewindow(), and PopDownMenu().
#define C_ICONMGR 5 |
Definition at line 80 of file ctwm.h.
Referenced by AddDefaultFuncButtons(), f_sorticonmgr_impl(), GrabKeys(), HandleButtonPress(), and HandleKeyPress().
#define C_IDENTIFY 7 |
Definition at line 82 of file ctwm.h.
Referenced by HandleButtonPress(), and HandleButtonRelease().
#define C_NAME 6 |
Definition at line 81 of file ctwm.h.
Referenced by GrabKeys(), and HandleKeyPress().
#define C_NO_CONTEXT -1 |
Definition at line 74 of file ctwm.h.
Referenced by EwmhClientMessage_NET_CLOSE_WINDOW(), HandleButtonPress(), HandleButtonRelease(), and HandleKeyPress().
#define C_ROOT 3 |
Definition at line 78 of file ctwm.h.
Referenced by DeferExecution(), DeIconify(), f_resize_impl(), f_tinylower_impl(), f_tinyraise_impl(), GotoWorkSpace(), GrabKeys(), HandleButtonPress(), HandleEnterNotify(), HandleKeyPress(), Iconify(), and raise_handler().
#define C_TITLE 1 |
Definition at line 76 of file ctwm.h.
Referenced by AddDefaultFuncButtons(), f_resize_impl(), GrabKeys(), HandleButtonPress(), HandleKeyPress(), and PopDownMenu().
#define C_WINDOW 0 |
Definition at line 75 of file ctwm.h.
Referenced by EwmhClientMessage_NET_WM_MOVERESIZE(), f_resize_impl(), GrabButtons(), GrabKeys(), HandleButtonPress(), HandleKeyPress(), and PopDownMenu().
#define C_WORKSPACE 9 |
Definition at line 84 of file ctwm.h.
Referenced by HandleButtonPress(), and HandleKeyPress().
#define C_WORKSPACE_BIT (1 << C_WORKSPACE) |
#define CM_INSTALL 4 |
Definition at line 268 of file ctwm.h.
Referenced by InstallColormaps().
#define CM_INSTALLABLE 1 |
Definition at line 266 of file ctwm.h.
Referenced by HandleColormapNotify(), HandleVisibilityNotify(), and InstallColormaps().
#define CM_INSTALLED 2 |
Definition at line 267 of file ctwm.h.
Referenced by HandleColormapNotify(), and InstallColormaps().
Definition at line 284 of file ctwm.h.
Referenced by BumpWindowColormap(), and FetchWmColormapWindows().
Definition at line 324 of file ctwm.h.
Referenced by f_delete_impl(), f_deleteordestroy_impl(), and FetchWmProtocols().
Definition at line 323 of file ctwm.h.
Referenced by f_saveyourself_impl(), and FetchWmProtocols().
Definition at line 322 of file ctwm.h.
Referenced by FetchWmProtocols(), HandleEnterNotify(), and HandleLeaveNotify().
Definition at line 119 of file ctwm.h.
Referenced by AddWindow(), Create3DCrossImage(), Create3DIconifyImage(), CreateIconWindow(), DisplayPosition(), DisplaySize(), draw_info_window(), DrawIconManagerIconName(), HandlePropertyNotify(), Paint3DEntry(), PaintIcon(), PaintNormalEntry(), PaintTitle(), PaintWsButton(), ShowIconifiedIcon(), and WMapRedrawWindow().
#define MAX_BUTTONS 24 |
Definition at line 56 of file ctwm.h.
Referenced by CreateTitleButton(), and do_number_keyword().
#define MOD_SIZE |
#define NUM_CONTEXTS 10 |
Definition at line 85 of file ctwm.h.
Referenced by GotButton(), and GotKey().
Definition at line 369 of file ctwm.h.
Referenced by AutoPopupMaybe(), ChangeOccupation(), get_last_window(), GotoWorkSpace(), HandleMapRequest(), isOnScreen(), PlaceWindowInRegion(), PopUpMenu(), SetupOccupation(), WarpToWindow(), WMapAddWindow(), WMapRaiseLower(), WMapRemoveWindow(), WMapRestack(), WMgrAddToCurrentWorkSpaceAndWarp(), WMgrHandleButtonEvent(), and WMgrRemoveFromCurrentWorkSpace().
#define ZOOM_NONE 0 |
Definition at line 111 of file ctwm.h.
Referenced by AddWindow(), EwmhClientMessage_NET_WM_STATEchange(), fillwindow(), fullzoom(), and unzoom().
|
extern |
Definition at line 83 of file ctwm_main.c.
Referenced by ConnectToSessionManager(), and ctwm_main().
|
extern |
Definition at line 148 of file ctwm_main.c.
Referenced by ctwm_main(), and SaveYourselfPhase2CB().
|
extern |
Definition at line 149 of file ctwm_main.c.
Referenced by ctwm_main(), DoRestart(), and SaveYourselfPhase2CB().
Cursor BottomCursor |
Definition at line 354 of file ctwm.h.
Referenced by DoResize(), MenuDoResize(), and SetBorderCursor().
Cursor BottomLeftCursor |
Definition at line 353 of file ctwm.h.
Referenced by DoResize(), MenuDoResize(), and SetBorderCursor().
Cursor BottomRightCursor |
Definition at line 354 of file ctwm.h.
Referenced by DoResize(), MenuDoResize(), and SetBorderCursor().
|
extern |
Definition at line 27 of file clargs.c.
Referenced by AddWindow(), clargs_check(), clargs_parse(), ConfigureCaptiveRootWindow(), ctwm_main(), DispatchEvent(), DoShutdown(), EwmhReplaceWM(), Execute(), m4_defs(), MaskScreen(), ParseTwmrc(), start_m4(), takeover_screen(), TwmErrorHandler(), and UnmaskScreen().
|
extern |
Definition at line 122 of file ctwm_main.c.
Referenced by CreateColormapWindow(), CreateTwmColormap(), ctwm_main(), FetchWmColormapWindows(), free_cwins(), HandleColormapNotify(), HandleEnterNotify(), and HandleVisibilityNotify().
|
extern |
Definition at line 84 of file ctwm_main.c.
Referenced by AddFuncKey(), AddIconManager(), AddStartResize(), AddToCaptiveList(), AddToMenu(), AddWindow(), AdoptWindow(), Animate(), AnimateButton(), AnimateHighlight(), AnimateIcons(), AnimateRoot(), apply_window_name(), assign_var_savecolor(), AutoLowerWindow(), AutoRaiseWindow(), CaptiveCtwmRootWindow(), ChangeOccupation(), ChangeSize(), ConfigureCaptiveRootWindow(), ConfigureWorkSpaceManager(), ConstrainByBorders(), ConstrainedToWinBox(), Create2DIconManagerIcon(), Create3DBarImage(), Create3DBoxImage(), Create3DCrossImage(), Create3DDotImage(), Create3DIconifyImage(), Create3DIconManagerIcon(), Create3DMenuAnimation(), Create3DMenuIcon(), Create3DMenuImage(), Create3DResizeAnimation(), Create3DResizeImage(), Create3DSunkenResizeImage(), Create3DVertBarImage(), Create3DZoomAnimation(), Create3DZoomImage(), CreateColormapWindow(), CreateDotPixmap(), CreateGCs(), CreateHighlightWindows(), CreateIconManagers(), CreateIconWindow(), CreateLowlightWindows(), CreateMenuIcon(), CreateOccupyWindow(), CreateQuestionPixmap(), CreateResizePixmap(), CreateTwmColormap(), createWindowBoxes(), CreateWindowTitlebarButtons(), CreateWorkSpaceManager(), CreateWorkSpaceManagerWindow(), CreateXLogoPixmap(), ctwm_main(), DeferExecution(), DeIconify(), DeleteHighlightWindows(), DeleteIcon(), DestroyMenu(), DisplayPosition(), DisplaySize(), DisplayWinUnchecked(), do_auto_clamp(), do_key_menu(), do_menu(), DontRedirect(), DoResize(), DoRestart(), DoShutdown(), Draw3DBorder(), Draw3DCorner(), draw_info_window(), DrawIconManagerBorder(), DrawIconManagerIconName(), EF_main(), EndResize(), EwmhAddClientWindow(), EwmhClientMessage(), EwmhClientMessage_NET_WM_STATE(), EwmhDeleteClientWindow(), EwmhGetIcon(), EwmhGetWindowProperties(), EwmhGetWindowProperty(), EwmhHandle_NET_WM_ICONNotify(), EwmhInitAtoms(), EwmhInitScreenEarly(), EwmhInitScreenLate(), EwmhReplaceWM(), EwmhSet_NET_ACTIVE_WINDOW(), EwmhSet_NET_CLIENT_LIST_STACKING(), EwmhSet_NET_FRAME_EXTENTS(), EwmhSet_NET_SHOWING_DESKTOP(), EwmhSet_NET_WM_DESKTOP_ws(), EwmhSet_NET_WM_STATE(), EwmhSet_NET_WORKAREA(), EwmhTerminateScreen(), EwmhUnmapNotify(), Execute(), ExpandIconTitle(), ExtractIcon(), f_altcontext_impl(), f_altkeymap_impl(), f_beep_impl(), f_delete_impl(), f_deleteordestroy_impl(), f_destroy_impl(), f_exec_impl(), f_fill_impl(), f_hypermove_impl(), f_moveresize_impl(), f_movetitlebar_impl(), f_pack_impl(), f_pin_impl(), f_refresh_impl(), f_resize_impl(), f_saveyourself_impl(), f_showiconmgr_impl(), f_sorticonmgr_impl(), f_warpring_impl(), f_warpto_impl(), f_warptoiconmgr_impl(), f_winrefresh_impl(), FadeWindow(), FetchWmColormapWindows(), FetchWmProtocols(), FindBitmap(), FindScreenInfo(), flush_expose(), free_cwins(), FreeImage(), fullzoom(), GenerateTimestamp(), GetCaptiveCTWMUnderPointer(), GetCaptivesList(), GetClientID(), GetColor(), GetFont(), GetImage(), GetMWMHints(), GetShadeColors(), GetTwmScreen(), GetTwmWindow(), GetWindowConfig(), GetWindowRole(), GetWindowSizeHints(), GetWMPropertyString(), GetWMState(), GotoWorkSpace(), HandleButtonPress(), HandleButtonRelease(), HandleClientMessage(), HandleColormapNotify(), HandleConfigureRequest(), HandleCreateNotify(), HandleDestroyNotify(), HandleEnterNotify(), HandleEvents(), HandleExpose(), HandleKeyPress(), HandleLeaveNotify(), HandleMapNotify(), HandleMapRequest(), HandleMotionNotify(), HandlePropertyNotify(), HandleShapeNotify(), HandleUnmapNotify(), HandleVisibilityNotify(), HideIconManager(), HideMenu(), Iconify(), IconUp(), Identify(), InitVirtualScreens(), InsertOwlAbove(), InstallColormaps(), jump(), JumpIconManager(), LastFocusEvent(), LoadBitmapImage(), LoadJpegImage(), LoadXpmImage(), LoadXwdImage(), LocateStandardColormaps(), MakeMenu(), MakeStringCursor(), MappedNotOverride(), mask_out_event(), mask_out_event_mask(), MaskScreen(), MenuDoResize(), MenuEndResize(), MenuStartResize(), mk_blackgray_pixmap(), MosaicFade(), MoveIconManager(), MoveMappedIconManager(), MoveMenu(), MoveOutline(), MoveResizeSizeWindow(), movewindow(), NewBitmapCursor(), NewFontCursor(), Occupy(), OccupyHandleButtonEvent(), OtpCheckConsistencyVS(), OtpCirculateSubwindows(), OwlGetStashedAflags(), OwlStashAflags(), PackIconManager(), packwindow(), Paint3DEntry(), PaintIcon(), PaintMenu(), PaintNormalEntry(), PaintTitle(), PaintTitleButton(), PaintWsButton(), PopDownMenu(), PopUpMenu(), put_pixel_on_root(), RedirectToCaptive(), RedoIcon(), RedoIconName(), ReGrab(), ReMapOne(), RemoveFromCaptiveList(), RemoveIconManager(), ReparentFrameAndIcon(), RescueWindows(), ReshapeIcon(), resizeFromCenter(), ResizeOccupyWindow(), ResizeWorkSpaceManager(), restore_mask(), RestoreForShutdown(), RestoreWinConfig(), send_clientmessage(), SendPropertyMessage(), set_window_icon_name(), set_window_name(), SetBorderCursor(), SetCaptivesList(), SetFocus(), SetFocusVisualAttributes(), SetFrameShape(), SetMapStateProp(), SetNoRedirect(), SetPropsIfCaptiveCtwm(), SetRaiseWindow(), SetupFrame(), SetupOccupation(), ShowIconifiedIcon(), ShrinkIconTitle(), Squeeze(), start_m4(), StartResize(), SweepWindow(), synth_btnevent_for_moveresize(), SynthesiseFocusIn(), SynthesiseFocusOut(), takeover_screen(), UninstallRootColormap(), UnmapTransients(), UnmaskScreen(), UpdateMenu(), Vanish(), WarpCursorToDefaultEntry(), WarpToScreen(), WarpToWindow(), wmap_mapwin_backend(), WMapAddWindowToWorkspace(), WMapIconify(), WMapRedrawWindow(), WMapRemoveWindow(), WMapRemoveWindowFromWorkspace(), WMapRestack(), WMapSetupWindow(), WMgrAddToCurrentWorkSpaceAndWarp(), WMgrHandleButtonEvent(), WMgrHandleExposeEvent(), WMgrSetButtonsState(), WMgrSetMapState(), WriteWinConfigEntry(), Zoom(), ZoomInWindow(), and ZoomOutWindow().
|
extern |
Definition at line 126 of file ctwm_main.c.
|
extern |
Definition at line 131 of file ctwm_main.c.
Referenced by AddWindow(), ctwm_main(), and HandleMapRequest().
|
extern |
Definition at line 90 of file ctwm_main.c.
Referenced by AddWindow(), ctwm_main(), do_squeeze_entry(), InitEvents(), and SetupFrame().
|
extern |
Definition at line 128 of file ctwm_main.c.
Referenced by ctwm_main(), ExpandFilename(), ExpandFilePath(), ExpandPixmapPath(), LoadTwmrc(), and m4_defs().
|
extern |
Definition at line 129 of file ctwm_main.c.
Referenced by ctwm_main(), and ExpandFilePath().
Definition at line 359 of file ctwm.h.
Referenced by AddWindow(), CreateIconWindow(), HandlePropertyNotify(), IconUp(), Identify(), NewBitmapCursor(), Occupy(), resizeFromCenter(), RestoreWinConfig(), WriteWinConfigEntry(), and Zoom().
Window JunkChild |
Definition at line 357 of file ctwm.h.
Referenced by AddWindow(), f_movetitlebar_impl(), HandleButtonPress(), HandleButtonRelease(), HandleClientMessage(), HandleEnterNotify(), HandleMotionNotify(), Identify(), movewindow(), resizeFromCenter(), and UpdateMenu().
Definition at line 359 of file ctwm.h.
Referenced by AddWindow(), CreateIconWindow(), f_movetitlebar_impl(), HandlePropertyNotify(), IconUp(), movewindow(), NewBitmapCursor(), Occupy(), resizeFromCenter(), RestoreWinConfig(), WMgrHandleButtonEvent(), WriteWinConfigEntry(), and Zoom().
Definition at line 359 of file ctwm.h.
Referenced by AddWindow(), GetBitmap(), HandlePropertyNotify(), PackIconManager(), RestoreWinConfig(), and WriteWinConfigEntry().
Definition at line 359 of file ctwm.h.
Referenced by AddWindow(), f_movetitlebar_impl(), GetCaptiveCTWMUnderPointer(), HandleClientMessage(), HandleEnterNotify(), HandleMotionNotify(), movewindow(), Occupy(), resizeFromCenter(), and UpdateMenu().
|
extern |
Definition at line 142 of file ctwm_main.c.
Referenced by AddWindow(), CreateIconWindow(), f_movetitlebar_impl(), GetCaptiveCTWMUnderPointer(), HandleClientMessage(), HandleEnterNotify(), HandlePropertyNotify(), IconUp(), Identify(), movewindow(), NewBitmapCursor(), Occupy(), resizeFromCenter(), RestoreWinConfig(), UpdateMenu(), WriteWinConfigEntry(), and Zoom().
Definition at line 144 of file ctwm_main.c.
Referenced by AddWindow(), GetBitmap(), HandlePropertyNotify(), PackIconManager(), RestoreWinConfig(), and WriteWinConfigEntry().
|
extern |
Definition at line 143 of file ctwm_main.c.
Referenced by AddWindow(), CreateIconWindow(), f_movetitlebar_impl(), GetCaptiveCTWMUnderPointer(), HandleClientMessage(), HandlePropertyNotify(), Identify(), movewindow(), Occupy(), PackIconManager(), resizeFromCenter(), and RestoreWinConfig().
int JunkY |
Definition at line 358 of file ctwm.h.
Referenced by AddWindow(), CreateIconWindow(), f_movetitlebar_impl(), GetCaptiveCTWMUnderPointer(), HandleClientMessage(), HandlePropertyNotify(), Identify(), movewindow(), Occupy(), PackIconManager(), resizeFromCenter(), and RestoreWinConfig().
|
extern |
Definition at line 117 of file ctwm_main.c.
Referenced by ctwm_main(), HandleButtonPress(), and movewindow().
Cursor LeftCursor |
Definition at line 353 of file ctwm.h.
Referenced by DoResize(), MenuDoResize(), and SetBorderCursor().
|
extern |
Definition at line 120 of file ctwm_main.c.
Referenced by ctwm_main(), DestroyMenu(), HandleButtonPress(), HandleEnterNotify(), HandleExpose(), and MakeMenu().
|
extern |
Definition at line 116 of file ctwm_main.c.
Referenced by ctwm_main(), HandleButtonPress(), and movewindow().
|
extern |
Definition at line 124 of file ctwm_main.c.
Referenced by AddWindow(), and ctwm_main().
|
extern |
Definition at line 94 of file ctwm_main.c.
Referenced by AddWindow(), ctwm_main(), f_warptoscreen_impl(), and WarpToScreen().
|
extern |
Definition at line 146 of file ctwm_main.c.
Referenced by AddWindow(), ChangeSize(), chk_keytable_order(), ConfigureCaptiveRootWindow(), ConnectToSessionManager(), CreateTitleButton(), CreateWindowTitlebarButtons(), ctwm_main(), doparse(), DoRestart(), EF_main(), FetchWmColormapWindows(), FindBitmap(), get_builtin_animated_pixmap(), get_builtin_plain_pixmap(), get_builtin_scalable_pixmap(), GetColor(), GetFont(), GetWMPropertyString(), handle_signal_flag(), InitTitlebarButtons(), InsertRGBColormap(), LoadTwmrc(), MoveIconManager(), MoveMappedIconManager(), NewBitmapCursor(), NewFontCursor(), SetCurrentTBAction(), sh_restart(), sh_shutdown(), takeover_screen(), twmFileInput(), twmrc_error_prefix(), usage(), and WarpToScreen().
|
extern |
Definition at line 147 of file ctwm_main.c.
Referenced by ctwm_main(), sh_restart(), and sh_shutdown().
|
extern |
Definition at line 85 of file ctwm_main.c.
Referenced by EndResize(), HandleButtonPress(), HandleButtonRelease(), HandleMotionNotify(), InitEvents(), and StartResize().
|
extern |
Definition at line 151 of file ctwm_main.c.
Referenced by AdoptWindow(), ctwm_main(), do_single_keyword(), HandleMapRequest(), and SetupOccupation().
|
extern |
Definition at line 115 of file ctwm_main.c.
Referenced by ctwm_main(), HandleButtonPress(), and movewindow().
Cursor RightCursor |
Definition at line 354 of file ctwm.h.
Referenced by DoResize(), MenuDoResize(), and SetBorderCursor().
|
extern |
Definition at line 121 of file ctwm_main.c.
Referenced by AddIconManager(), CreateIconWindow(), CreateWorkSpaceManagerWindow(), ctwm_main(), DestroyMenu(), GetTwmScreen(), HandleDestroyNotify(), HandlePropertyNotify(), MakeMenu(), RemoveIconManager(), UpdateMenu(), WMapAddWindowToWorkspace(), and WMapRemoveWindowFromWorkspace().
|
extern |
Definition at line 91 of file ctwm_main.c.
Referenced by ctwm_main(), and InitEvents().
|
extern |
Some signal flag has been set.
Definition at line 27 of file signals.c.
Referenced by CtwmNextEvent(), sh_restart(), and sh_shutdown().
|
extern |
Definition at line 112 of file ctwm_main.c.
Referenced by ctwm_main(), DoResize(), MenuDoResize(), and SetBorderCursor().
Cursor TopLeftCursor |
Definition at line 353 of file ctwm.h.
Referenced by DoResize(), MenuDoResize(), and SetBorderCursor().
Cursor TopRightCursor |
Definition at line 354 of file ctwm.h.
Referenced by DoResize(), MenuDoResize(), and SetBorderCursor().
|
extern |
Definition at line 119 of file ctwm_main.c.
Referenced by AddIconManager(), CreateIconWindow(), CreateWorkSpaceManagerWindow(), ctwm_main(), GetTwmWindow(), HandleDestroyNotify(), HandlePropertyNotify(), movewindow(), RemoveIconManager(), WMapAddWindowToWorkspace(), and WMapRemoveWindowFromWorkspace().
|
extern |
Definition at line 105 of file ctwm_main.c.
Referenced by AddWindow(), and ctwm_main().