]> git.sur5r.net Git - i3/i3/log
i3/i3
13 years agodebian: raise dependency on debhelper
Michael Stapelberg [Sun, 23 Oct 2011 11:02:03 +0000 (12:02 +0100)]
debian: raise dependency on debhelper

13 years agolower dependency on libstartup-notification, fix build-dep in debian/control
Michael Stapelberg [Sun, 23 Oct 2011 11:01:22 +0000 (12:01 +0100)]
lower dependency on libstartup-notification, fix build-dep in debian/control

13 years agoremove obsolete TERM_EMU build option
Michael Stapelberg [Sun, 23 Oct 2011 11:00:56 +0000 (12:00 +0100)]
remove obsolete TERM_EMU build option

13 years agomakefile: use /bin/echo to get consistent results for the escaping
Michael Stapelberg [Sun, 23 Oct 2011 10:31:55 +0000 (11:31 +0100)]
makefile: use /bin/echo to get consistent results for the escaping

On the buildbot slave machine, we have a different version of zsh which seems
to handle this slightly different with the built-in echo…

13 years agoBump dh compat to 7, simplify debian/rules.
Fernando Tarlá Cardoso Lemos [Sat, 22 Oct 2011 00:50:09 +0000 (22:50 -0200)]
Bump dh compat to 7, simplify debian/rules.

Also added hardening flags. We can't enable PIE because i3bar seems
to have problems with that. We also shouldn't enable bindnow, as it
the startup performance penalty (though probably not too bad) might
not be acceptable for i3-msg and i3-input.

13 years agoremove/shorten a lot of debugging messages
Michael Stapelberg [Sat, 22 Oct 2011 23:15:13 +0000 (00:15 +0100)]
remove/shorten a lot of debugging messages

Some of them are useless nowadays, others very unlikely to be a problem.
Those which might still be interesting somewhen in the future are just
commented out.

