|
CTWM
|
Go to the source code of this file.
Typedefs | |
| typedef enum WinType | WinType |
Enumerations | |
| enum | WinType { WinWin , IconWin } |
| bool isGroupLeader | ( | TwmWindow * | twm_win | ) |
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, and isGroupLeader().
Referenced by OtpAdd().
Definition at line 166 of file otp.c.
References TwmWindow::frame, TwmWindow::frame_height, TwmWindow::frame_width, isTransientOf(), main(), and Scr.
Referenced by shouldStayAbove().
Definition at line 148 of file otp.c.
References TwmWindow::istransient, main(), and TwmWindow::transientfor.
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(), TwmWindow::next, Icon::otp, TwmWindow::otp, OtpCheckConsistency(), Scr, OtpWinList::switching, and WinWin.
Referenced by AddWindow(), CreateIconWindow(), and OtpReassignIcon().
| TwmWindow * OtpBottomWin | ( | void | ) |
Definition at line 1437 of file otp.c.
References OtpWinList::above, Scr, OtpWinList::twm_win, OtpWinList::type, 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(), OtpWinList::pri_base, SetOwlPriority(), and TryToMoveTransientsOfTo().
Referenced by otp_priority_handler().
| bool OtpCheckConsistency | ( | void | ) |
Definition at line 188 of file otp.c.
References VirtualScreen::next, OtpCheckConsistencyVS(), Scr, VirtualScreen::window, VirtualScreen::x, and VirtualScreen::y.
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(), and VirtualScreen::window.
Referenced by f_circledown_impl(), and f_circleup_impl().
| void OtpClearAflag | ( | TwmWindow * | twm_win, |
| unsigned | flag ) |
Definition at line 1559 of file otp.c.
References TwmWindow::otp, and OwlClearAflag().
Referenced by unzoom().
| int OtpEffectiveDisplayPriority | ( | TwmWindow * | twm_win | ) |
Definition at line 1794 of file otp.c.
References TwmWindow::otp, OTP_ZERO, and OwlEffectivePriority().
Referenced by EwmhSet_NET_WM_STATE(), Identify(), and OwlPrettyPrint().
| int OtpEffectivePriority | ( | TwmWindow * | twm_win | ) |
Definition at line 1803 of file otp.c.
References TwmWindow::otp, and OwlEffectivePriority().
Referenced by EwmhClientMessage_NET_WM_STATEchange(), and OwlPrettyPrint().
| void OtpFocusWindow | ( | TwmWindow * | twm_win | ) |
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(), PRI, and Scr.
Referenced by HandleFocusIn(), and SetFocus().
Definition at line 990 of file otp.c.
References OtpWinList::below, InsertOwlAbove(), TwmWindow::otp, OtpCheckConsistency(), OtpWinList::pri_base, and RemoveOwl().
Referenced by HandleConfigureRequest().
| void OtpFreeIcon | ( | TwmWindow * | twm_win | ) |
Definition at line 1278 of file otp.c.
References TwmWindow::icon, IconWin, and OtpRemove().
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(), and OtpRaise().
Referenced by HandleCirculateNotify().
| bool OtpIsFocusDependent | ( | TwmWindow * | twm_win | ) |
Definition at line 1883 of file otp.c.
References TwmWindow::otp, 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, and OtpCheckConsistency().
Referenced by AutoLowerWindow(), f_lower_impl(), HandleConfigureRequest(), and OtpHandleCirculateNotify().
Definition at line 1467 of file otp.c.
References OtpWinList::below, TwmWindow::otp, OtpWinList::twm_win, OtpWinList::type, and WinWin.
Referenced by GotoWorkSpace().
Definition at line 1458 of file otp.c.
References OtpWinList::above, TwmWindow::otp, OtpWinList::twm_win, OtpWinList::type, 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(), 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(), and RaiseLowerOwl().
Referenced by f_raiselower_impl(), and HandleConfigureRequest().
Definition at line 1262 of file otp.c.
References TwmWindow::icon, IconWin, Icon::otp, and OtpAdd().
Referenced by RedoIcon().
| void OtpRecomputePrefs | ( | TwmWindow * | twm_win | ) |
Definition at line 1073 of file otp.c.
References TwmWindow::icon, Icon::otp, TwmWindow::otp, OtpCheckConsistency(), 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(), and RemoveOwl().
Referenced by HandleDestroyNotify(), and OtpFreeIcon().
| void OtpRestackWindow | ( | TwmWindow * | twm_win | ) |
Definition at line 1648 of file otp.c.
References InsertOwl(), TwmWindow::otp, OtpCheckConsistency(), 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(), and ScreenInfo::OTP.
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 OtpPreferences::priorityL.
| void OtpScrSetSwitching | ( | ScreenInfo * | scr, |
| WinType | wintype, | ||
| bool | switching ) |
Definition at line 1297 of file otp.c.
References ScreenInfo::IconOTP, IconWin, ScreenInfo::OTP, 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 OtpPreferences::priority.
| name_list ** OtpScrSwitchingL | ( | ScreenInfo * | scr, |
| WinType | wintype ) |
Definition at line 1287 of file otp.c.
References ScreenInfo::IconOTP, IconWin, ScreenInfo::OTP, and OtpPreferences::switchingL.
| void OtpSetAflag | ( | TwmWindow * | twm_win, |
| unsigned | flag ) |
Definition at line 1541 of file otp.c.
References TwmWindow::otp, and OwlSetAflag().
Referenced by fullzoom().
| void OtpSetAflagMask | ( | TwmWindow * | twm_win, |
| unsigned | mask, | ||
| unsigned | setto ) |
Definition at line 1522 of file otp.c.
References TwmWindow::otp, and OwlSetAflagMask().
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(), SetOwlPriority(), and TryToMoveTransientsOfTo().
Referenced by Occupy(), and otp_priority_handler().
| void OtpStashAflagsFirstTime | ( | TwmWindow * | twm_win | ) |
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(), 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(), 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(), 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 OtpWinList::switching.
Referenced by otp_priority_handler().
| TwmWindow * OtpTopWin | ( | void | ) |
Definition at line 1446 of file otp.c.
References OtpWinList::above, Scr, OtpWinList::type, and WinWin.
Referenced by GotoWorkSpace().
| void OtpUnfocusWindow | ( | TwmWindow * | twm_win | ) |
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(), 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(), 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(), RemoveOwl(), and Icon::w.
Referenced by ReparentFrameAndIcon().