CTWM
|
Go to the source code of this file.
Typedefs | |
typedef enum WinType | WinType |
Enumerations | |
enum | WinType { WinWin , IconWin } |
Definition at line 153 of file otp.c.
References TwmWindow::group, and TwmWindow::w.
Referenced by isGroupLeaderOf(), and OtpAdd().
Definition at line 159 of file otp.c.
References TwmWindow::group, isGroupLeader(), and PlaceX.
Referenced by OtpAdd().
Definition at line 166 of file otp.c.
References isTransientOf(), main(), PlaceX, and Scr.
Referenced by shouldStayAbove().
Definition at line 148 of file otp.c.
References main(), and PlaceX.
Referenced by isSmallTransientOf(), OtpAdd(), OtpFocusWindowBE(), and TryToMoveTransientsOfTo().
Definition at line 1222 of file otp.c.
References AddNewOwl(), TwmWindow::icon, IconWin, isGroupLeader(), isGroupLeaderOf(), TwmWindow::istransient, isTransientOf(), Icon::otp, TwmWindow::otp, OtpCheckConsistency(), PlaceX, Scr, OtpWinList::switching, and WinWin.
Referenced by AddWindow(), CreateIconWindow(), and OtpReassignIcon().
Definition at line 1437 of file otp.c.
References OtpWinList::above, PlaceX, Scr, OtpWinList::twm_win, and WinWin.
Referenced by EwmhSet_NET_CLIENT_LIST_STACKING(), GotoWorkSpace(), and RestoreForShutdown().
Definition at line 920 of file otp.c.
References TwmWindow::icon, IconWin, Icon::otp, TwmWindow::otp, OtpCheckConsistency(), PlaceX, OtpWinList::pri_base, SetOwlPriority(), and TryToMoveTransientsOfTo().
Referenced by otp_priority_handler().
Definition at line 188 of file otp.c.
References OtpCheckConsistencyVS(), PlaceX, and Scr.
Referenced by DisplayWin(), GotoWorkSpace(), OtpAdd(), OtpChangePriority(), OtpFocusWindowBE(), OtpForcePlacement(), OtpLower(), OtpRaise(), OtpRaiseLower(), OtpRecomputePrefs(), OtpRemove(), OtpRestackWindow(), OtpSetPriority(), OtpSwitchPriority(), OtpTinyLower(), OtpTinyRaise(), OtpToggleSwitching(), ReparentWindow(), and ReparentWindowAndIcon().
void OtpCirculateSubwindows | ( | VirtualScreen * | vs, |
int | direction ) |
Definition at line 849 of file otp.c.
References DPRINTF, dpy, Event, HandleCirculateNotify(), PlaceX, and VirtualScreen::window.
Referenced by f_circledown_impl(), and f_circleup_impl().
Definition at line 1559 of file otp.c.
References TwmWindow::otp, OwlClearAflag(), and PlaceX.
Referenced by unzoom().
Definition at line 1794 of file otp.c.
References TwmWindow::otp, OTP_ZERO, OwlEffectivePriority(), and PlaceX.
Referenced by EwmhSet_NET_WM_STATE(), Identify(), and OwlPrettyPrint().
Definition at line 1803 of file otp.c.
References TwmWindow::otp, OwlEffectivePriority(), and PlaceX.
Referenced by EwmhClientMessage_NET_WM_STATEchange(), and OwlPrettyPrint().
Focus a window.
This needs to know internals of OTP because of focus-dependent stacking of it and its transients.
Definition at line 1774 of file otp.c.
References TwmWindow::otp, OtpFocusWindowBE(), PlaceX, PRI, and Scr.
Referenced by HandleFocusIn(), and SetFocus().
Definition at line 990 of file otp.c.
References InsertOwlAbove(), TwmWindow::otp, OtpCheckConsistency(), PlaceX, and RemoveOwl().
Referenced by HandleConfigureRequest().
Definition at line 1278 of file otp.c.
References TwmWindow::icon, IconWin, OtpRemove(), and PlaceX.
Referenced by RedoIcon().
void OtpHandleCirculateNotify | ( | VirtualScreen * | vs, |
TwmWindow * | twm_win, | ||
WinType | wintype, | ||
int | place ) |
Definition at line 877 of file otp.c.
References DPRINTF, OtpLower(), OtpRaise(), and PlaceX.
Referenced by HandleCirculateNotify().
Definition at line 1883 of file otp.c.
References TwmWindow::otp, PlaceX, and OtpWinList::pri_aflags.
Referenced by HandleFocusIn(), HandleFocusOut(), and SetFocus().
Definition at line 777 of file otp.c.
References EwmhSet_NET_CLIENT_LIST_STACKING(), TwmWindow::icon, IconWin, LowerOwl(), Icon::otp, TwmWindow::otp, OtpCheckConsistency(), and PlaceX.
Referenced by AutoLowerWindow(), f_lower_impl(), HandleConfigureRequest(), and OtpHandleCirculateNotify().
Definition at line 1467 of file otp.c.
References OtpWinList::below, TwmWindow::otp, PlaceX, OtpWinList::twm_win, and WinWin.
Referenced by GotoWorkSpace().
Definition at line 1458 of file otp.c.
References OtpWinList::above, TwmWindow::otp, PlaceX, OtpWinList::twm_win, and WinWin.
Referenced by EwmhSet_NET_CLIENT_LIST_STACKING(), GotoWorkSpace(), and RestoreForShutdown().
Definition at line 763 of file otp.c.
References EwmhSet_NET_CLIENT_LIST_STACKING(), TwmWindow::icon, IconWin, Icon::otp, TwmWindow::otp, OtpCheckConsistency(), PlaceX, and RaiseOwl().
Referenced by AutoRaiseWindow(), AutoSqueeze(), EndResize(), f_movetitlebar_impl(), f_popup_impl(), f_raiseicons_impl(), f_showiconmgr_impl(), f_showworkspacemgr_impl(), f_toggleworkspacemgr_impl(), f_warptoiconmgr_impl(), fullzoom(), HandleButtonPress(), HandleButtonRelease(), HandleConfigureRequest(), HandleEnterNotify(), HandleMapRequest(), Iconify(), jump(), JumpIconManager(), MoveIconManager(), MoveMappedIconManager(), MoveToNextWorkSpaceAndFollow(), MoveToPrevWorkSpaceAndFollow(), movewindow(), OtpHandleCirculateNotify(), packwindow(), raise_handler(), RedoIcon(), ReMapOne(), and WMgrHandleButtonEvent().
Definition at line 791 of file otp.c.
References EwmhSet_NET_CLIENT_LIST_STACKING(), TwmWindow::icon, IconWin, Icon::otp, TwmWindow::otp, OtpCheckConsistency(), PlaceX, and RaiseLowerOwl().
Referenced by f_raiselower_impl(), and HandleConfigureRequest().
Definition at line 1262 of file otp.c.
References TwmWindow::icon, IconWin, Icon::otp, OtpAdd(), and PlaceX.
Referenced by RedoIcon().
Definition at line 1073 of file otp.c.
References TwmWindow::icon, Icon::otp, TwmWindow::otp, OtpCheckConsistency(), PlaceX, RecomputeOwlPrefs(), and Scr.
Referenced by apply_window_name().
Definition at line 1094 of file otp.c.
References free_OtpWinList(), TwmWindow::icon, IconWin, Icon::otp, TwmWindow::otp, OtpCheckConsistency(), PlaceX, and RemoveOwl().
Referenced by HandleDestroyNotify(), and OtpFreeIcon().
Definition at line 1648 of file otp.c.
References InsertOwl(), TwmWindow::otp, OtpCheckConsistency(), PlaceX, and RemoveOwl().
Referenced by EwmhClientMessage_NET_WM_STATEchange(), fullzoom(), and unzoom().
void OtpScrInitData | ( | ScreenInfo * | scr | ) |
Definition at line 1366 of file otp.c.
References free_OtpPreferences(), ScreenInfo::IconOTP, new_OtpPreferences(), ScreenInfo::OTP, and PlaceX.
Referenced by InitScreenInfo().
name_list ** OtpScrPriorityL | ( | ScreenInfo * | scr, |
WinType | wintype, | ||
int | priority ) |
Definition at line 1324 of file otp.c.
References ABS, ScreenInfo::IconOTP, IconWin, ScreenInfo::OTP, OTP_ZERO, and PlaceX.
void OtpScrSetSwitching | ( | ScreenInfo * | scr, |
WinType | wintype, | ||
bool | switching ) |
Definition at line 1297 of file otp.c.
References ScreenInfo::IconOTP, IconWin, ScreenInfo::OTP, PlaceX, and OtpPreferences::switching.
void OtpScrSetZero | ( | ScreenInfo * | scr, |
WinType | wintype, | ||
int | priority ) |
Definition at line 1309 of file otp.c.
References ABS, ScreenInfo::IconOTP, IconWin, ScreenInfo::OTP, OTP_ZERO, and PlaceX.
name_list ** OtpScrSwitchingL | ( | ScreenInfo * | scr, |
WinType | wintype ) |
Definition at line 1287 of file otp.c.
References ScreenInfo::IconOTP, IconWin, ScreenInfo::OTP, and PlaceX.
Definition at line 1541 of file otp.c.
References TwmWindow::otp, OwlSetAflag(), and PlaceX.
Referenced by fullzoom().
Definition at line 1522 of file otp.c.
References TwmWindow::otp, OwlSetAflagMask(), and PlaceX.
Referenced by EwmhClientMessage_NET_WM_STATEchange().
Definition at line 894 of file otp.c.
References ABS, DPRINTF, TwmWindow::icon, IconWin, Icon::otp, TwmWindow::otp, OTP_ZERO, OtpCheckConsistency(), PlaceX, SetOwlPriority(), and TryToMoveTransientsOfTo().
Referenced by Occupy(), and otp_priority_handler().
Definition at line 1585 of file otp.c.
References TwmWindow::otp, OwlStashAflags(), and OtpWinList::stashed_aflags.
Referenced by otp_priority_handler().
Definition at line 941 of file otp.c.
References TwmWindow::icon, IconWin, Icon::otp, TwmWindow::otp, OTP_MAX, OTP_ZERO, OtpCheckConsistency(), PlaceX, OtpWinList::pri_base, SetOwlPriority(), and TryToMoveTransientsOfTo().
Referenced by otp_priority_handler().
Definition at line 819 of file otp.c.
References EwmhSet_NET_CLIENT_LIST_STACKING(), TwmWindow::icon, IconWin, Icon::otp, TwmWindow::otp, OtpCheckConsistency(), PlaceX, and TinyLowerOwl().
Referenced by f_tinylower_impl().
Definition at line 805 of file otp.c.
References EwmhSet_NET_CLIENT_LIST_STACKING(), TwmWindow::icon, IconWin, Icon::otp, TwmWindow::otp, OtpCheckConsistency(), PlaceX, and TinyRaiseOwl().
Referenced by f_tinyraise_impl().
Definition at line 963 of file otp.c.
References TwmWindow::icon, IconWin, Icon::otp, TwmWindow::otp, OtpCheckConsistency(), and PlaceX.
Referenced by otp_priority_handler().
Definition at line 1446 of file otp.c.
References OtpWinList::above, PlaceX, Scr, OtpWinList::twm_win, and WinWin.
Referenced by GotoWorkSpace().
Unfocus a window.
This needs to know internals of OTP because of focus-dependent stacking of it and its transients.
Definition at line 1753 of file otp.c.
References TwmWindow::otp, OtpFocusWindowBE(), PlaceX, PRI, and Scr.
Referenced by HandleFocusIn(), HandleFocusOut(), and SetFocus().
int ReparentWindow | ( | Display * | display, |
TwmWindow * | twm_win, | ||
WinType | wintype, | ||
Window | parent, | ||
int | x, | ||
int | y ) |
Definition at line 1378 of file otp.c.
References OtpWinList::below, DPRINTF, TwmWindow::icon, IconWin, InsertOwlAbove(), Icon::otp, TwmWindow::otp, OtpCheckConsistency(), PlaceX, RemoveOwl(), WindowOfOwl(), x, and y.
Referenced by ReMapOne(), ReparentFrameAndIcon(), and RestoreWinConfig().
void ReparentWindowAndIcon | ( | Display * | display, |
TwmWindow * | twm_win, | ||
Window | parent, | ||
int | win_x, | ||
int | win_y, | ||
int | icon_x, | ||
int | icon_y ) |
Definition at line 1399 of file otp.c.
References OtpWinList::below, DPRINTF, TwmWindow::frame, TwmWindow::icon, InsertOwlAbove(), Icon::otp, TwmWindow::otp, OtpCheckConsistency(), PlaceX, RemoveOwl(), and Icon::w.
Referenced by ReparentFrameAndIcon().