type stringclasses 5
values | content stringlengths 9 163k |
|---|---|
defines |
#define DOUBLE_CLICK_GRAB (ButtonMotionMask | \ |
structs | struct _XfwmButtonClickData
{
DisplayInfo *display_info;
Window w;
guint button;
guint clicks;
guint timeout;
gint x0;
gint y0;
guint t0;
gint xcurrent;
gint ycurrent;
guint tcurrent;
gint double_click_time;
gint double_click_distance;
gboolean allow_double_... |
functions | gboolean
typeOfClick_end (gpointer data)
{
XfwmButtonClickData *passdata;
passdata = data;
if (passdata->timeout)
{
g_source_remove (passdata->timeout);
passdata->timeout = 0;
} |
functions | eventFilterStatus
typeOfClick_event_filter (XfwmEvent *event, gpointer data)
{
XfwmButtonClickData *passdata;
eventFilterStatus status;
guint32 timestamp;
gboolean keep_going;
keep_going = TRUE;
passdata = data;
status = EVENT_FILTER_CONTINUE;
/* Update the display time */
timestam... |
functions | else if (event->meta.type == XFWM_EVENT_MOTION)
{
passdata->xcurrent = event->motion.x_root;
passdata->ycurrent = event->motion.y_root;
if ((ABS (passdata->x0 - passdata->xcurrent) > passdata->double_click_distance) ||
(ABS (passdata->y0 - passdata->ycurrent) > passdata->double_... |
functions | XfwmButtonClickType
typeOfClick (ScreenInfo *screen_info, Window w, XfwmEventButton *event, gboolean allow_double_click)
{
DisplayInfo *display_info;
XfwmButtonClickData passdata;
gboolean g;
g_return_val_if_fail (screen_info != NULL, XFWM_BUTTON_UNDEFINED);
g_return_val_if_fail (event != NULL, XFW... |
functions | void
toggle_show_desktop (ScreenInfo *screen_info)
{
screen_info->show_desktop = !screen_info->show_desktop;
setHint (screen_info->display_info, screen_info->xroot, NET_SHOWING_DESKTOP,
screen_info->show_desktop);
sendRootMessage (screen_info, NET_SHOWING_DESKTOP, screen_info->show_desktop,
... |
functions | eventFilterStatus
handleMotionNotify (DisplayInfo *display_info, XfwmEventMotion *event)
{
TRACE ("entering");
return EVENT_FILTER_REMOVE;
} |
functions | eventFilterStatus
handleKeyPress (DisplayInfo *display_info, XfwmEventKey *event)
{
eventFilterStatus status;
ScreenInfo *screen_info;
ScreenInfo *ev_screen_info;
Client *c;
int key;
TRACE ("entering");
ev_screen_info = myDisplayGetScreenFromRoot (display_info, event->root);
if (!ev_sc... |
functions | eventFilterStatus
handleKeyRelease (DisplayInfo *display_info, XfwmEventKey *event)
{
TRACE ("entering");
/* Release pending events */
XAllowEvents (display_info->dpy, SyncKeyboard, CurrentTime);
return EVENT_FILTER_PASS;
} |
functions | void
edgeButton (Client *c, int part, XfwmEventButton *event)
{
ScreenInfo *screen_info;
XfwmButtonClickType tclick;
guint state;
screen_info = c->screen_info;
state = event->state & MODIFIER_MASK;
if (event->button == Button2)
{
tclick = typeOfClick (screen_info, c->window, event,... |
functions | else if (tclick == XFWM_BUTTON_DRAG)
{
clientMove (c, event);
} |
functions | else if (tclick == XFWM_BUTTON_DRAG)
{
clientResize (c, part, event);
} |
functions | int
edgeGetPart (Client *c, XfwmEventButton *event)
{
int part, x_corner_pixels, y_corner_pixels, x_distance, y_distance;
/* Corner is 1/3 of the side */
x_corner_pixels = MAX(c->width / 3, 50);
y_corner_pixels = MAX(c->height / 3, 50);
/* Distance from event to edge of client window */
x_dist... |
functions | void
button1Action (Client *c, XfwmEventButton *event)
{
ScreenInfo *screen_info;
XfwmButtonClickType tclick;
g_return_if_fail (c != NULL);
g_return_if_fail (event != NULL);
screen_info = c->screen_info;
if (!(c->type & WINDOW_TYPE_DONT_FOCUS))
{
clientSetFocus (screen_info, c, ev... |
functions | else if (tclick == XFWM_BUTTON_DOUBLE_CLICK)
{
switch (screen_info->params->double_click_action)
{
case DOUBLE_CLICK_ACTION_MAXIMIZE:
clientToggleMaximized (c, CLIENT_FLAG_MAXIMIZED, TRUE);
break;
case DOUBLE_CLICK_ACTION_SHADE:
... |
functions | void
titleButton (Client *c, guint state, XfwmEventButton *event)
{
ScreenInfo *screen_info;
g_return_if_fail (c != NULL);
g_return_if_fail (event != NULL);
/* Get Screen data from the client itself */
screen_info = c->screen_info;
if (event->button == Button1)
{
button1Action (c,... |
functions | else if (event->button == Button2)
{
clientLower (c, None);
} |
functions | else if (event->button == Button3)
{
XfwmButtonClickType tclick;
tclick = typeOfClick (screen_info, c->window, event, FALSE);
if (tclick == XFWM_BUTTON_DRAG)
{
clientMove (c, event);
} |
functions | else if (tclick != XFWM_BUTTON_UNDEFINED)
{
if (!(c->type & WINDOW_TYPE_DONT_FOCUS))
{
clientSetFocus (screen_info, c, event->time, NO_FOCUS_FLAG);
} |
functions | else if (event->button == Button4)
{
/* Mouse wheel scroll up */
#ifdef HAVE_COMPOSITOR
if ((state) && (state == screen_info->params->easy_click) && compositorIsActive (screen_info))
{
clientIncOpacity(c);
} |
functions | else if (event->button == Button5)
{
/* Mouse wheel scroll down */
#ifdef HAVE_COMPOSITOR
if ((state) && (state == screen_info->params->easy_click) && compositorIsActive (screen_info))
{
clientDecOpacity(c);
} |
functions | else if (screen_info->params->horiz_scroll_opacity)
{
if (event->button == Button6)
{
/* Mouse wheel scroll left, or left side button */
clientDecOpacity(c);
} |
functions | else if (event->button == Button7)
{
/* Mouse wheel scroll right, or right side button */
clientIncOpacity(c);
} |
functions | void
rootScrollButton (DisplayInfo *display_info, XfwmEventButton *event)
{
static guint32 lastscroll = CurrentTime;
ScreenInfo *screen_info;
if ((event->time - lastscroll) < 25) /* ms */
{
/* Too many events in too little time, drop this event... */
return;
} |
functions | else if (event->button == Button5)
{
workspaceSwitch (screen_info, screen_info->current_ws + 1, NULL, TRUE, event->time);
} |
functions | eventFilterStatus
handleButtonPress (DisplayInfo *display_info, XfwmEventButton *event)
{
ScreenInfo *screen_info;
Client *c;
Window win;
guint state, part;
gboolean replay;
TRACE ("entering");
replay = FALSE;
c = myDisplayGetClientFromWindow (display_info, event->meta.window,
... |
functions | else if (tclick != XFWM_BUTTON_UNDEFINED)
{
if (!(c->type & WINDOW_TYPE_DONT_FOCUS))
{
clientSetFocus (screen_info, c, event->time, NO_FOCUS_FLAG);
} |
functions | else if (event->meta.window == c->window)
{
replay = TRUE;
if (((screen_info->params->raise_with_any_button) && (c->type & WINDOW_REGULAR_FOCUSABLE))
|| (event->button == Button1))
{
if (!(c->type & WINDOW_TYPE_DONT_FOCUS))
... |
functions | eventFilterStatus
handleButtonRelease (DisplayInfo *display_info, XfwmEventButton *event)
{
ScreenInfo *screen_info;
TRACE ("entering");
/* Get the screen structure from the root of the event */
screen_info = myDisplayGetScreenFromRoot (display_info, event->root);
myDisplayErrorTrapPush (display_i... |
functions | eventFilterStatus
handleDestroyNotify (DisplayInfo *display_info, XDestroyWindowEvent * ev)
{
eventFilterStatus status;
GList *list_of_windows;
Client *c;
#ifdef ENABLE_KDE_SYSTRAY_PROXY
ScreenInfo *screen_info;
#endif
TRACE ("window (0x%lx)", ev->window);
status = EVENT_FILTER_PASS;
#ifdef E... |
functions | eventFilterStatus
handleMapRequest (DisplayInfo *display_info, XMapRequestEvent * ev)
{
eventFilterStatus status;
Client *c;
TRACE ("window (0x%lx)", ev->window);
status = EVENT_FILTER_PASS;
if (ev->window == None)
{
TRACE ("mapping None ???");
return status;
} |
functions | eventFilterStatus
handleMapNotify (DisplayInfo *display_info, XMapEvent * ev)
{
Client *c;
TRACE ("window (0x%lx)", ev->window);
c = myDisplayGetClientFromWindow (display_info, ev->window, SEARCH_WINDOW);
if (c)
{
TRACE ("client \"%s\" (0x%lx)", c->name, c->window);
if (FLAG_TEST (... |
functions | eventFilterStatus
handleUnmapNotify (DisplayInfo *display_info, XUnmapEvent * ev)
{
eventFilterStatus status;
ScreenInfo *screen_info;
GList *list_of_windows;
Client *c;
TRACE ("window (0x%lx)", ev->window);
status = EVENT_FILTER_PASS;
if (ev->from_configure)
{
TRACE ("ignoring... |
functions | eventFilterStatus
handleConfigureNotify (DisplayInfo *display_info, XConfigureEvent * ev)
{
TRACE ("entering");
return EVENT_FILTER_PASS;
} |
functions | eventFilterStatus
handleConfigureRequest (DisplayInfo *display_info, XConfigureRequestEvent * ev)
{
Client *c;
XWindowChanges wc;
TRACE ("window (0x%lx)", ev->window);
wc.x = ev->x;
wc.y = ev->y;
wc.width = ev->width;
wc.height = ev->height;
wc.sibling = ev->above;
wc.stack_mode = ... |
functions | eventFilterStatus
handleEnterNotify (DisplayInfo *display_info, XfwmEventCrossing *event)
{
ScreenInfo *screen_info;
Client *c;
int b;
gboolean need_redraw;
/* See http://rfc-ref.org/RFC-TEXTS/1013/chapter12.html for details */
TRACE ("entering");
if ((event->mode == NotifyGrab) || (event... |
functions | eventFilterStatus
handleLeaveNotify (DisplayInfo *display_info, XfwmEventCrossing *event)
{
Client *c;
int b;
gboolean need_redraw;
TRACE ("entering");
need_redraw = FALSE;
c = myDisplayGetClientFromWindow (display_info, event->meta.window,
SEARCH_FRAME | ... |
functions | eventFilterStatus
handleFocusIn (DisplayInfo *display_info, XFocusChangeEvent * ev)
{
ScreenInfo *screen_info;
Client *c, *user_focus, *current_focus;
/* See http://rfc-ref.org/RFC-TEXTS/1013/chapter12.html for details */
TRACE ("window (0x%lx) mode = %s",
ev->window,
(... |
functions | eventFilterStatus
handleFocusOut (DisplayInfo *display_info, XFocusChangeEvent * ev)
{
Client *c;
/* See http://rfc-ref.org/RFC-TEXTS/1013/chapter12.html for details */
TRACE ("window (0x%lx) mode = %s",
ev->window,
(ev->mode == NotifyNormal) ?
"NotifyNormal... |
functions | eventFilterStatus
handlePropertyNotify (DisplayInfo *display_info, XPropertyEvent * ev)
{
eventFilterStatus status;
ScreenInfo *screen_info;
Client *c;
TRACE ("entering");
status = EVENT_FILTER_PASS;
c = myDisplayGetClientFromWindow (display_info, ev->window, SEARCH_WINDOW | SEARCH_WIN_USER_TI... |
functions | else if (ev->atom == display_info->atoms[MOTIF_WM_HINTS])
{
TRACE ("client \"%s\" (0x%lx) has received a MOTIF_WM_HINTS notify", c->name, c->window);
clientGetMWMHints (c);
clientApplyMWMHints (c, TRUE);
} |
functions | else if (ev->atom == XA_WM_HINTS)
{
TRACE ("client \"%s\" (0x%lx) has received a XA_WM_HINTS notify", c->name, c->window);
/* Free previous wmhints if any */
if (c->wmhints)
{
XFree (c->wmhints);
} |
functions | else if (ev->atom == display_info->atoms[WM_PROTOCOLS])
{
TRACE ("client \"%s\" (0x%lx) has received a WM_PROTOCOLS notify", c->name, c->window);
clientGetWMProtocols (c);
} |
functions | else if (ev->atom == display_info->atoms[WM_TRANSIENT_FOR])
{
Window w;
TRACE ("client \"%s\" (0x%lx) has received a WM_TRANSIENT_FOR notify", c->name, c->window);
c->transient_for = None;
getTransientFor (display_info, c->screen_info->xroot, c->window, &w);
... |
functions | else if (ev->atom == display_info->atoms[NET_WM_WINDOW_TYPE])
{
TRACE ("client \"%s\" (0x%lx) has received a NET_WM_WINDOW_TYPE notify", c->name, c->window);
clientGetNetWmType (c);
frameQueueDraw (c, TRUE);
} |
functions | else if (ev->atom == display_info->atoms[WM_COLORMAP_WINDOWS])
{
TRACE ("client \"%s\" (0x%lx) has received a WM_COLORMAP_WINDOWS notify", c->name, c->window);
clientUpdateColormaps (c);
if (c == clientGetFocus ())
{
clientInstallColormaps (c);
... |
functions | else if (ev->atom == display_info->atoms[NET_WM_USER_TIME])
{
TRACE ("client \"%s\" (0x%lx) has received a NET_WM_USER_TIME notify", c->name, c->window);
clientGetUserTime (c);
} |
functions | else if (ev->atom == display_info->atoms[NET_WM_USER_TIME_WINDOW])
{
TRACE ("client \"%s\" (0x%lx) has received a NET_WM_USER_TIME_WINDOW notify", c->name, c->window);
clientRemoveUserTimeWin (c);
c->user_time_win = getNetWMUserTimeWindow(display_info, c->window);
... |
functions | else if (ev->atom == display_info->atoms[NET_WM_PID])
{
TRACE ("client \"%s\" (0x%lx) has received a NET_WM_PID notify", c->name, c->window);
if (c->pid == 0)
{
c->pid = getWindowPID (display_info, c->window);
TRACE ("client \"%s\" (0x%lx) upda... |
functions | else if (ev->atom == display_info->atoms[NET_WM_WINDOW_OPACITY])
{
TRACE ("client \"%s\" (0x%lx) has received a NET_WM_WINDOW_OPACITY notify", c->name, c->window);
if (!getOpacity (display_info, c->window, &c->opacity))
{
c->opacity = NET_WM_OPAQUE;
... |
functions | else if (ev->atom == display_info->atoms[NET_WM_WINDOW_OPACITY_LOCKED])
{
TRACE ("client \"%s\" (0x%lx) has received a NET_WM_WINDOW_OPACITY_LOCKED notify", c->name, c->window);
if (getOpacityLock (display_info, c->window))
{
FLAG_SET (c->xfwm_flags, XFWM_FLAG... |
functions | else if (ev->atom == display_info->atoms[GTK_FRAME_EXTENTS])
{
TRACE ("client \"%s\" (0x%lx) has received a GTK_FRAME_EXTENTS notify", c->name, c->window);
if (clientGetGtkFrameExtents (c))
{
if (FLAG_TEST (c->flags, CLIENT_FLAG_MAXIMIZED))
{
... |
functions | else if (c->tile_mode != TILE_NONE)
{
clientUpdateTileSize (c);
} |
functions | else if (ev->atom == display_info->atoms[GTK_HIDE_TITLEBAR_WHEN_MAXIMIZED])
{
TRACE ("client \"%s\" (0x%lx) has received a GTK_HIDE_TITLEBAR_WHEN_MAXIMIZED notify", c->name, c->window);
if (clientGetGtkHideTitlebar (c))
{
if (FLAG_TEST (c->flags, CLIENT_FLAG_M... |
functions | else if (ev->atom == display_info->atoms[NET_STARTUP_ID])
{
if (c->startup_id)
{
g_free (c->startup_id);
c->startup_id = NULL;
} |
functions | else if (ev->atom == display_info->atoms[NET_WM_SYNC_REQUEST_COUNTER])
{
TRACE ("window 0x%lx has received NET_WM_SYNC_REQUEST_COUNTER", c->window);
clientGetXSyncCounter (c);
} |
functions | else if (ev->atom == display_info->atoms[NET_DESKTOP_LAYOUT])
{
TRACE ("root has received a NET_DESKTOP_LAYOUT notify");
getDesktopLayout(display_info, screen_info->xroot, screen_info->workspace_count, &screen_info->desktop_layout);
placeSidewalks(screen_info, screen_info->params->wrap_works... |
functions | eventFilterStatus
handleClientMessage (DisplayInfo *display_info, XClientMessageEvent * ev)
{
eventFilterStatus status;
ScreenInfo *screen_info;
Client *c;
TRACE ("window (0x%lx)", ev->window);
if (ev->window == None)
{
/* Some do not set the window member, not much we can do without *... |
functions | else if (ev->message_type == display_info->atoms[NET_REQUEST_FRAME_EXTENTS])
{
TRACE ("client \"%s\" (0x%lx) has received a NET_REQUEST_FRAME_EXTENTS event", c->name, c->window);
setNetFrameExtents (display_info, c->window, frameTop (c), frameLeft (c),
... |
functions | else if (ev->message_type == display_info->atoms[NET_WM_FULLSCREEN_MONITORS])
{
TRACE ("client \"%s\" (0x%lx) has received a NET_WM_FULLSCREEN_MONITORS event", c->name, c->window);
clientSetFullscreenMonitor (c, (gint) ev->data.l[0], (gint) ev->data.l[1],
... |
functions | else if (ev->message_type == display_info->atoms[NET_REQUEST_FRAME_EXTENTS])
{
TRACE ("window (0x%lx) has received a NET_REQUEST_FRAME_EXTENTS event", ev->window);
/* Size estimate from the decoration extents */
setNetFrameExtents (display_info, ev->window,
... |
functions | ENABLE_KDE_SYSTRAY_PROXY
if (selection == screen_info->net_system_tray_selection)
{
TRACE ("root has received a NET_SYSTEM_TRAY_MANAGER selection event");
screen_info->systray = getSystrayWindow (display_info, screen_info->net_system_tray_selection);
} |
functions | else if (ev->message_type == display_info->atoms[WM_PROTOCOLS])
{
if ((Atom) ev->data.l[0] == display_info->atoms[NET_WM_PING])
{
TRACE ("root has received a NET_WM_PING (pong) event\n");
clientReceiveNetWMPong (screen_info, (guint32) ev->data.l[1]);
... |
functions | else if (ev->message_type == display_info->atoms[GTK_READ_RCFILES])
{
TRACE ("window (0x%lx) has received a GTK_READ_RCFILES event", ev->window);
set_reload (display_info);
} |
functions | eventFilterStatus
handleSelectionClear (DisplayInfo *display_info, XSelectionClearEvent * ev)
{
eventFilterStatus status;
ScreenInfo *screen_info, *pscreen;
GSList *list;
DBG ("entering handleSelectionClear 0x%lx", ev->window);
status = EVENT_FILTER_PASS;
screen_info = NULL;
for (list = d... |
functions | eventFilterStatus
handleShape (DisplayInfo *display_info, XShapeEvent * ev)
{
Client *c;
gboolean update;
TRACE ("entering");
c = myDisplayGetClientFromWindow (display_info, ev->window, SEARCH_WINDOW);
if (c)
{
update = FALSE;
if (ev->kind == ShapeInput)
{
f... |
functions | else if (ev->kind == ShapeBounding)
{
if ((ev->shaped) && !FLAG_TEST (c->flags, CLIENT_FLAG_HAS_SHAPE))
{
update = TRUE;
FLAG_SET (c->flags, CLIENT_FLAG_HAS_SHAPE);
clientGetMWMHints (c);
clientApplyMWMHints (c, TRUE);
... |
functions | eventFilterStatus
handleColormapNotify (DisplayInfo *display_info, XColormapEvent * ev)
{
Client *c;
TRACE ("entering");
c = myDisplayGetClientFromWindow (display_info, ev->window, SEARCH_WINDOW);
if ((c) && (ev->window == c->window) && (ev->new))
{
if (c == clientGetFocus ())
{
... |
functions | eventFilterStatus
handleReparentNotify (DisplayInfo *display_info, XReparentEvent * ev)
{
TRACE ("window 0x%lx reparented in 0x%lx", ev->window, ev->parent);
return EVENT_FILTER_PASS;
} |
functions | eventFilterStatus
handleXSyncAlarmNotify (DisplayInfo *display_info, XSyncAlarmNotifyEvent * ev)
{
Client *c;
TRACE ("entering");
if (display_info->have_xsync)
{
c = myDisplayGetClientFromXSyncAlarm (display_info, ev->alarm);
if (c)
{
clientXSyncUpdateValue (c, ev->c... |
functions | eventFilterStatus
handleEvent (DisplayInfo *display_info, XfwmEvent *event)
{
eventFilterStatus status;
status = EVENT_FILTER_PASS;
TRACE ("entering");
/* Update the display time */
myDisplayUpdateCurrentTime (display_info, event);
sn_process_event (event->meta.xevent);
switch (event->met... |
functions | else if (display_info->quit)
{
/*
* Qutting on purpose, update session manager so
* it does not restart the program immediately
*/
xfce_sm_client_set_restart_style(display_info->session, XFCE_SM_CLIENT_RESTART_NORMAL);
gtk_main_quit ();
... |
functions | eventFilterStatus
xfwm4_event_filter (XfwmEvent *event, gpointer data)
{
eventFilterStatus status;
DisplayInfo *display_info;
display_info = (DisplayInfo *) data;
TRACE ("entering");
status = handleEvent (display_info, event);
TRACE ("leaving");
return EVENT_FILTER_STOP | status;
} |
functions | void
menu_callback (Menu * menu, MenuOp op, Window xid, gpointer menu_data, gpointer item_data)
{
Client *c;
TRACE ("entering");
if (!xfwmWindowDeleted(&menu_event_window))
{
xfwmWindowDelete (&menu_event_window);
} |
functions | void
initMenuEventWin (void)
{
xfwmWindowInit (&menu_event_window);
} |
functions | void
show_window_menu (Client *c, gint px, gint py, guint button, guint32 timestamp, gboolean needscale)
{
ScreenInfo *screen_info;
DisplayInfo *display_info;
Menu *menu;
MenuOp ops;
MenuOp insensitive;
gboolean is_transient;
gint x, y;
gint scale = 1;
TRACE ("coords (%d,%d)", px, p... |
functions | gboolean
show_popup_cb (GtkWidget * widget, GdkEventButton * ev, gpointer data)
{
TRACE ("entering");
show_window_menu ((Client *) data, (gint) ev->x_root, (gint) ev->y_root, ev->button, ev->time, FALSE);
return TRUE;
} |
functions | gboolean
set_reload (DisplayInfo *display_info)
{
TRACE ("setting reload flag so all prefs will be reread at next event loop");
display_info->reload = TRUE;
return TRUE;
} |
functions | gboolean
double_click_time_cb (GObject * obj, GdkEvent * ev, gpointer data)
{
DisplayInfo *display_info;
GValue tmp_val = { 0, } |
functions | gboolean
double_click_distance_cb (GObject * obj, GdkEvent * ev, gpointer data)
{
DisplayInfo *display_info;
GValue tmp_val = { 0, } |
functions | void
cursor_theme_cb (GObject * obj, GParamSpec * pspec, gpointer data)
{
DisplayInfo * display_info;
GSList *list;
display_info = (DisplayInfo *) data;
g_return_if_fail (display_info);
myDisplayFreeCursor (display_info);
myDisplayCreateCursor (display_info);
for (list = display_info->scr... |
functions | void
update_screen_font (ScreenInfo *screen_info)
{
myScreenUpdateFontAttr (screen_info);
clientUpdateAllFrames (screen_info, UPDATE_FRAME);
} |
functions | gboolean
refresh_font_cb (GObject * obj, GdkEvent * ev, gpointer data)
{
DisplayInfo * display_info;
GSList *list;
display_info = (DisplayInfo *) data;
g_return_val_if_fail (display_info, TRUE);
for (list = display_info->screens; list; list = g_slist_next (list))
{
update_screen_font (... |
functions | void
size_changed_cb(GdkScreen *gscreen, gpointer data)
{
ScreenInfo *screen_info;
DisplayInfo *display_info;
gboolean size_changed;
TRACE ("entering");
screen_info = (ScreenInfo *) data;
g_return_if_fail (screen_info);
display_info = screen_info->display_info;
if (xfwm_get_n_monitors... |
functions | void
monitors_changed_cb(GdkScreen *gscreen, gpointer data)
{
ScreenInfo *screen_info;
DisplayInfo *display_info;
gint previous_num_monitors;
gboolean size_changed;
TRACE ("entering");
screen_info = (ScreenInfo *) data;
g_return_if_fail (screen_info);
display_info = screen_info->displa... |
functions | void
initPerScreenCallbacks (ScreenInfo *screen_info)
{
g_return_if_fail (screen_info);
screen_info->button_handler_id =
g_signal_connect (G_OBJECT (myScreenGetGtkWidget (screen_info)),
"button_press_event", G_CALLBACK (show_popup_cb), (gpointer) NULL);
g_object_connect (G... |
functions | void
initPerDisplayCallbacks (DisplayInfo *display_info)
{
GtkSettings *settings;
g_return_if_fail (display_info);
settings = gtk_settings_get_default ();
g_object_connect (settings,
"swapped-signal::notify::gtk-theme-name",
G_CALLBACK (set_reload), (gpointe... |
includes | #include <fc_config.h> |
includes |
#include <stdarg.h> |
includes | #include <stdio.h> |
includes | #include <stdlib.h> |
includes | #include <string.h> |
defines |
#define RULESET_CAPABILITIES "+Freeciv-2.4-ruleset" |
defines | #define RULES_SUFFIX "ruleset" |
defines | #define SCRIPT_SUFFIX "lua" |
defines |
#define ADVANCE_SECTION_PREFIX "advance_" |
defines | #define BUILDING_SECTION_PREFIX "building_" |
defines | #define CITYSTYLE_SECTION_PREFIX "citystyle_" |
defines | #define EFFECT_SECTION_PREFIX "effect_" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.