13 years agonormalize modelines/headers across src/*.c
Michael Stapelberg [Sat, 22 Oct 2011 22:40:02 +0000 (23:40 +0100)]
normalize modelines/headers across src/*.c

13 years agoBugfix: i3.config: status_command, not status_line (Thanks eeemsi)
Michael Stapelberg [Sat, 22 Oct 2011 17:28:11 +0000 (18:28 +0100)]
Bugfix: i3.config: status_command, not status_line (Thanks eeemsi)

13 years agoupdate manpage for 'bar' config (Thanks eeemsi)
Michael Stapelberg [Sat, 22 Oct 2011 17:23:29 +0000 (18:23 +0100)]
update manpage for 'bar' config (Thanks eeemsi)

13 years agoMerge branch 'bar-config' into next
Michael Stapelberg [Sat, 22 Oct 2011 16:02:49 +0000 (17:02 +0100)]
Merge branch 'bar-config' into next

13 years agomigration from exec i3bar to bar config: i3 substitutes exec with a bar block, shows...
Michael Stapelberg [Sat, 22 Oct 2011 15:33:00 +0000 (16:33 +0100)]
migration from exec i3bar to bar config: i3 substitutes exec with a bar block, shows nagbar

13 years agoi3-nagbar: Implement -t warning, makes colors yellow(ish)
Michael Stapelberg [Sat, 22 Oct 2011 15:16:06 +0000 (16:16 +0100)]
i3-nagbar: Implement -t warning, makes colors yellow(ish)

13 years agoi3-migrate-config-to-v4: generate a bar {} block instead of exec i3bar
Michael Stapelberg [Sat, 22 Oct 2011 14:24:18 +0000 (15:24 +0100)]
i3-migrate-config-to-v4: generate a bar {} block instead of exec i3bar

13 years agoi3bar: delete include/queue.h, use i3’s copy
Michael Stapelberg [Sat, 22 Oct 2011 14:08:24 +0000 (15:08 +0100)]
i3bar: delete include/queue.h, use i3’s copy

13 years agoi3bar: change default font to the i3 default one
Michael Stapelberg [Sat, 22 Oct 2011 14:00:31 +0000 (15:00 +0100)]
i3bar: change default font to the i3 default one

13 years agoi3bar: change default colors to fit the i3 look & feel
Michael Stapelberg [Sat, 22 Oct 2011 11:34:06 +0000 (12:34 +0100)]
i3bar: change default colors to fit the i3 look & feel

The new default looks like this (like in docs/userguide):

colors {
background #000000
statusline #ffffff
focused_workspace  #ffffff #285577
active_workspace   #888888 #222222
inactive_workspace #888888 #222222
urgent_workspace   #ffffff #900000
}

If you want to go back to the previous colors, use:

colors {
background #000000
statusline #ffffff
focused_workspace  #ffffff #480000
active_workspace   #ffffff #480000
inactive_workspace #ffffff #240000
urgent_workspace   #ffffff #002400
}

13 years agoBugfix: fix off by one when copying the hex colorcode (Thanks fernandotcl)
Michael Stapelberg [Fri, 21 Oct 2011 22:22:48 +0000 (23:22 +0100)]
Bugfix: fix off by one when copying the hex colorcode (Thanks fernandotcl)

13 years agoi3bar: Bugfix: Don’t crash when tray_output is not set (Thanks fernandotcl)
Michael Stapelberg [Fri, 21 Oct 2011 22:15:15 +0000 (23:15 +0100)]
i3bar: Bugfix: Don’t crash when tray_output is not set (Thanks fernandotcl)

13 years agocfgparse: Don’t use asprintf when parsing hex colors
Michael Stapelberg [Fri, 21 Oct 2011 22:09:57 +0000 (23:09 +0100)]
cfgparse: Don’t use asprintf when parsing hex colors

13 years agotests: default bar mode changed
Michael Stapelberg [Fri, 21 Oct 2011 22:00:38 +0000 (23:00 +0100)]
tests: default bar mode changed

13 years agoBugfix: properly transition in and out of the COLOR_COND state (Thanks fernandotcl)
Michael Stapelberg [Fri, 21 Oct 2011 21:58:53 +0000 (22:58 +0100)]
Bugfix: properly transition in and out of the COLOR_COND state (Thanks fernandotcl)

13 years agodocs/userguide: document the output bar option
Michael Stapelberg [Fri, 21 Oct 2011 21:22:02 +0000 (22:22 +0100)]
docs/userguide: document the output bar option

13 years agoi3bar: Implement the output option
Michael Stapelberg [Fri, 21 Oct 2011 21:17:41 +0000 (22:17 +0100)]
i3bar: Implement the output option

13 years agoi3bar: spit out an error on wrong bar id
Michael Stapelberg [Fri, 21 Oct 2011 19:04:55 +0000 (20:04 +0100)]
i3bar: spit out an error on wrong bar id

13 years agoi3bar: also use the position option when in 'hide' mode
Michael Stapelberg [Fri, 21 Oct 2011 18:59:25 +0000 (19:59 +0100)]
i3bar: also use the position option when in 'hide' mode

13 years agodocs/userguide: document the tray_output bar option
Michael Stapelberg [Fri, 21 Oct 2011 18:50:40 +0000 (19:50 +0100)]
docs/userguide: document the tray_output bar option

13 years agoi3bar: implement the tray_output option
Michael Stapelberg [Fri, 21 Oct 2011 18:47:56 +0000 (19:47 +0100)]
i3bar: implement the tray_output option

13 years agoi3bar: use safewrappers from libi3
Michael Stapelberg [Fri, 21 Oct 2011 18:30:46 +0000 (19:30 +0100)]
i3bar: use safewrappers from libi3

13 years agoi3bar: makefile: fix dependency on libi3
Michael Stapelberg [Fri, 21 Oct 2011 18:06:53 +0000 (19:06 +0100)]
i3bar: makefile: fix dependency on libi3

13 years agoi3bar: makefile: prefix messages with [i3bar]
Michael Stapelberg [Fri, 21 Oct 2011 18:03:54 +0000 (19:03 +0100)]
i3bar: makefile: prefix messages with [i3bar]

13 years agochange default config to use 'bar' blocks (Thanks mxf)
Michael Stapelberg [Fri, 21 Oct 2011 18:01:02 +0000 (19:01 +0100)]
change default config to use 'bar' blocks (Thanks mxf)

13 years agoi3bar: document -b in --help (Thanks mxf)
Michael Stapelberg [Fri, 21 Oct 2011 17:59:59 +0000 (18:59 +0100)]
i3bar: document -b in --help (Thanks mxf)

13 years agobar config: make dock mode the default
Michael Stapelberg [Thu, 20 Oct 2011 22:38:55 +0000 (23:38 +0100)]
bar config: make dock mode the default

13 years agodocs/userguide: document the bar configuration
Michael Stapelberg [Thu, 20 Oct 2011 22:38:34 +0000 (23:38 +0100)]
docs/userguide: document the bar configuration

13 years agoi3bar: update manpage
Michael Stapelberg [Thu, 20 Oct 2011 21:55:24 +0000 (22:55 +0100)]
i3bar: update manpage

13 years agocfgparse: eliminate absolute states, use yy_push_state/yy_pop_state
Michael Stapelberg [Thu, 20 Oct 2011 21:38:46 +0000 (22:38 +0100)]
cfgparse: eliminate absolute states, use yy_push_state/yy_pop_state

This fixes a problem with workspace assignments.
I tested i3 -C with three user configs (Thanks SardemFF7, julien, xeen)
and did not notice any problems.

13 years agoDon’t start i3-nagbar when using -C to validate the config
Michael Stapelberg [Thu, 20 Oct 2011 21:25:59 +0000 (22:25 +0100)]
Don’t start i3-nagbar when using -C to validate the config

13 years agotests: depend on AnyEvent::I3 0.09 (for get_bar_config)
Michael Stapelberg [Thu, 20 Oct 2011 19:31:44 +0000 (20:31 +0100)]
tests: depend on AnyEvent::I3 0.09 (for get_bar_config)

13 years agoipc: document the GET_BAR_CONFIG request/reply
Michael Stapelberg [Thu, 20 Oct 2011 19:16:07 +0000 (20:16 +0100)]
ipc: document the GET_BAR_CONFIG request/reply

13 years agodocs/ipc: fix example end
Michael Stapelberg [Thu, 20 Oct 2011 18:51:01 +0000 (19:51 +0100)]
docs/ipc: fix example end

13 years agodocs/ipc: document i3 --get-socketpath
Michael Stapelberg [Thu, 20 Oct 2011 18:46:57 +0000 (19:46 +0100)]
docs/ipc: document i3 --get-socketpath

13 years agoi3bar: don’t reconnect, but exit(0) on EOF
Michael Stapelberg [Thu, 20 Oct 2011 18:08:41 +0000 (19:08 +0100)]
i3bar: don’t reconnect, but exit(0) on EOF

Since i3 starts i3bar instances as necessary, EOF is considered a signal to
either shutdown because i3 exited or because it is restarting.

13 years agoActually start i3bar instances for each configured bar
Michael Stapelberg [Thu, 20 Oct 2011 18:03:40 +0000 (19:03 +0100)]
Actually start i3bar instances for each configured bar

13 years agotests: modify $PATH so that it prefers the compiled versions of everything in ../
Michael Stapelberg [Thu, 20 Oct 2011 18:02:08 +0000 (19:02 +0100)]
tests: modify $PATH so that it prefers the compiled versions of everything in ../

13 years agoClean bars before reloading the config (+test)
Michael Stapelberg [Thu, 20 Oct 2011 17:47:09 +0000 (18:47 +0100)]
Clean bars before reloading the config (+test)

While the configuration gets updated in i3, the i3bar processes will not pick
up these changes. We have to think about a good way to do that.

13 years agoMake i3bar get its config from i3 via IPC
Michael Stapelberg [Wed, 19 Oct 2011 21:58:19 +0000 (22:58 +0100)]
Make i3bar get its config from i3 via IPC

In order to not duplicate configuration options and make stuff confusing, we
dropped the commandline flags (except for socket_path and bar_id). This means
that you *have to* specify bar_id when starting i3bar. The best way is to let
i3 start i3bar, which it will do automatically for every bar {} configuration
block it finds.

13 years agoCreate different IDs for each bar (+test)
Michael Stapelberg [Wed, 19 Oct 2011 18:57:39 +0000 (19:57 +0100)]
Create different IDs for each bar (+test)

13 years agoImplement parsing bar {} config blocks
Michael Stapelberg [Tue, 18 Oct 2011 21:16:04 +0000 (22:16 +0100)]
Implement parsing bar {} config blocks

13 years agotests: add a test to check that bar configs are parsed correctly
Michael Stapelberg [Tue, 18 Oct 2011 21:15:48 +0000 (22:15 +0100)]
tests: add a test to check that bar configs are parsed correctly

13 years agoipc: when requesting the bar config without a payload, return an array of available...
Michael Stapelberg [Tue, 18 Oct 2011 21:12:46 +0000 (22:12 +0100)]
ipc: when requesting the bar config without a payload, return an array of available bar IDs

13 years agoBugfix: Correctly close the colors map in the IPC bar config reply
Michael Stapelberg [Tue, 18 Oct 2011 21:11:44 +0000 (22:11 +0100)]
Bugfix: Correctly close the colors map in the IPC bar config reply

13 years agoMake the barconfig list a TAILQ
Michael Stapelberg [Tue, 18 Oct 2011 21:11:27 +0000 (22:11 +0100)]
Make the barconfig list a TAILQ

13 years agoadd an IPC request to get the bar configuration (by ID)
Michael Stapelberg [Wed, 12 Oct 2011 22:23:09 +0000 (23:23 +0100)]
add an IPC request to get the bar configuration (by ID)

13 years agoadd a data structure for 'bar' configuration
Michael Stapelberg [Wed, 12 Oct 2011 21:52:55 +0000 (22:52 +0100)]
add a data structure for 'bar' configuration

13 years agoreformat include/config.h
Michael Stapelberg [Wed, 12 Oct 2011 21:29:39 +0000 (22:29 +0100)]
reformat include/config.h

13 years agoFocus new window only if it is on a visible workspace on the current focused output.
Peter Bui [Fri, 14 Oct 2011 15:36:32 +0000 (11:36 -0400)]
Focus new window only if it is on a visible workspace on the current focused output.

13 years agoBugfix: Fix segfault when starting i3 (Thanks pnutzh4x0r)
Michael Stapelberg [Tue, 18 Oct 2011 17:47:07 +0000 (18:47 +0100)]
Bugfix: Fix segfault when starting i3 (Thanks pnutzh4x0r)

13 years agolog: use localtime_r instead of localtime
Michael Stapelberg [Tue, 18 Oct 2011 17:32:47 +0000 (18:32 +0100)]
log: use localtime_r instead of localtime

localtime_r does not have the side-effect of behaving like it called tzset(),
in particular it will save one stat(/etc/localtime) syscall. This is not a big
deal, but it makes the strace output cleaner and thus more useful :).

13 years agoMerge branch 'workspace_baf' into next
Michael Stapelberg [Mon, 17 Oct 2011 22:35:19 +0000 (23:35 +0100)]
Merge branch 'workspace_baf' into next

13 years agotests: add t/176-workspace-baf for the workspace back_and_forth feature
Michael Stapelberg [Mon, 17 Oct 2011 22:34:29 +0000 (23:34 +0100)]
tests: add t/176-workspace-baf for the workspace back_and_forth feature

13 years agoImplement 'workspace back_and_forth' (Patch by Michael Walle)
Michael Stapelberg [Mon, 17 Oct 2011 22:17:56 +0000 (23:17 +0100)]
Implement 'workspace back_and_forth' (Patch by Michael Walle)

13 years agodocs/Makefile: use $(ASCIIDOC), add asciidoc 'latest git docs' config
Michael Stapelberg [Sat, 15 Oct 2011 22:32:04 +0000 (23:32 +0100)]
docs/Makefile: use $(ASCIIDOC), add asciidoc 'latest git docs' config

13 years agodebian: use debian/i3-wm.manpages instead of manuall installing manpages
Michael Stapelberg [Sat, 15 Oct 2011 21:36:03 +0000 (22:36 +0100)]
debian: use debian/i3-wm.manpages instead of manuall installing manpages

13 years agoBugfix: Use _exit in forking to avoid calling the libev cleanup handler (Thanks xeen)
Michael Stapelberg [Sat, 15 Oct 2011 15:56:47 +0000 (16:56 +0100)]
Bugfix: Use _exit in forking to avoid calling the libev cleanup handler (Thanks xeen)

13 years agoDon’t call ev_destroy_loop with ev < 4 in atexit (Thanks xeen)
Michael Stapelberg [Sat, 15 Oct 2011 15:56:32 +0000 (16:56 +0100)]
Don’t call ev_destroy_loop with ev < 4 in atexit (Thanks xeen)

13 years agoi3test.pm: use strict; use warnings; and fix related bugs
Maik Fischer [Tue, 11 Oct 2011 12:13:42 +0000 (13:13 +0100)]
i3test.pm: use strict; use warnings; and fix related bugs

13 years agotestcases/makefile: add modeline, add testsuite-* and latest to 'clean' target
Michael Stapelberg [Mon, 10 Oct 2011 20:56:43 +0000 (21:56 +0100)]
testcases/makefile: add modeline, add testsuite-* and latest to 'clean' target

13 years agot/175-startup-notification: don’t wait for i3 mapping the window
Michael Stapelberg [Mon, 10 Oct 2011 15:00:34 +0000 (16:00 +0100)]
t/175-startup-notification: don’t wait for i3 mapping the window

It is on a different workspace and will therefore not get mapped.
Syncing is enough.

13 years agoMerge branch 'startup-notification' into next
Michael Stapelberg [Mon, 10 Oct 2011 14:54:23 +0000 (15:54 +0100)]
Merge branch 'startup-notification' into next

13 years agoChange the root window cursor to 'watch' during startups
Michael Stapelberg [Mon, 10 Oct 2011 14:53:57 +0000 (15:53 +0100)]
Change the root window cursor to 'watch' during startups

13 years agodebian: update debian/control with new build-dep libstartup-notification0-dev
Michael Stapelberg [Mon, 10 Oct 2011 14:35:38 +0000 (15:35 +0100)]
debian: update debian/control with new build-dep libstartup-notification0-dev

13 years agoadd libstartup-notification to DEPENDS
Michael Stapelberg [Mon, 10 Oct 2011 14:34:47 +0000 (15:34 +0100)]
add libstartup-notification to DEPENDS

13 years agostartup: delete the startup sequence upon completion, make the timeout complete it
Michael Stapelberg [Mon, 10 Oct 2011 14:30:07 +0000 (15:30 +0100)]
startup: delete the startup sequence upon completion, make the timeout complete it

13 years agoMove the includes after the include guard, no need to include these files more than...
Michael Stapelberg [Mon, 10 Oct 2011 14:21:08 +0000 (15:21 +0100)]
Move the includes after the include guard, no need to include these files more than once

13 years agoImplement timeouts for startup notifications
Michael Stapelberg [Mon, 10 Oct 2011 12:50:03 +0000 (13:50 +0100)]
Implement timeouts for startup notifications

13 years agosupport _NET_STARTUP_ID on the client leader window
Michael Stapelberg [Mon, 10 Oct 2011 12:30:52 +0000 (13:30 +0100)]
support _NET_STARTUP_ID on the client leader window

(necessary for GIMP, geeqie, …)

13 years agoGet the _NET_STARTUP_ID in manage_window, get the corresponding workspace
Michael Stapelberg [Mon, 10 Oct 2011 11:48:43 +0000 (12:48 +0100)]
Get the _NET_STARTUP_ID in manage_window, get the corresponding workspace

13 years agotest: set the _NET_STARTUP_ID before mapping the window
Michael Stapelberg [Mon, 10 Oct 2011 11:48:19 +0000 (12:48 +0100)]
test: set the _NET_STARTUP_ID before mapping the window

13 years agoKeep track of startup notifications in a TAILQ, save workspace
Michael Stapelberg [Mon, 10 Oct 2011 11:47:56 +0000 (12:47 +0100)]
Keep track of startup notifications in a TAILQ, save workspace

13 years agoimplement a startup monitor, move code to src/startup.c
Michael Stapelberg [Mon, 10 Oct 2011 10:36:21 +0000 (11:36 +0100)]
implement a startup monitor, move code to src/startup.c

13 years agoadd testcase for the startup notification protocol
Michael Stapelberg [Sun, 9 Oct 2011 23:24:29 +0000 (00:24 +0100)]
add testcase for the startup notification protocol

13 years agomake handle_client_message not return anything
Michael Stapelberg [Sun, 9 Oct 2011 21:15:21 +0000 (22:15 +0100)]
make handle_client_message not return anything

The function returned an int for historical reasons.

13 years agosave the last timestamp received by X11 in last_timestamp
Michael Stapelberg [Sun, 9 Oct 2011 19:18:38 +0000 (20:18 +0100)]
save the last timestamp received by X11 in last_timestamp

We need it for startup notifications (to generate a unique id)

Conflicts:

include/i3.h
src/main.c

13 years agoImplement support for startup notifications
Michael Stapelberg [Sun, 9 Oct 2011 17:21:59 +0000 (18:21 +0100)]
Implement support for startup notifications

This only sets up startup notifications for the 'exec' commands and directives.

Monitoring startups follows later.

13 years agoMake conn_screen available outside of main()
Michael Stapelberg [Sun, 9 Oct 2011 17:19:31 +0000 (18:19 +0100)]
Make conn_screen available outside of main()

Will be used in other parts of the code for startup notification

13 years agoi3bar: Bugfix: Add tray icon padding when calculating text position (Thanks Bacardi55)
Michael Stapelberg [Mon, 10 Oct 2011 14:09:39 +0000 (15:09 +0100)]
i3bar: Bugfix: Add tray icon padding when calculating text position (Thanks Bacardi55)

13 years agoUse $(MAKE) instead of hardcoding `make' in the Makefiles.
Raphael Kubo da Costa [Sun, 9 Oct 2011 22:30:08 +0000 (19:30 -0300)]
Use $(MAKE) instead of hardcoding `make' in the Makefiles.

When one is using gmake or anything other than make itself, the same
command should be used in the Makefiles too.

13 years agocommon.mk: Silence some remaining pkg-config calls.
Raphael Kubo da Costa [Sun, 9 Oct 2011 21:35:58 +0000 (18:35 -0300)]
common.mk: Silence some remaining pkg-config calls.

Some pkg-config calls still didn't redirect stderr to /dev/null, causing
the gnome-config error messages to be printed.

13 years agoi3bar: include xcb_compat.h for older XCB versions (Thanks motif)
Michael Stapelberg [Mon, 10 Oct 2011 10:37:43 +0000 (11:37 +0100)]
i3bar: include xcb_compat.h for older XCB versions (Thanks motif)

13 years agomakefile: redirect stderr to /dev/null when invoking pkg-config
Michael Stapelberg [Sun, 9 Oct 2011 17:35:58 +0000 (18:35 +0100)]
makefile: redirect stderr to /dev/null when invoking pkg-config

This silences an error about gnome-config not being installed (pkg-config seems
to use gnome-config as a fall-back on some systems).

13 years agoremove left-over type definition for mode_info
Michael Stapelberg [Sun, 9 Oct 2011 17:25:00 +0000 (18:25 +0100)]
remove left-over type definition for mode_info

13 years agoBugfix: Don’t use a blank after comma in ldflags_for_lib calls (Thanks Raphael)
Michael Stapelberg [Sun, 9 Oct 2011 17:24:06 +0000 (18:24 +0100)]
Bugfix: Don’t use a blank after comma in ldflags_for_lib calls (Thanks Raphael)

'-l foo' instead of '-lfoo' is a problem on FreeBSD.

13 years agoMerge branch 'i3bar-cleanup' into next
Michael Stapelberg [Sun, 9 Oct 2011 13:45:58 +0000 (14:45 +0100)]
Merge branch 'i3bar-cleanup' into next

13 years agolog WM_NAME (non-utf-8 window titles)
Michael Stapelberg [Sun, 9 Oct 2011 13:45:34 +0000 (14:45 +0100)]
log WM_NAME (non-utf-8 window titles)

13 years agoi3bar: set WM_CLASS and WM_NAME
Michael Stapelberg [Sun, 9 Oct 2011 13:45:23 +0000 (14:45 +0100)]
i3bar: set WM_CLASS and WM_NAME

13 years agoi3bar: add modelines to all files
Michael Stapelberg [Sun, 9 Oct 2011 13:28:20 +0000 (14:28 +0100)]
i3bar: add modelines to all files

13 years agoMerge branch 'i3bar-tray-size' into next
Michael Stapelberg [Sun, 9 Oct 2011 12:52:05 +0000 (13:52 +0100)]
Merge branch 'i3bar-tray-size' into next

13 years agoi3bar: handle ConfigureRequests for tray children (fixes gtk3 size issue)
Michael Stapelberg [Sun, 9 Oct 2011 12:50:46 +0000 (13:50 +0100)]
i3bar: handle ConfigureRequests for tray children (fixes gtk3 size issue)

Thanks to yvesf for this simple python test script:

    from gi.repository import Gtk as gtk

    def cb(*a):
        print a

    def si_popup(*a):
        print a

    status_icon = gtk.StatusIcon()
    status_icon.set_from_stock(gtk.STOCK_OPEN)
    status_icon.connect("activate", cb)

    gtk.main()

13 years agoi3bar: add modeline to src/xcb.c
Michael Stapelberg [Sun, 9 Oct 2011 12:50:39 +0000 (13:50 +0100)]
i3bar: add modeline to src/xcb.c

13 years agoMove fake_configure_notify to libi3
Michael Stapelberg [Sun, 9 Oct 2011 12:40:15 +0000 (13:40 +0100)]
Move fake_configure_notify to libi3