mcde: dtwm snaps windows to zones, has Full Screen, and rests while moving
A monitor below the bar is three columns by two rows; dragging a window to an edge shows a zone (or a half), sliding along the edges joins zones, and release takes it; dropped elsewhere it gets its size back. f.mcde_snap and f.mcde_fullscreen, the window menu's Full Screen and Alt+Ctrl keys in all locales. The move loop polled the pointer without end when the server was not grabbed (177 CPU ticks in 3 s with a window held still), now it waits. Focus follows the pointer without raising by default, as session resources the Style Manager changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
311733af5e
commit
16c09a7110
23 files changed
+588
-8
No files matched your search
@@ -158,6 +158,25 @@ place of CDE; pkgsrc builds it on any platform from `pkgsrc/`.
|
||||
- dtfile: the folder ~/Network is the network -- going there (the place,
|
||||
`dtfile -dir ~/Network`, Back) shows NetView (`IsNetworkDir` in
|
||||
Navigation.c); shares are mounted below it.
|
||||
- Zones of the screen and full screen (`programs/dtwm/WmMcdeSnap.c`): every
|
||||
monitor below the bar is 3 columns x 2 rows; dragging a window to the top
|
||||
or bottom edge shows the zone of that column, the middle of the left or
|
||||
right edge a half, the outer parts the corner zones; sliding along the
|
||||
edges joins zones; release takes the zone, a later drop elsewhere gives the
|
||||
size before back. The target outline is XOR while dtwm holds the server
|
||||
(freezeOnConfig) and four thin windows otherwise -- never FlashOutline.
|
||||
f.mcde_snap NAME (left-half, right-half, top, bottom, the six zones,
|
||||
left/middle/right columns, restore) and f.mcde_fullscreen; window menu
|
||||
"Full Screen", keys Alt+Ctrl+F, Alt+Ctrl+arrows, Alt+Ctrl+BackSpace (all
|
||||
locales and the built-in fallbacks). GetConfigEvent polled XQueryPointer
|
||||
without end when the server was not grabbed, even for opaque moves (177
|
||||
CPU ticks in 3 s with a window held still): it polls only to flash an
|
||||
outline now (0 ticks). Tested on Xvfb with XTest drags; such a test needs
|
||||
-xrm "Dtwm*freezeOnConfig: False", since XTest waits while the server is
|
||||
grabbed.
|
||||
- Focus: Dtwm*keyboardFocusPolicy: pointer and Dtwm*focusAutoRaise: False
|
||||
in sys.resources (MCDE's default, Konrad); the Style Manager's Window
|
||||
settings change them as in CDE.
|
||||
- `programs/dtwm/WmMcdePanel.c` -- the programs left of the trash in the
|
||||
front panel. A program a control of the main row or of a drawer names is
|
||||
in the dock and not shown again. Kept programs
|
||||
|
||||
@@ -85,6 +85,12 @@ dtsession*lockTimeout: 30
|
||||
dtsession*cycleTimeout: 3
|
||||
dtsession*saverList: StartDtscreenBlank
|
||||
|
||||
!# MCDE: the focus follows the pointer and the window is not raised -- the
|
||||
!# defaults of the Style Manager's Window settings ("Point In Window To Make
|
||||
!# Active", "Raise Window When Made Active"), which change them as before
|
||||
Dtwm*keyboardFocusPolicy: pointer
|
||||
Dtwm*focusAutoRaise: False
|
||||
|
||||
!#################################################################
|
||||
!#
|
||||
!# display dependent resources
|
||||
|
||||
@@ -34,7 +34,7 @@ dtwm_SOURCES = WmCDInfo.c WmCDecor.c WmCEvent.c \
|
||||
Clock.c DataBaseLoad.c PanelS.c \
|
||||
Parse.c PopupMenu.c Session.c \
|
||||
UI.c WmBackdrop.c WmFP.c \
|
||||
WmSlideshow.c WmMcdePanel.c \
|
||||
WmSlideshow.c WmMcdePanel.c WmMcdeSnap.c \
|
||||
WmHelp.c WmIPC.c WmInstantTitle.c \
|
||||
WmOL.c WmParse.c WmParseP.c \
|
||||
WmPresence.c WmWrkspace.c WmXSMP.c
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
#include "WmProperty.h"
|
||||
#include "WmWinState.h"
|
||||
#include "WmWrkspace.h"
|
||||
#include "WmMcdeSnap.h"
|
||||
|
||||
static void ProcessNetWmStateAbove (ClientData *pCD, long action);
|
||||
static void ProcessNetWmStateBelow (ClientData *pCD, long action);
|
||||
@@ -91,6 +92,12 @@ static void ProcessNetWmStateFullscreen (ClientData *pCD, long action)
|
||||
}
|
||||
}
|
||||
|
||||
/* MCDE: f.mcde_fullscreen (WmMcdeSnap.c) */
|
||||
void McdeToggleFullscreen (ClientData *pCD)
|
||||
{
|
||||
ProcessNetWmStateFullscreen (pCD, _NET_WM_STATE_TOGGLE);
|
||||
}
|
||||
|
||||
static void ProcessNetWmStateAbove (ClientData *pCD, long action)
|
||||
{
|
||||
/* MCDE: the flag of "Always on Top" (McdeSetAbove, WmFunction.c) */
|
||||
|
||||
@@ -1599,6 +1599,8 @@ typedef struct _ClientData
|
||||
int primaryStackPosition; /* stack pos'n of primary */
|
||||
Boolean secondariesOnTop; /* resource */
|
||||
Boolean mcdeAbove; /* MCDE: Always on Top */
|
||||
Boolean mcdeSnapped; /* MCDE: in a zone (WmMcdeSnap.c) */
|
||||
int mcdeSnapWidth, mcdeSnapHeight; /* its client size before */
|
||||
int primaryModalCount; /* primary modal win count */
|
||||
int fullModalCount; /* full modal win count */
|
||||
|
||||
|
||||
@@ -0,0 +1,312 @@
|
||||
/*
|
||||
* WmMcdeSnap.c -- MCDE: windows snap to zones of the screen; full screen
|
||||
*
|
||||
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
|
||||
*
|
||||
* Every monitor (Xinerama head, else the screen) below the top bar is a grid
|
||||
* of three columns and two rows (Konrad, 2026-11-11: "3 zonen oben und 3
|
||||
* zonen untere haelfte ... welche auch kombiniert werden koennen"). While a
|
||||
* window is dragged (HandleClientFrameMove, WmWinConf.c):
|
||||
*
|
||||
* top edge the upper zone of the column under the pointer
|
||||
* bottom edge the lower zone of that column
|
||||
* left/right edge the middle third: that half of the monitor;
|
||||
* above or below it: the upper or lower outer zone
|
||||
*
|
||||
* Sliding along the edges from one zone to the next joins them (top left,
|
||||
* then top middle: two thirds of the upper row; top left, then down the left
|
||||
* edge: the left column). The target is drawn as dtwm's XOR outline (no
|
||||
* transparency, nothing for the graphics card to blend); on release the
|
||||
* window takes it and its size before is kept, so that dragging it off again
|
||||
* gives it back. f.mcde_snap NAME does the same from the keyboard, and
|
||||
* f.mcde_fullscreen toggles _NET_WM_STATE_FULLSCREEN (WmEwmh.c).
|
||||
*/
|
||||
|
||||
#include "WmGlobal.h"
|
||||
#include "WmCDInfo.h"
|
||||
#include "WmEvent.h"
|
||||
#include "WmFunction.h"
|
||||
#include "WmMultiHead.h"
|
||||
#include "WmWinConf.h"
|
||||
#include "WmWinState.h"
|
||||
#include "WmMcdeSnap.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#define EDGE 2 /* pixels from a monitor's edge that count as at it */
|
||||
|
||||
/* the zone grid in columns 0..2 and rows 0..1, or a half */
|
||||
typedef struct {
|
||||
int c0, c1, r0, r1; /* inclusive; c0 < 0: nothing */
|
||||
int half; /* -1 left half, 1 right half, 0 a grid span */
|
||||
} Zone;
|
||||
|
||||
static Zone anchor = { -1, -1, -1, -1, 0 };
|
||||
static Zone current = { -1, -1, -1, -1, 0 };
|
||||
static Boolean shown;
|
||||
static int shownX, shownY;
|
||||
static unsigned int shownW, shownH;
|
||||
|
||||
/* the monitor around (px, py), below the top bar */
|
||||
static void
|
||||
Monitor(ClientData *pcd, int px, int py, int *x, int *y, int *w, int *h)
|
||||
{
|
||||
WmHeadInfo_t *hi;
|
||||
int id;
|
||||
|
||||
*x = 0;
|
||||
*y = 0;
|
||||
*w = DisplayWidth(DISPLAY, SCREEN_FOR_CLIENT(pcd));
|
||||
*h = DisplayHeight(DISPLAY, SCREEN_FOR_CLIENT(pcd));
|
||||
for (id = 0; (hi = GetHeadInfoById(id)) != NULL; id++) {
|
||||
if (px >= hi->x_org && py >= hi->y_org &&
|
||||
px < hi->x_org + (int) hi->width &&
|
||||
py < hi->y_org + (int) hi->height) {
|
||||
*x = hi->x_org;
|
||||
*y = hi->y_org;
|
||||
*w = (int) hi->width;
|
||||
*h = (int) hi->height;
|
||||
free(hi);
|
||||
break;
|
||||
}
|
||||
free(hi);
|
||||
}
|
||||
McdeExcludeBar(SCREEN_FOR_CLIENT(pcd), x, y, w, h);
|
||||
}
|
||||
|
||||
/* the zone the pointer is at, from the monitor's edges */
|
||||
static Boolean
|
||||
ZoneAt(int px, int py, int mx, int my, int mw, int mh, Zone *z)
|
||||
{
|
||||
int col = (px - mx) * 3 / mw, row = (py - my) * 2 / mh;
|
||||
|
||||
if (col < 0)
|
||||
col = 0;
|
||||
if (col > 2)
|
||||
col = 2;
|
||||
if (row < 0)
|
||||
row = 0;
|
||||
if (row > 1)
|
||||
row = 1;
|
||||
z->half = 0;
|
||||
/* the top edge is the bar's lower border or the screen's */
|
||||
if (py <= my + EDGE) {
|
||||
z->c0 = z->c1 = col;
|
||||
z->r0 = z->r1 = 0;
|
||||
return True;
|
||||
}
|
||||
if (py >= my + mh - 1 - EDGE) {
|
||||
z->c0 = z->c1 = col;
|
||||
z->r0 = z->r1 = 1;
|
||||
return True;
|
||||
}
|
||||
if (px <= mx + EDGE || px >= mx + mw - 1 - EDGE) {
|
||||
int side = px <= mx + EDGE ? 0 : 2;
|
||||
|
||||
if (py > my + mh / 3 && py < my + 2 * mh / 3) {
|
||||
z->half = side == 0 ? -1 : 1;
|
||||
z->c0 = z->c1 = side;
|
||||
z->r0 = 0;
|
||||
z->r1 = 1;
|
||||
} else {
|
||||
z->c0 = z->c1 = side;
|
||||
z->r0 = z->r1 = row;
|
||||
}
|
||||
return True;
|
||||
}
|
||||
return False;
|
||||
}
|
||||
|
||||
/* the frame rectangle of a zone */
|
||||
static void
|
||||
ZoneRect(const Zone *z, int mx, int my, int mw, int mh,
|
||||
int *x, int *y, unsigned int *w, unsigned int *h)
|
||||
{
|
||||
int x0, x1, y0, y1;
|
||||
|
||||
if (z->half != 0) {
|
||||
x0 = z->half < 0 ? mx : mx + mw / 2;
|
||||
x1 = z->half < 0 ? mx + mw / 2 : mx + mw;
|
||||
y0 = my;
|
||||
y1 = my + mh;
|
||||
} else {
|
||||
x0 = mx + z->c0 * mw / 3;
|
||||
x1 = mx + (z->c1 + 1) * mw / 3;
|
||||
y0 = my + z->r0 * mh / 2;
|
||||
y1 = my + (z->r1 + 1) * mh / 2;
|
||||
}
|
||||
*x = x0;
|
||||
*y = y0;
|
||||
*w = (unsigned int) (x1 - x0);
|
||||
*h = (unsigned int) (y1 - y0);
|
||||
}
|
||||
|
||||
/* the target's outline: XOR while dtwm holds the server (freezeOnConfig,
|
||||
* CDE's default), else four thin windows -- never FlashOutline, which
|
||||
* redraws in a loop while the pointer rests at the edge */
|
||||
static void
|
||||
Outline(int x, int y, unsigned int w, unsigned int h)
|
||||
{
|
||||
if (wmGD.freezeOnConfig)
|
||||
MoveOutline(x, y, w, h);
|
||||
else
|
||||
WindowOutline(x, y, w, h);
|
||||
}
|
||||
|
||||
static void
|
||||
HideTarget(void)
|
||||
{
|
||||
if (shown)
|
||||
Outline(0, 0, 0, 0);
|
||||
shown = False;
|
||||
}
|
||||
|
||||
/* is a zone shown (the window's own outline is not drawn then) */
|
||||
Boolean
|
||||
McdeSnapActive(void)
|
||||
{
|
||||
return shown;
|
||||
}
|
||||
|
||||
/* the pointer moved while PCD is dragged: show the zone it would take */
|
||||
void
|
||||
McdeSnapMotion(ClientData *pcd, int px, int py)
|
||||
{
|
||||
int mx, my, mw, mh, x, y;
|
||||
unsigned int w, h;
|
||||
Zone z;
|
||||
|
||||
Monitor(pcd, px, py, &mx, &my, &mw, &mh);
|
||||
if (!ZoneAt(px, py, mx, my, mw, mh, &z)) {
|
||||
anchor.c0 = current.c0 = -1;
|
||||
HideTarget();
|
||||
return;
|
||||
}
|
||||
if (z.half != 0 || anchor.c0 < 0 || anchor.half != 0) {
|
||||
anchor = z;
|
||||
current = z;
|
||||
} else {
|
||||
/* along the edges: the zones from the first to this one */
|
||||
current.half = 0;
|
||||
current.c0 = anchor.c0 < z.c0 ? anchor.c0 : z.c0;
|
||||
current.c1 = anchor.c1 > z.c1 ? anchor.c1 : z.c1;
|
||||
current.r0 = anchor.r0 < z.r0 ? anchor.r0 : z.r0;
|
||||
current.r1 = anchor.r1 > z.r1 ? anchor.r1 : z.r1;
|
||||
}
|
||||
ZoneRect(¤t, mx, my, mw, mh, &x, &y, &w, &h);
|
||||
if (!shown || x != shownX || y != shownY || w != shownW ||
|
||||
h != shownH) {
|
||||
Outline(x, y, w, h);
|
||||
shown = True;
|
||||
shownX = x;
|
||||
shownY = y;
|
||||
shownW = w;
|
||||
shownH = h;
|
||||
}
|
||||
}
|
||||
|
||||
/* PCD's frame to the rectangle (frame coordinates), its size before kept */
|
||||
static void
|
||||
Place(ClientData *pcd, int x, int y, unsigned int w, unsigned int h)
|
||||
{
|
||||
int dx = 0, dy = 0;
|
||||
|
||||
if (!pcd->mcdeSnapped) {
|
||||
pcd->mcdeSnapped = True;
|
||||
pcd->mcdeSnapWidth = pcd->clientWidth;
|
||||
pcd->mcdeSnapHeight = pcd->clientHeight;
|
||||
}
|
||||
if (pcd->clientState == MAXIMIZED_STATE)
|
||||
SetClientState(pcd, NORMAL_STATE, GetTimestamp());
|
||||
/* the size is the client's, the position the frame's (as
|
||||
* CompleteFrameConfig hands them over) */
|
||||
FrameToClient(pcd, &dx, &dy, &w, &h);
|
||||
ProcessNewConfiguration(pcd, x, y, w, h, False);
|
||||
}
|
||||
|
||||
/* the drag ended; True if a zone took the window */
|
||||
Boolean
|
||||
McdeSnapRelease(ClientData *pcd)
|
||||
{
|
||||
int mx, my, mw, mh, x, y;
|
||||
unsigned int w, h;
|
||||
Boolean snapped = shown && current.c0 >= 0;
|
||||
|
||||
HideTarget();
|
||||
if (snapped) {
|
||||
Monitor(pcd, shownX + 1, shownY + 1, &mx, &my, &mw, &mh);
|
||||
ZoneRect(¤t, mx, my, mw, mh, &x, &y, &w, &h);
|
||||
Place(pcd, x, y, w, h);
|
||||
}
|
||||
anchor.c0 = current.c0 = -1;
|
||||
return snapped;
|
||||
}
|
||||
|
||||
/* a snapped window was dropped elsewhere: its size from before */
|
||||
void
|
||||
McdeSnapUnsnap(ClientData *pcd)
|
||||
{
|
||||
if (!pcd->mcdeSnapped)
|
||||
return;
|
||||
pcd->mcdeSnapped = False;
|
||||
ProcessNewConfiguration(pcd, pcd->clientX - pcd->clientOffset.x,
|
||||
pcd->clientY - pcd->clientOffset.y,
|
||||
(unsigned int) pcd->mcdeSnapWidth,
|
||||
(unsigned int) pcd->mcdeSnapHeight, False);
|
||||
}
|
||||
|
||||
/* f.mcde_snap NAME: the zone from the keyboard (the monitor of the window) */
|
||||
Boolean
|
||||
F_McdeSnap(String args, ClientData *pcd, XEvent *event)
|
||||
{
|
||||
static const struct {
|
||||
const char *name;
|
||||
Zone z;
|
||||
} names[] = {
|
||||
{ "left-half", { 0, 0, 0, 1, -1 } },
|
||||
{ "right-half", { 2, 2, 0, 1, 1 } },
|
||||
{ "top", { 0, 2, 0, 0, 0 } },
|
||||
{ "bottom", { 0, 2, 1, 1, 0 } },
|
||||
{ "top-left", { 0, 0, 0, 0, 0 } },
|
||||
{ "top-middle", { 1, 1, 0, 0, 0 } },
|
||||
{ "top-right", { 2, 2, 0, 0, 0 } },
|
||||
{ "bottom-left", { 0, 0, 1, 1, 0 } },
|
||||
{ "bottom-middle", { 1, 1, 1, 1, 0 } },
|
||||
{ "bottom-right", { 2, 2, 1, 1, 0 } },
|
||||
{ "left", { 0, 0, 0, 1, 0 } },
|
||||
{ "middle", { 1, 1, 0, 1, 0 } },
|
||||
{ "right", { 2, 2, 0, 1, 0 } },
|
||||
};
|
||||
int mx, my, mw, mh, x, y;
|
||||
unsigned int w, h;
|
||||
size_t i;
|
||||
|
||||
(void) event;
|
||||
if (pcd == NULL || args == NULL)
|
||||
return True;
|
||||
if (strcmp(args, "restore") == 0) {
|
||||
McdeSnapUnsnap(pcd);
|
||||
return True;
|
||||
}
|
||||
for (i = 0; i < sizeof names / sizeof names[0]; i++)
|
||||
if (strcmp(args, names[i].name) == 0)
|
||||
break;
|
||||
if (i == sizeof names / sizeof names[0])
|
||||
return True;
|
||||
Monitor(pcd, pcd->clientX + 1, pcd->clientY + 1, &mx, &my, &mw, &mh);
|
||||
ZoneRect(&names[i].z, mx, my, mw, mh, &x, &y, &w, &h);
|
||||
Place(pcd, x, y, w, h);
|
||||
return True;
|
||||
}
|
||||
|
||||
/* f.mcde_fullscreen: the window over everything, the bar and panel too */
|
||||
Boolean
|
||||
F_McdeFullscreen(String args, ClientData *pcd, XEvent *event)
|
||||
{
|
||||
(void) args;
|
||||
(void) event;
|
||||
if (pcd != NULL)
|
||||
McdeToggleFullscreen(pcd);
|
||||
return True;
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* WmMcdeSnap.h -- MCDE: zones of the screen and full screen (WmMcdeSnap.c)
|
||||
*
|
||||
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
|
||||
*/
|
||||
#ifndef WM_MCDE_SNAP_H
|
||||
#define WM_MCDE_SNAP_H
|
||||
|
||||
extern void McdeSnapMotion(ClientData *pcd, int px, int py);
|
||||
extern Boolean McdeSnapActive(void);
|
||||
extern Boolean McdeSnapRelease(ClientData *pcd);
|
||||
extern void McdeSnapUnsnap(ClientData *pcd);
|
||||
extern Boolean F_McdeSnap(String args, ClientData *pcd, XEvent *event);
|
||||
extern Boolean F_McdeFullscreen(String args, ClientData *pcd, XEvent *event);
|
||||
extern void McdeToggleFullscreen(ClientData *pCD);
|
||||
|
||||
#endif
|
||||
@@ -94,6 +94,7 @@
|
||||
#include "WmWrkspace.h"
|
||||
#include "WmError.h"
|
||||
#include "WmFunction.h"
|
||||
#include "WmMcdeSnap.h"
|
||||
#include "WmImage.h"
|
||||
#include "WmXSMP.h"
|
||||
|
||||
@@ -410,6 +411,19 @@ FunctionTableEntry functionTable[] = {
|
||||
0,
|
||||
F_McdeAbove,
|
||||
ParseWmFuncNoArg},
|
||||
/* MCDE: full screen and the zones of the screen (WmMcdeSnap.c) */
|
||||
{"f.mcde_fullscreen", F_CONTEXT_ROOT|F_CONTEXT_ICON|F_SUBCONTEXT_IB_IICON|
|
||||
F_SUBCONTEXT_IB_WICON,
|
||||
CRS_ANY,
|
||||
0,
|
||||
F_McdeFullscreen,
|
||||
ParseWmFuncNoArg},
|
||||
{"f.mcde_snap", F_CONTEXT_ROOT|F_CONTEXT_ICON|F_SUBCONTEXT_IB_IICON|
|
||||
F_SUBCONTEXT_IB_WICON,
|
||||
CRS_ANY,
|
||||
0,
|
||||
F_McdeSnap,
|
||||
ParseWmFuncStrArg},
|
||||
{"f.menu", 0,
|
||||
CRS_ANY,
|
||||
0,
|
||||
|
||||
@@ -163,6 +163,7 @@ char *builtinSystemMenu = BUILTINSYSTEMMENU;
|
||||
Minimize _n f.minimize\n\
|
||||
Maximize _x f.maximize\n\
|
||||
Lower _L f.lower\n\
|
||||
\"Full Screen\" _F f.mcde_fullscreen\n\
|
||||
\"Always on Top\" _T f.mcde_above\n\
|
||||
no-label f.separator\n\
|
||||
\"Rename...\" _a f.rename\n\
|
||||
@@ -183,6 +184,7 @@ void InitBuiltinSystemMenu(void)
|
||||
char *MaxString = NULL;
|
||||
char *LowString = NULL;
|
||||
char *AotString = NULL;
|
||||
char *FulString = NULL;
|
||||
char *RenString = NULL;
|
||||
char *OcpString = NULL;
|
||||
char *OcaString = NULL;
|
||||
@@ -301,6 +303,13 @@ void InitBuiltinSystemMenu(void)
|
||||
}
|
||||
}
|
||||
if(gotItAll)
|
||||
{
|
||||
/* MCDE: Full Screen (f.mcde_fullscreen, WmMcdeSnap.c) */
|
||||
tmpString = ((char *)GETMESSAGE(62, 72, "Full\\ Screen _F f.mcde_fullscreen"));
|
||||
if ((FulString = XtNewString (tmpString)) == NULL)
|
||||
gotItAll = False;
|
||||
}
|
||||
if(gotItAll)
|
||||
{
|
||||
/* MCDE: Always on Top (f.mcde_above, WmFunction.c) */
|
||||
tmpString = ((char *)GETMESSAGE(62, 71, "Always\\ on\\ Top _T f.mcde_above"));
|
||||
@@ -403,9 +412,9 @@ void InitBuiltinSystemMenu(void)
|
||||
else
|
||||
{
|
||||
/* put it together */
|
||||
snprintf(dsm, sizeof(dsm), "%s\n{\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n no-label f.separator\n",
|
||||
snprintf(dsm, sizeof(dsm), "%s\n{\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n no-label f.separator\n",
|
||||
defaultSystemMenuName, ResString, MovString,
|
||||
SizString, MinString, MaxString, LowString, AotString);
|
||||
SizString, MinString, MaxString, FulString, LowString, AotString);
|
||||
if (DtwmBehavior)
|
||||
{
|
||||
snprintf(dsmtemp, sizeof(dsmtemp), "%s%s\n%s\n%s\n%s\n no-label f.separator\n",
|
||||
@@ -450,6 +459,8 @@ void InitBuiltinSystemMenu(void)
|
||||
XtFree(LowString);
|
||||
if (AotString != NULL)
|
||||
XtFree(AotString);
|
||||
if (FulString != NULL)
|
||||
XtFree(FulString);
|
||||
if (RenString != NULL)
|
||||
XtFree(RenString);
|
||||
if (OcpString != NULL)
|
||||
@@ -498,6 +509,12 @@ char builtinKeyBindingsName[] = "_MwmKeyBindings_";
|
||||
Alt<Key>F6 window f.next_key transient\n\
|
||||
Alt Shift<Key>F6 window f.prev_key transient\n\
|
||||
Shift<Key>F10 icon f.post_wmenu\n\
|
||||
Alt Ctrl<Key>f window f.mcde_fullscreen\n\
|
||||
Alt Ctrl<Key>Left window f.mcde_snap left-half\n\
|
||||
Alt Ctrl<Key>Right window f.mcde_snap right-half\n\
|
||||
Alt Ctrl<Key>Up window f.mcde_snap top\n\
|
||||
Alt Ctrl<Key>Down window f.mcde_snap bottom\n\
|
||||
Alt Ctrl<Key>BackSpace window f.mcde_snap restore\n\
|
||||
}";
|
||||
char builtinKeyBindings[] = BUILTINKEYBINDINGS
|
||||
|
||||
|
||||
@@ -76,6 +76,7 @@
|
||||
* include extern functions
|
||||
*/
|
||||
#include "WmWinConf.h"
|
||||
#include "WmMcdeSnap.h"
|
||||
#include "WmCDInfo.h"
|
||||
#include "WmCDecor.h"
|
||||
#include "WmCPlace.h"
|
||||
@@ -348,7 +349,15 @@ void HandleClientFrameMove (ClientData *pcd, XEvent *pev)
|
||||
moveX += pev->xbutton.x_root - moveLastPointerX;
|
||||
moveY += pev->xbutton.y_root - moveLastPointerY;
|
||||
|
||||
CompleteFrameConfig (pcd, pev);
|
||||
{
|
||||
/* MCDE: into the zone shown, or out of the one it was in
|
||||
* (WmMcdeSnap.c); CompleteFrameConfig clears anyMotion */
|
||||
Boolean moved = anyMotion, icon = wmGD.movingIcon;
|
||||
|
||||
CompleteFrameConfig (pcd, pev);
|
||||
if (!icon && !McdeSnapRelease (pcd) && moved)
|
||||
McdeSnapUnsnap (pcd);
|
||||
}
|
||||
moveDone = True;
|
||||
}
|
||||
else if (pev->type == MotionNotify)
|
||||
@@ -366,11 +375,14 @@ void HandleClientFrameMove (ClientData *pcd, XEvent *pev)
|
||||
if (tmpX || tmpY) {
|
||||
FixFrameValues (pcd, &moveX, &moveY, &moveWidth, &moveHeight,
|
||||
FALSE /* no size checks */);
|
||||
/* MCDE: a zone at the edge of the monitor takes the outline */
|
||||
if (!wmGD.movingIcon)
|
||||
McdeSnapMotion (pcd, moveLastPointerX, moveLastPointerY);
|
||||
if (pcd->pSD->moveOpaque)
|
||||
{
|
||||
MoveOpaque (pcd, moveX, moveY, moveWidth, moveHeight);
|
||||
}
|
||||
else
|
||||
else if (!McdeSnapActive ())
|
||||
{
|
||||
MoveOutline(moveX, moveY, moveWidth, moveHeight);
|
||||
}
|
||||
@@ -3589,6 +3601,7 @@ void GetConfigEvent (Display *display, Window window, unsigned long mask, int cu
|
||||
int pollCount;
|
||||
Boolean gotEvent;
|
||||
Boolean eventToReturn = False;
|
||||
Boolean flash;
|
||||
|
||||
while (!eventToReturn)
|
||||
{
|
||||
@@ -3609,8 +3622,12 @@ void GetConfigEvent (Display *display, Window window, unsigned long mask, int cu
|
||||
*/
|
||||
polling = wmGD.enableWarp;
|
||||
pollCount = CONFIG_POLL_COUNT;
|
||||
/* MCDE: poll only to flash an outline (server not grabbed, window
|
||||
* not moved opaquely); otherwise wait for the next event -- dtwm
|
||||
* used most of a CPU while a window was held still (measured) */
|
||||
flash = !wmGD.freezeOnConfig && !wmGD.pActiveSD->moveOpaque;
|
||||
|
||||
if (!gotEvent && (polling || !wmGD.freezeOnConfig))
|
||||
if (!gotEvent && (polling || flash))
|
||||
{
|
||||
/*
|
||||
* poll for events and flash the frame outline
|
||||
@@ -3664,7 +3681,7 @@ void GetConfigEvent (Display *display, Window window, unsigned long mask, int cu
|
||||
eventToReturn = True;
|
||||
break; /* from while loop */
|
||||
}
|
||||
else if (wmGD.freezeOnConfig)
|
||||
else if (!flash)
|
||||
{
|
||||
if (!(--pollCount))
|
||||
{
|
||||
@@ -3679,7 +3696,7 @@ void GetConfigEvent (Display *display, Window window, unsigned long mask, int cu
|
||||
} /* end while */
|
||||
}
|
||||
|
||||
if (!gotEvent && !polling && wmGD.freezeOnConfig)
|
||||
if (!gotEvent && !polling && !flash)
|
||||
{
|
||||
/*
|
||||
* Wait for next event on window
|
||||
|
||||
@@ -143,6 +143,7 @@ GetClientInfo (WmScreenData *pSD, Window clientWindow, long manageFlags)
|
||||
pCD->clientID = ++(pSD->clientCounter);
|
||||
pCD->clientFlags = WM_INITIALIZATION;
|
||||
pCD->mcdeAbove = False;
|
||||
pCD->mcdeSnapped = False;
|
||||
pCD->iconFlags = 0;
|
||||
pCD->thisIconBox = NULL;
|
||||
pCD->pECD = NULL;
|
||||
|
||||
@@ -634,6 +634,9 @@ $ This item renames the title of a window
|
||||
$ MCDE: keeps the window above the others (a toggle, WmFunction.c)
|
||||
71 Always\\ on\\ Top _T f.mcde_above
|
||||
|
||||
$ MCDE: the window over the whole screen, bar and panel too (WmMcdeSnap.c)
|
||||
72 Full\\ Screen _F f.mcde_fullscreen
|
||||
|
||||
$set 70
|
||||
$ THIS COMMENT FOR DTWM TEAM ONLY -- WmWinInfo.c --
|
||||
$ This entire set is written to an error file.
|
||||
|
||||
@@ -92,6 +92,7 @@ $ *--------------------------------------------------------------------------*
|
||||
"Size" _S f.resize\n\
|
||||
"Minimize" _n f.minimize\n\
|
||||
"Maximize" _x f.maximize\n\
|
||||
"Full Screen" _F f.mcde_fullscreen\n\
|
||||
"Lower" _L f.lower\n\
|
||||
"Always on Top" _T f.mcde_above\n\
|
||||
no-label f.separator\n\
|
||||
@@ -114,6 +115,7 @@ $ *--------------------------------------------------------------------------*
|
||||
"Size" _S f.resize\n\
|
||||
"Minimize" _n f.minimize\n\
|
||||
"Maximize" _x f.maximize\n\
|
||||
"Full Screen" _F f.mcde_fullscreen\n\
|
||||
"Lower" _L f.lower\n\
|
||||
"Always on Top" _T f.mcde_above\n\
|
||||
no-label f.separator\n\
|
||||
@@ -136,6 +138,7 @@ $ *--------------------------------------------------------------------------*
|
||||
"Size" _S Alt<Key>F8 f.resize\n\
|
||||
"Minimize" _n Alt<Key>F9 f.minimize\n\
|
||||
"Maximize" _x Alt<Key>F10 f.maximize\n\
|
||||
"Full Screen" _F f.mcde_fullscreen\n\
|
||||
"Lower" _L Alt<Key>F3 f.lower\n\
|
||||
"Always on Top" _T f.mcde_above\n\
|
||||
no-label f.separator\n\
|
||||
@@ -189,6 +192,12 @@ $ *
|
||||
Alt<Key>Escape root|icon|window f.next_key\n\
|
||||
Alt Shift<Key>Escape root|icon|window f.prev_key\n\
|
||||
Alt Ctrl Shift<Key>exclam root|icon|window f.set_behavior\n\
|
||||
Alt Ctrl<Key>f window f.mcde_fullscreen\n\
|
||||
Alt Ctrl<Key>Left window f.mcde_snap left-half\n\
|
||||
Alt Ctrl<Key>Right window f.mcde_snap right-half\n\
|
||||
Alt Ctrl<Key>Up window f.mcde_snap top\n\
|
||||
Alt Ctrl<Key>Down window f.mcde_snap bottom\n\
|
||||
Alt Ctrl<Key>BackSpace window f.mcde_snap restore\n\
|
||||
Alt<Key>F6 window f.next_key transient
|
||||
$ *
|
||||
$ * #DefaultButtonBindings#
|
||||
@@ -214,4 +223,10 @@ $ *
|
||||
Alt Shift<Key>F6 window f.prev_key transient\n\
|
||||
<Key>SunFront ifkey|icon|window f.raise_lower\n\
|
||||
<Key>SunOpen ifkey|window f.minimize\n\
|
||||
Alt Ctrl<Key>f window f.mcde_fullscreen\n\
|
||||
Alt Ctrl<Key>Left window f.mcde_snap left-half\n\
|
||||
Alt Ctrl<Key>Right window f.mcde_snap right-half\n\
|
||||
Alt Ctrl<Key>Up window f.mcde_snap top\n\
|
||||
Alt Ctrl<Key>Down window f.mcde_snap bottom\n\
|
||||
Alt Ctrl<Key>BackSpace window f.mcde_snap restore\n\
|
||||
<Key>SunOpen ifkey|icon f.normalize
|
||||
@@ -97,6 +97,7 @@ $ *--------------------------------------------------------------------------*
|
||||
\"Größe ändern\"\t\t\t_G\t\t\tf.resize\n\
|
||||
\"Symbolgröße\"\t\t\t_S\t\t\tf.minimize\n\
|
||||
\"Maximale Größe\"\t\t\t_M\t\t\tf.maximize\n\
|
||||
\"Vollbild\"\t\t\t_F\t\t\tf.mcde_fullscreen\n\
|
||||
\"Nach hinten\"\t\t\t_u\t\t\tf.lower\n\
|
||||
\"Immer im Vordergrund\"\t\t\t_T\t\t\tf.mcde_above\n\
|
||||
no-label\t\t\t\t\t\tf.separator\n\
|
||||
@@ -120,6 +121,7 @@ $ *--------------------------------------------------------------------------*
|
||||
\"Größe ändern\"\t\t\t_G\tf.resize\n\
|
||||
\"Symbolgröße\"\t\t\t_S\tf.minimize\n\
|
||||
\"Maximale Größe\"\t\t\t_M\tf.maximize\n\
|
||||
\"Vollbild\"\t\t\t_F\tf.mcde_fullscreen\n\
|
||||
\"Nach hinten\"\t\t\t_u\tf.lower\n\
|
||||
\"Immer im Vordergrund\"\t\t\t_T\tf.mcde_above\n\
|
||||
no-label\t\t\t\tf.separator\n\
|
||||
@@ -143,6 +145,7 @@ $ *--------------------------------------------------------------------------*
|
||||
\"Größe ändern\"\t_G\tAlt<Key>F8\tf.resize\n\
|
||||
\"Symbolgröße\"\t_S\tAlt<Key>F9\tf.minimize\n\
|
||||
\"Maximale Größe\"\t_M\tAlt<Key>F10\tf.maximize\n\
|
||||
\"Vollbild\"\t_F\t\tf.mcde_fullscreen\n\
|
||||
\"Nach hinten\"\t_u\tAlt<Key>F3\tf.lower\n\
|
||||
\"Immer im Vordergrund\"\t_T\t\tf.mcde_above\n\
|
||||
no-label\t\t\t\t\t\tf.separator\n\
|
||||
@@ -198,6 +201,12 @@ $ *
|
||||
Alt<Key>Escape\t\troot|icon|window\tf.next_key\n\
|
||||
Alt Shift<Key>Escape\troot|icon|window\tf.prev_key\n\
|
||||
Alt Ctrl Shift<Key>exclam\troot|icon|window\tf.set_behavior\n\
|
||||
Alt Ctrl<Key>f window f.mcde_fullscreen\n\
|
||||
Alt Ctrl<Key>Left window f.mcde_snap left-half\n\
|
||||
Alt Ctrl<Key>Right window f.mcde_snap right-half\n\
|
||||
Alt Ctrl<Key>Up window f.mcde_snap top\n\
|
||||
Alt Ctrl<Key>Down window f.mcde_snap bottom\n\
|
||||
Alt Ctrl<Key>BackSpace window f.mcde_snap restore\n\
|
||||
Alt<Key>F6\t\t\twindow\t\t\tf.next_key transient"
|
||||
$ *
|
||||
$ * #DefaultButtonBindings#
|
||||
@@ -224,4 +233,10 @@ $ *
|
||||
Alt Shift<Key>F6\t\twindow\t\t\tf.prev_key transient\n\
|
||||
<Key>SunFront ifkey|icon|window f.raise_lower\n\
|
||||
<Key>SunOpen ifkey|window f.minimize\n\
|
||||
Alt Ctrl<Key>f window f.mcde_fullscreen\n\
|
||||
Alt Ctrl<Key>Left window f.mcde_snap left-half\n\
|
||||
Alt Ctrl<Key>Right window f.mcde_snap right-half\n\
|
||||
Alt Ctrl<Key>Up window f.mcde_snap top\n\
|
||||
Alt Ctrl<Key>Down window f.mcde_snap bottom\n\
|
||||
Alt Ctrl<Key>BackSpace window f.mcde_snap restore\n\
|
||||
<Key>SunOpen ifkey|icon f.normalize"
|
||||
@@ -92,6 +92,7 @@ $ *--------------------------------------------------------------------------*
|
||||
"Μέγεθος" _S f.resize\n\
|
||||
"Ελαχιστοποίηση" _n f.minimize\n\
|
||||
"Μεγιστοποίηση" _x f.maximize\n\
|
||||
"Πλήρης οθόνη" _F f.mcde_fullscreen\n\
|
||||
"Βύθιση" _L f.lower\n\
|
||||
"Πάντα από πάνω" _T f.mcde_above\n\
|
||||
no-label f.separator\n\
|
||||
@@ -114,6 +115,7 @@ $ *--------------------------------------------------------------------------*
|
||||
"Μέγεθος" _S f.resize\n\
|
||||
"Ελαχιστοποίηση" _n f.minimize\n\
|
||||
"Μεγιστοποίηση" _x f.maximize\n\
|
||||
"Πλήρης οθόνη" _F f.mcde_fullscreen\n\
|
||||
"Βύθιση" _L f.lower\n\
|
||||
"Πάντα από πάνω" _T f.mcde_above\n\
|
||||
no-label f.separator\n\
|
||||
@@ -136,6 +138,7 @@ $ *--------------------------------------------------------------------------*
|
||||
"Μέγεθος" _S Alt<Key>F8 f.resize\n\
|
||||
"Ελαχιστοποίηση" _n Alt<Key>F9 f.minimize\n\
|
||||
"Μεγιστοποίηση" _x Alt<Key>F10 f.maximize\n\
|
||||
"Πλήρης οθόνη" _F f.mcde_fullscreen\n\
|
||||
"Βύθιση" _L Alt<Key>F3 f.lower\n\
|
||||
"Πάντα από πάνω" _T f.mcde_above\n\
|
||||
no-label f.separator\n\
|
||||
@@ -189,6 +192,12 @@ $ *
|
||||
Alt<Key>Escape root|icon|window f.next_key\n\
|
||||
Alt Shift<Key>Escape root|icon|window f.prev_key\n\
|
||||
Alt Ctrl Shift<Key>exclam root|icon|window f.set_behavior\n\
|
||||
Alt Ctrl<Key>f window f.mcde_fullscreen\n\
|
||||
Alt Ctrl<Key>Left window f.mcde_snap left-half\n\
|
||||
Alt Ctrl<Key>Right window f.mcde_snap right-half\n\
|
||||
Alt Ctrl<Key>Up window f.mcde_snap top\n\
|
||||
Alt Ctrl<Key>Down window f.mcde_snap bottom\n\
|
||||
Alt Ctrl<Key>BackSpace window f.mcde_snap restore\n\
|
||||
Alt<Key>F6 window f.next_key transient
|
||||
$ *
|
||||
$ * #DefaultButtonBindings#
|
||||
@@ -214,4 +223,10 @@ $ *
|
||||
Alt Shift<Key>F6 window f.prev_key transient\n\
|
||||
<Key>SunFront ifkey|icon|window f.raise_lower\n\
|
||||
<Key>SunOpen ifkey|window f.minimize\n\
|
||||
Alt Ctrl<Key>f window f.mcde_fullscreen\n\
|
||||
Alt Ctrl<Key>Left window f.mcde_snap left-half\n\
|
||||
Alt Ctrl<Key>Right window f.mcde_snap right-half\n\
|
||||
Alt Ctrl<Key>Up window f.mcde_snap top\n\
|
||||
Alt Ctrl<Key>Down window f.mcde_snap bottom\n\
|
||||
Alt Ctrl<Key>BackSpace window f.mcde_snap restore\n\
|
||||
<Key>SunOpen ifkey|icon f.normalize
|
||||
@@ -97,6 +97,7 @@ $ *--------------------------------------------------------------------------*
|
||||
\"Tamaño\"\t\t\t_D\t\t\tf.resize\n\
|
||||
\"Minimizar\"\t\t\t_n\t\t\tf.minimize\n\
|
||||
\"Maximizar\"\t\t\t_x\t\t\tf.maximize\n\
|
||||
\"Pantalla completa\"\t\t\t_F\t\t\tf.mcde_fullscreen\n\
|
||||
\"Bajar\"\t\t\t_P\t\t\tf.lower\n\
|
||||
\"Siempre encima\"\t\t\t_T\t\t\tf.mcde_above\n\
|
||||
no-label\t\t\t\t\t\tf.separator\n\
|
||||
@@ -120,6 +121,7 @@ $ *--------------------------------------------------------------------------*
|
||||
\"Tamaño\"\t\t\t_T\tf.resize\n\
|
||||
\"Minimizar\"\t\t\t_n\tf.minimize\n\
|
||||
\"Maximizar\"\t\t\t_x\tf.maximize\n\
|
||||
\"Pantalla completa\"\t\t\t_F\tf.mcde_fullscreen\n\
|
||||
\"Bajar\"\t\t\t_P\tf.lower\n\
|
||||
\"Siempre encima\"\t\t\t_T\tf.mcde_above\n\
|
||||
no-label\t\t\t\tf.separator\n\
|
||||
@@ -143,6 +145,7 @@ $ *--------------------------------------------------------------------------*
|
||||
\"Tamaño\"\t_D\tAlt<Key>F8\tf.resize\n\
|
||||
\"Minimizar\"\t_n\tAlt<Key>F9\tf.minimize\n\
|
||||
\"Maximizar\"\t_x\tAlt<Key>F10\tf.maximize\n\
|
||||
\"Pantalla completa\"\t_F\t\tf.mcde_fullscreen\n\
|
||||
\"Bajar\"\t_P\tAlt<Key>F3\tf.lower\n\
|
||||
\"Siempre encima\"\t_T\t\tf.mcde_above\n\
|
||||
no-label\t\t\t\t\t\tf.separator\n\
|
||||
@@ -198,6 +201,12 @@ $ *
|
||||
Alt<Key>Escape\t\troot|icon|window\tf.next_key\n\
|
||||
Alt Despl<Key>Escape\troot|icon|window\tf.prev_key\n\
|
||||
Alt Control Despl<Key>exclam\troot|icon|window\tf.set_behavior\n\
|
||||
Alt Ctrl<Key>f window f.mcde_fullscreen\n\
|
||||
Alt Ctrl<Key>Left window f.mcde_snap left-half\n\
|
||||
Alt Ctrl<Key>Right window f.mcde_snap right-half\n\
|
||||
Alt Ctrl<Key>Up window f.mcde_snap top\n\
|
||||
Alt Ctrl<Key>Down window f.mcde_snap bottom\n\
|
||||
Alt Ctrl<Key>BackSpace window f.mcde_snap restore\n\
|
||||
Alt<Key>F6\t\t\twindow\t\t\tf.next_key transient"
|
||||
$ *
|
||||
$ * #DefaultButtonBindings#
|
||||
@@ -224,4 +233,10 @@ $ *
|
||||
Alt Despl<Key>F6\t\twindow\t\t\tf.prev_key transient\n\
|
||||
<Key>SunFront ifkey|icon|window f.raise_lower\n\
|
||||
<Key>SunOpen ifkey|window f.minimize\n\
|
||||
Alt Ctrl<Key>f window f.mcde_fullscreen\n\
|
||||
Alt Ctrl<Key>Left window f.mcde_snap left-half\n\
|
||||
Alt Ctrl<Key>Right window f.mcde_snap right-half\n\
|
||||
Alt Ctrl<Key>Up window f.mcde_snap top\n\
|
||||
Alt Ctrl<Key>Down window f.mcde_snap bottom\n\
|
||||
Alt Ctrl<Key>BackSpace window f.mcde_snap restore\n\
|
||||
<Key>SunOpen ifkey|icon f.normalize"
|
||||
@@ -97,6 +97,7 @@ $ *--------------------------------------------------------------------------*
|
||||
\"Dimensionner\"\t\t\t_s\t\t\tf.resize\n\
|
||||
\"Réduire\"\t\t\t_i\t\t\tf.minimize\n\
|
||||
\"Agrandir\"\t\t\t_d\t\t\tf.maximize\n\
|
||||
\"Plein écran\"\t\t\t_F\t\t\tf.mcde_fullscreen\n\
|
||||
\"Derrière\"\t\t\t_e\t\t\tf.lower\n\
|
||||
\"Toujours au premier plan\"\t\t\t_T\t\t\tf.mcde_above\n\
|
||||
no-label\t\t\t\t\t\tf.separator\n\
|
||||
@@ -120,6 +121,7 @@ $ *--------------------------------------------------------------------------*
|
||||
\"Dimensionner\"\t\t\t_i\tf.resize\n\
|
||||
\"Réduire\"\t\t\t_u\tf.minimize\n\
|
||||
\"Agrandir\"\t\t\t_A\tf.maximize\n\
|
||||
\"Plein écran\"\t\t\t_F\tf.mcde_fullscreen\n\
|
||||
\"Derrière\"\t\t\t_r\tf.lower\n\
|
||||
\"Toujours au premier plan\"\t\t\t_T\tf.mcde_above\n\
|
||||
no-label\t\t\t\tf.separator\n\
|
||||
@@ -143,6 +145,7 @@ $ *--------------------------------------------------------------------------*
|
||||
\"Dimensionner\"\t_i\tAlt<Key>F8\tf.resize\n\
|
||||
\"Réduire\"\t_u\tAlt<Key>F9\tf.minimize\n\
|
||||
\"Agrandir\"\t_A\tAlt<Key>F10\tf.maximize\n\
|
||||
\"Plein écran\"\t_F\t\tf.mcde_fullscreen\n\
|
||||
\"Derrière\"\t_r\tAlt<Key>F3\tf.lower\n\
|
||||
\"Toujours au premier plan\"\t_T\t\tf.mcde_above\n\
|
||||
no-label\t\t\t\t\t\tf.separator\n\
|
||||
@@ -197,6 +200,12 @@ $ *
|
||||
Alt<Key>Echap\t\troot|icon|window\tf.next_key\n\
|
||||
Alt Maj<Key>Echap\troot|icon|window\tf.prev_key\n\
|
||||
Alt Ctrl Maj<Key>exclam\troot|icon|window\tf.set_behavior\n\
|
||||
Alt Ctrl<Key>f window f.mcde_fullscreen\n\
|
||||
Alt Ctrl<Key>Left window f.mcde_snap left-half\n\
|
||||
Alt Ctrl<Key>Right window f.mcde_snap right-half\n\
|
||||
Alt Ctrl<Key>Up window f.mcde_snap top\n\
|
||||
Alt Ctrl<Key>Down window f.mcde_snap bottom\n\
|
||||
Alt Ctrl<Key>BackSpace window f.mcde_snap restore\n\
|
||||
Alt<Key>F6\t\t\twindow\t\t\tf.next_key transient"
|
||||
$ *
|
||||
$ * #DefaultButtonBindings#
|
||||
@@ -223,4 +232,10 @@ $ *
|
||||
Alt Maj<Key>F6\t\twindow\t\t\tf.prev_key transient\n\
|
||||
<Key>SunFront ifkey|icon|window f.raise_lower\n\
|
||||
<Key>SunOpen ifkey|window f.minimize\n\
|
||||
Alt Ctrl<Key>f window f.mcde_fullscreen\n\
|
||||
Alt Ctrl<Key>Left window f.mcde_snap left-half\n\
|
||||
Alt Ctrl<Key>Right window f.mcde_snap right-half\n\
|
||||
Alt Ctrl<Key>Up window f.mcde_snap top\n\
|
||||
Alt Ctrl<Key>Down window f.mcde_snap bottom\n\
|
||||
Alt Ctrl<Key>BackSpace window f.mcde_snap restore\n\
|
||||
<Key>SunOpen ifkey|icon f.normalize"
|
||||
@@ -92,6 +92,7 @@ $ *--------------------------------------------------------------------------*
|
||||
"Ridimensionare" _d f.resize\n\
|
||||
"Ridurre a icona" _i f.minimize\n\
|
||||
"Ingrandire" _g f.maximize\n\
|
||||
"Schermo intero" _F f.mcde_fullscreen\n\
|
||||
"In fondo" _f f.lower\n\
|
||||
"Sempre in primo piano" _T f.mcde_above\n\
|
||||
no-label f.separator\n\
|
||||
@@ -114,6 +115,7 @@ $ *--------------------------------------------------------------------------*
|
||||
"Ridimensionare" _d f.resize\n\
|
||||
"Ridurre a icona" _i f.minimize\n\
|
||||
"Ingrandire" _g f.maximize\n\
|
||||
"Schermo intero" _F f.mcde_fullscreen\n\
|
||||
"In fondo" _f f.lower\n\
|
||||
"Sempre in primo piano" _T f.mcde_above\n\
|
||||
no-label f.separator\n\
|
||||
@@ -136,6 +138,7 @@ $ *--------------------------------------------------------------------------*
|
||||
"Ridimensionare" _d Alt<Key>F8 f.resize\n\
|
||||
"Ridurre a icona" _i Alt<Key>F9 f.minimize\n\
|
||||
"Ingrandire" _g Alt<Key>F10 f.maximize\n\
|
||||
"Schermo intero" _F f.mcde_fullscreen\n\
|
||||
"In fondo" _f Alt<Key>F3 f.lower\n\
|
||||
"Sempre in primo piano" _T f.mcde_above\n\
|
||||
no-label f.separator\n\
|
||||
@@ -189,6 +192,12 @@ $ *
|
||||
Alt<Key>Escape root|icon|window f.next_key\n\
|
||||
Alt Shift<Key>Escape root|icon|window f.prev_key\n\
|
||||
Alt Ctrl Shift<Key>exclam root|icon|window f.set_behavior\n\
|
||||
Alt Ctrl<Key>f window f.mcde_fullscreen\n\
|
||||
Alt Ctrl<Key>Left window f.mcde_snap left-half\n\
|
||||
Alt Ctrl<Key>Right window f.mcde_snap right-half\n\
|
||||
Alt Ctrl<Key>Up window f.mcde_snap top\n\
|
||||
Alt Ctrl<Key>Down window f.mcde_snap bottom\n\
|
||||
Alt Ctrl<Key>BackSpace window f.mcde_snap restore\n\
|
||||
Alt<Key>F6 window f.next_key transient
|
||||
$ *
|
||||
$ * #DefaultButtonBindings#
|
||||
@@ -214,4 +223,10 @@ $ *
|
||||
Alt Shift<Key>F6 window f.prev_key transient\n\
|
||||
<Key>SunFront ifkey|icon|window f.raise_lower\n\
|
||||
<Key>SunOpen ifkey|window f.minimize\n\
|
||||
Alt Ctrl<Key>f window f.mcde_fullscreen\n\
|
||||
Alt Ctrl<Key>Left window f.mcde_snap left-half\n\
|
||||
Alt Ctrl<Key>Right window f.mcde_snap right-half\n\
|
||||
Alt Ctrl<Key>Up window f.mcde_snap top\n\
|
||||
Alt Ctrl<Key>Down window f.mcde_snap bottom\n\
|
||||
Alt Ctrl<Key>BackSpace window f.mcde_snap restore\n\
|
||||
<Key>SunOpen ifkey|icon f.normalize
|
||||
@@ -92,6 +92,7 @@ $ *--------------------------------------------------------------------------*
|
||||
"サイズ(S)" _S f.resize\n\
|
||||
"アイコン化(n)" _n f.minimize\n\
|
||||
"最大表示(x)" _x f.maximize\n\
|
||||
"全画面表示(F)" _F f.mcde_fullscreen\n\
|
||||
"奥へ(L)" _L f.lower\n\
|
||||
"常に手前に表示(T)" _T f.mcde_above\n\
|
||||
no-label f.separator\n\
|
||||
@@ -114,6 +115,7 @@ $ *--------------------------------------------------------------------------*
|
||||
"サイズ(S)" _S f.resize\n\
|
||||
"アイコン化(n)" _n f.minimize\n\
|
||||
"最大表示(x)" _x f.maximize\n\
|
||||
"全画面表示(F)" _F f.mcde_fullscreen\n\
|
||||
"奥へ(L)" _L f.lower\n\
|
||||
"常に手前に表示(T)" _T f.mcde_above\n\
|
||||
no-label f.separator\n\
|
||||
@@ -136,6 +138,7 @@ $ *--------------------------------------------------------------------------*
|
||||
"サイズ(S)" _S Alt<Key>F8 f.resize\n\
|
||||
"アイコン化(n)" _n Alt<Key>F9 f.minimize\n\
|
||||
"最大表示(x)" _x Alt<Key>F10 f.maximize\n\
|
||||
"全画面表示(F)" _F f.mcde_fullscreen\n\
|
||||
"奥へ(L)" _L Alt<Key>F3 f.lower\n\
|
||||
"常に手前に表示(T)" _T f.mcde_above\n\
|
||||
no-label f.separator\n\
|
||||
@@ -185,6 +188,12 @@ $ *
|
||||
Alt<Key>Escape root|icon|window f.next_key\n\
|
||||
Alt Shift<Key>Escape root|icon|window f.prev_key\n\
|
||||
Alt Ctrl Shift<Key>exclam root|icon|window f.set_behavior\n\
|
||||
Alt Ctrl<Key>f window f.mcde_fullscreen\n\
|
||||
Alt Ctrl<Key>Left window f.mcde_snap left-half\n\
|
||||
Alt Ctrl<Key>Right window f.mcde_snap right-half\n\
|
||||
Alt Ctrl<Key>Up window f.mcde_snap top\n\
|
||||
Alt Ctrl<Key>Down window f.mcde_snap bottom\n\
|
||||
Alt Ctrl<Key>BackSpace window f.mcde_snap restore\n\
|
||||
Alt<Key>F6 window f.next_key transient
|
||||
$ *
|
||||
$ * #DefaultButtonBindings#
|
||||
@@ -210,4 +219,10 @@ $ *
|
||||
Alt Shift<Key>F6 window f.prev_key transient\n\
|
||||
<Key>SunFront ifkey|icon|window f.raise_lower\n\
|
||||
<Key>SunOpen ifkey|window f.minimize\n\
|
||||
Alt Ctrl<Key>f window f.mcde_fullscreen\n\
|
||||
Alt Ctrl<Key>Left window f.mcde_snap left-half\n\
|
||||
Alt Ctrl<Key>Right window f.mcde_snap right-half\n\
|
||||
Alt Ctrl<Key>Up window f.mcde_snap top\n\
|
||||
Alt Ctrl<Key>Down window f.mcde_snap bottom\n\
|
||||
Alt Ctrl<Key>BackSpace window f.mcde_snap restore\n\
|
||||
<Key>SunOpen ifkey|icon f.normalize
|
||||
@@ -92,6 +92,7 @@ $ *--------------------------------------------------------------------------*
|
||||
"크기 바꾸기S" _S f.resize\n\
|
||||
"아이콘으로n" _n f.minimize\n\
|
||||
"가장 크게x" _x f.maximize\n\
|
||||
"전체 화면(F)" _F f.mcde_fullscreen\n\
|
||||
"뒤로 보내기L" _L f.lower\n\
|
||||
"항상 위에(T)" _T f.mcde_above\n\
|
||||
no-label f.separator\n\
|
||||
@@ -114,6 +115,7 @@ $ *--------------------------------------------------------------------------*
|
||||
"크기 바꾸기S" _S f.resize\n\
|
||||
"아이콘으로n" _n f.minimize\n\
|
||||
"가장 크게x" _x f.maximize\n\
|
||||
"전체 화면(F)" _F f.mcde_fullscreen\n\
|
||||
"뒤로 보내기L" _L f.lower\n\
|
||||
"항상 위에(T)" _T f.mcde_above\n\
|
||||
no-label f.separator\n\
|
||||
@@ -136,6 +138,7 @@ $ *--------------------------------------------------------------------------*
|
||||
"크기 바꾸기S" _S Alt<Key>F8 f.resize\n\
|
||||
"아이콘으로n" _n Alt<Key>F9 f.minimize\n\
|
||||
"가장 크게x" _x Alt<Key>F10 f.maximize\n\
|
||||
"전체 화면(F)" _F f.mcde_fullscreen\n\
|
||||
"뒤로 보내기L" _L Alt<Key>F3 f.lower\n\
|
||||
"항상 위에(T)" _T f.mcde_above\n\
|
||||
no-label f.separator\n\
|
||||
@@ -185,6 +188,12 @@ $ *
|
||||
Alt<Key>Escape root|icon|window f.next_key\n\
|
||||
Alt Shift<Key>Escape root|icon|window f.prev_key\n\
|
||||
Alt Ctrl Shift<Key>exclam root|icon|window f.set_behavior\n\
|
||||
Alt Ctrl<Key>f window f.mcde_fullscreen\n\
|
||||
Alt Ctrl<Key>Left window f.mcde_snap left-half\n\
|
||||
Alt Ctrl<Key>Right window f.mcde_snap right-half\n\
|
||||
Alt Ctrl<Key>Up window f.mcde_snap top\n\
|
||||
Alt Ctrl<Key>Down window f.mcde_snap bottom\n\
|
||||
Alt Ctrl<Key>BackSpace window f.mcde_snap restore\n\
|
||||
Alt<Key>F6 window f.next_key transient
|
||||
$ *
|
||||
$ * #DefaultButtonBindings#
|
||||
@@ -210,4 +219,10 @@ $ *
|
||||
Alt Shift<Key>F6 window f.prev_key transient\n\
|
||||
<Key>SunFront ifkey|icon|window f.raise_lower\n\
|
||||
<Key>SunOpen ifkey|window f.minimize\n\
|
||||
Alt Ctrl<Key>f window f.mcde_fullscreen\n\
|
||||
Alt Ctrl<Key>Left window f.mcde_snap left-half\n\
|
||||
Alt Ctrl<Key>Right window f.mcde_snap right-half\n\
|
||||
Alt Ctrl<Key>Up window f.mcde_snap top\n\
|
||||
Alt Ctrl<Key>Down window f.mcde_snap bottom\n\
|
||||
Alt Ctrl<Key>BackSpace window f.mcde_snap restore\n\
|
||||
<Key>SunOpen ifkey|icon f.normalize
|
||||
@@ -92,6 +92,7 @@ $ *--------------------------------------------------------------------------*
|
||||
"Ändra storlek" _Ä f.resize\n\
|
||||
"Minimera" _n f.minimize\n\
|
||||
"Maximera" _x f.maximize\n\
|
||||
"Helskärm" _F f.mcde_fullscreen\n\
|
||||
"Lägg underst" _L f.lower\n\
|
||||
"Alltid överst" _T f.mcde_above\n\
|
||||
no-label f.separator\n\
|
||||
@@ -114,6 +115,7 @@ $ *--------------------------------------------------------------------------*
|
||||
"Ändra storlek" _Ä f.resize\n\
|
||||
"Minimera" _n f.minimize\n\
|
||||
"Maximera" _x f.maximize\n\
|
||||
"Helskärm" _F f.mcde_fullscreen\n\
|
||||
"Lägg underst" _L f.lower\n\
|
||||
"Alltid överst" _T f.mcde_above\n\
|
||||
no-label f.separator\n\
|
||||
@@ -136,6 +138,7 @@ $ *--------------------------------------------------------------------------*
|
||||
"Ändra storlek" _Ä Alt<Key>F8 f.resize\n\
|
||||
"Minimera" _n Alt<Key>F9 f.minimize\n\
|
||||
"Maximera" _x Alt<Key>F10 f.maximize\n\
|
||||
"Helskärm" _F f.mcde_fullscreen\n\
|
||||
"Lägg underst" _L Alt<Key>F3 f.lower\n\
|
||||
"Alltid överst" _T f.mcde_above\n\
|
||||
no-label f.separator\n\
|
||||
@@ -185,6 +188,12 @@ $ *
|
||||
Alt<Key>Esc root|icon|window f.next_key\n\
|
||||
Alt Skift<Key>Esc root|icon|window f.prev_key\n\
|
||||
Alt Ctrl Skift<Key>utrop root|icon|window f.set_behavior\n\
|
||||
Alt Ctrl<Key>f window f.mcde_fullscreen\n\
|
||||
Alt Ctrl<Key>Left window f.mcde_snap left-half\n\
|
||||
Alt Ctrl<Key>Right window f.mcde_snap right-half\n\
|
||||
Alt Ctrl<Key>Up window f.mcde_snap top\n\
|
||||
Alt Ctrl<Key>Down window f.mcde_snap bottom\n\
|
||||
Alt Ctrl<Key>BackSpace window f.mcde_snap restore\n\
|
||||
Alt<Key>F6 window f.next_key transient
|
||||
$ *
|
||||
$ * #DefaultButtonBindings#
|
||||
@@ -210,5 +219,11 @@ $ *
|
||||
Alt Shift<Key>F6 window f.prev_key transient\n\
|
||||
<Key>SunFront ifkey|icon|window f.raise_lower\n\
|
||||
<Key>SunOpen ifkey|window f.minimize\n\
|
||||
Alt Ctrl<Key>f window f.mcde_fullscreen\n\
|
||||
Alt Ctrl<Key>Left window f.mcde_snap left-half\n\
|
||||
Alt Ctrl<Key>Right window f.mcde_snap right-half\n\
|
||||
Alt Ctrl<Key>Up window f.mcde_snap top\n\
|
||||
Alt Ctrl<Key>Down window f.mcde_snap bottom\n\
|
||||
Alt Ctrl<Key>BackSpace window f.mcde_snap restore\n\
|
||||
<Key>SunOpen ifkey|icon f.normalize
|
||||
|
||||
@@ -92,6 +92,7 @@ $ *--------------------------------------------------------------------------*
|
||||
"大小(S)" _S f.resize\n\
|
||||
"最小化(n)" _n f.minimize\n\
|
||||
"最大化(x)" _x f.maximize\n\
|
||||
"全屏(F)" _F f.mcde_fullscreen\n\
|
||||
"置后(L)" _L f.lower\n\
|
||||
"总在最前(T)" _T f.mcde_above\n\
|
||||
无标签 f.separator\n\
|
||||
@@ -114,6 +115,7 @@ $ *--------------------------------------------------------------------------*
|
||||
"大小(S)" _S f.resize\n\
|
||||
"最小化(n)" _n f.minimize\n\
|
||||
"最大化(x)" _x f.maximize\n\
|
||||
"全屏(F)" _F f.mcde_fullscreen\n\
|
||||
"置后(L)" _L f.lower\n\
|
||||
"总在最前(T)" _T f.mcde_above\n\
|
||||
无标签 f.separator\n\
|
||||
@@ -136,6 +138,7 @@ $ *--------------------------------------------------------------------------*
|
||||
"大小(S)" _S Alt<Key>F8 f.resize\n\
|
||||
"最小化(n)" _n Alt<Key>F9 f.minimize\n\
|
||||
"最大化(x)" _x Alt<Key>F10 f.maximize\n\
|
||||
"全屏(F)" _F f.mcde_fullscreen\n\
|
||||
"置后(L)" _L Alt<Key>F3 f.lower\n\
|
||||
"总在最前(T)" _T f.mcde_above\n\
|
||||
无标签 f.separator\n\
|
||||
@@ -185,6 +188,12 @@ $ *
|
||||
Alt<Key>Escape root|icon|window f.next_key\n\
|
||||
Alt Shift<Key>Escape root|icon|window f.prev_key\n\
|
||||
Alt Ctrl Shift<Key>exclam root|icon|window f.set_behavior\n\
|
||||
Alt Ctrl<Key>f window f.mcde_fullscreen\n\
|
||||
Alt Ctrl<Key>Left window f.mcde_snap left-half\n\
|
||||
Alt Ctrl<Key>Right window f.mcde_snap right-half\n\
|
||||
Alt Ctrl<Key>Up window f.mcde_snap top\n\
|
||||
Alt Ctrl<Key>Down window f.mcde_snap bottom\n\
|
||||
Alt Ctrl<Key>BackSpace window f.mcde_snap restore\n\
|
||||
Alt<Key>F6 window f.next_key transient
|
||||
$ *
|
||||
$ * #DefaultButtonBindings#
|
||||
@@ -210,4 +219,10 @@ $ *
|
||||
Alt Shift<Key>F6 window f.prev_key transient\n\
|
||||
<Key>SunFront ifkey|icon|window f.raise_lower\n\
|
||||
<Key>SunOpen ifkey|window f.minimize\n\
|
||||
Alt Ctrl<Key>f window f.mcde_fullscreen\n\
|
||||
Alt Ctrl<Key>Left window f.mcde_snap left-half\n\
|
||||
Alt Ctrl<Key>Right window f.mcde_snap right-half\n\
|
||||
Alt Ctrl<Key>Up window f.mcde_snap top\n\
|
||||
Alt Ctrl<Key>Down window f.mcde_snap bottom\n\
|
||||
Alt Ctrl<Key>BackSpace window f.mcde_snap restore\n\
|
||||
<Key>SunOpen ifkey|icon f.normalize
|
||||
@@ -92,6 +92,7 @@ $ *--------------------------------------------------------------------------*
|
||||
"大小" _S f.resize\n\
|
||||
"縮至最小" _n f.minimize\n\
|
||||
"放至最大" _x f.maximize\n\
|
||||
"全螢幕(F)" _F f.mcde_fullscreen\n\
|
||||
"移至底層" _L f.lower\n\
|
||||
"永遠在最上層(T)" _T f.mcde_above\n\
|
||||
no-label f.separator\n\
|
||||
@@ -114,6 +115,7 @@ $ *--------------------------------------------------------------------------*
|
||||
"大小" _S f.resize\n\
|
||||
"縮至最小" _n f.minimize\n\
|
||||
"放至最大" _x f.maximize\n\
|
||||
"全螢幕(F)" _F f.mcde_fullscreen\n\
|
||||
"移至底層" _L f.lower\n\
|
||||
"永遠在最上層(T)" _T f.mcde_above\n\
|
||||
no-label f.separator\n\
|
||||
@@ -136,6 +138,7 @@ $ *--------------------------------------------------------------------------*
|
||||
"大小" _S Alt<Key>F8 f.resize\n\
|
||||
"縮至最小" _n Alt<Key>F9 f.minimize\n\
|
||||
"放至最大" _x Alt<Key>F10 f.maximize\n\
|
||||
"全螢幕(F)" _F f.mcde_fullscreen\n\
|
||||
"移至底層" _L Alt<Key>F3 f.lower\n\
|
||||
"永遠在最上層(T)" _T f.mcde_above\n\
|
||||
no-label f.separator\n\
|
||||
@@ -185,6 +188,12 @@ $ *
|
||||
Alt<Key>Escape root|icon|window f.next_key\n\
|
||||
Alt Shift<Key>Escape root|icon|window f.prev_key\n\
|
||||
Alt Ctrl Shift<Key>exclam root|icon|window f.set_behavior\n\
|
||||
Alt Ctrl<Key>f window f.mcde_fullscreen\n\
|
||||
Alt Ctrl<Key>Left window f.mcde_snap left-half\n\
|
||||
Alt Ctrl<Key>Right window f.mcde_snap right-half\n\
|
||||
Alt Ctrl<Key>Up window f.mcde_snap top\n\
|
||||
Alt Ctrl<Key>Down window f.mcde_snap bottom\n\
|
||||
Alt Ctrl<Key>BackSpace window f.mcde_snap restore\n\
|
||||
Alt<Key>F6 window f.next_key transient
|
||||
$ *
|
||||
$ * #DefaultButtonBindings#
|
||||
@@ -210,4 +219,10 @@ $ *
|
||||
Alt Shift<Key>F6 window f.prev_key transient\n\
|
||||
<Key>SunFront icon|window f.raise_lower\n\
|
||||
<Key>SunOpen window f.minimize\n\
|
||||
Alt Ctrl<Key>f window f.mcde_fullscreen\n\
|
||||
Alt Ctrl<Key>Left window f.mcde_snap left-half\n\
|
||||
Alt Ctrl<Key>Right window f.mcde_snap right-half\n\
|
||||
Alt Ctrl<Key>Up window f.mcde_snap top\n\
|
||||
Alt Ctrl<Key>Down window f.mcde_snap bottom\n\
|
||||
Alt Ctrl<Key>BackSpace window f.mcde_snap restore\n\
|
||||
<Key>SunOpen icon f.normalize
|
||||
Reference in new issue
Block a user